English | Japanese
SICore Framework is a lightweight Java framework designed to support "programming beginners" and "AI-powered code generation".
Unlike heavyweight frameworks, SICore eliminates annotations and complex configurations, adopting a simple and easy-to-understand architecture.
β οΈ Note: This project is under development. Some parts are incomplete, but the basic features are available for you to try.
π Translation Notice: All English text in this project, including documents and code comments, has been translated by AI. Please excuse any awkward or unnatural expressions.
- JSON-Centric Design: Uses only JSON for communication between browser and server. No template engine is used; HTML is treated as static files.
- Minimal Dependencies: Minimizes dependencies on external libraries. No Tomcat required. (Runs on standard JDK APIs only)
- URL = Class Name: No routing configuration needed. URLs are directly mapped to the Java classes to be executed.
- URL:
/services/exmodule/ExampleListSearch - Class:
com.example.app.service.exmodule.ExampleListSearch
- URL:
- Annotation-Free: Eliminates annotations that tend to obscure processing details. This makes code execution flow easier to trace.
- Io Class: The
Ioclass, which extendsMap<String, String>, provides NULL-safe and type-safe data operations. - Bug Prevention: Duplicate key checks and existence checks prevent simple mistakes.
- HTML Reuse: Developers can use HTML mockups created by web designers directly as production code.
- Custom CSS Framework: Provides a custom CSS framework that enables responsive design with minimal CSS class declarations.
GitHub Copilot and other AI coding assistants can easily generate high-quality code with this framework.
- AI Guidelines:
.github/copilot-instructions.mdenables AI to accurately understand the framework conventions. - Token Optimization: In addition to human-oriented documentation, we provide concise documentation specifically for AI. Also, in documentation shared with humans, wrapping AI-unnecessary sections with
<!-- AI_SKIP_START -->markers reduces the token count that AI reads. - Standardized Patterns: Unified patterns for screens and logic enable AI to generate code with high accuracy.
- Easy-to-Trace Code: The entire framework is provided as source code, making it easier for AI to trace the code execution flow.
[project root]/
βββ docs/ # Documentation
β βββ 01-introductions/ # Overview
β βββ 02-develop-standards/ # Development standards & patterns
β βββ 03-coding-rules/ # Coding rules
β βββ 11-api-references/ # API references
β βββ 21-ai-guides/ # AI Prompt Guide
β βββ 31-ai-api-references/ # AI API references
βββ pages/ # Frontend (HTML/JavaScript)
β βββ app/ # Example screens
β βββ lib/ # Framework core (JavaScript/CSS)
βββ src/ # Backend (Java)
β βββ com/example/app/ # Example code
β βββ com/onpg/ # Framework core (Java)
βββ ai-test-prompts/ # AI test prompts
Refer to the following documentation before starting development.
- Web Page Structure Standards ((HTML/JavaScript/CSS)
- Web Service Structure Standards (Java)
- Event-Based Coding Patterns
- JSDoc:
docs/11-api-references/01-jsdoc/ - CSSDoc:
docs/11-api-references/02-cssdoc/ - JavaDoc:
docs/11-api-references/11-javadoc/
Download the project from GitHub.
- Click the "Code" button on the GitHub repository page.
- Select "Download ZIP".
- Extract the downloaded ZIP file to any folder.
- Launch VS Code.
- Select "File" β "Open Folder" and choose the folder where you extracted the ZIP file.
- If the "Do you trust the authors?" dialog appears, select "Yes".
- Select
src/com/onepg/web/StandaloneServerStarter.java. - Press
F5or select "Debug Java" from the right-click menu. - Wait until the startup completion message appears in the console.
Access the following URL in your browser.
http://localhost:8000/pages/
- A list of example screens is displayed. Click on each screen link to verify the functionality.
- To stop the server, run
src/com/onepg/web/StandaloneServerStopper.java.
- HTML/JavaScript:
pages/app/exmodule/ - Java:
src/com/example/app/service/exmodule/ - DB Definitions/Test Data:
example_db/example_data_create.sql,example_db/data/example.dbf
Follow these steps to develop with AI tools such as GitHub Copilot:
- Create Requirements: Write the requirements for the feature you want to create in a markdown file.
- Instruct AI: Specify the markdown file and instruct the AI to generate code. The AI follows
.github/copilot-instructions.md, reads the necessary documentation, and generates code according to the requirements. - Verify: Test the generated code and report any issues to the AI. The AI identifies the cause and fixes the code.
Use the sample requirements included in the repository to experience AI-powered coding. Enter the following prompt in Copilot Chat:
Generate screen functionality based on the requirements in
ai-test-prompts/order-prompt.md.
- The AI reads the requirements document and automatically generates the necessary HTML, JavaScript, and Java code.
- After generation, refer to AI Prompt Guide (for Debugging and Fixes).
β οΈ Use an AI agent that strictly follows instructions. (As of December 2025, Claude Opus 4.5 is recommended.)- π« Highly creative AI agents may not be suitable for this task.
This project is currently under development, so pull requests are not accepted at this time. However, bug reports and feedback are welcome! Please create an Issue to share your thoughts.
If you like this project, please consider supporting it through GitHub Sponsors. Your support helps me dedicate time to coding and documentation, and maintain the development environment and AI tools.
β Even just giving a star is a great encouragement!
This project includes the following third-party software:
| Software | License | Description |
|---|---|---|
SQLite (sqlite3.exe) |
Public Domain | SQLite database engine |
SQLite JDBC Driver (sqlite-jdbc-3.50.2.0.jar) |
Apache License 2.0 | JDBC driver for SQLite |
SQLite is in the public domain with no restrictions on use, modification, or redistribution.
SQLite JDBC Driver is distributed under the Apache License 2.0. See the licenses/ folder for the full license text.
Β© 2025 sugaiketadao (onepg.com)