# onecode-ocstudio **Repository Path**: developer_hj/ocstudio ## Basic Information - **Project Name**: onecode-ocstudio - **Description**: onecode-rad 是 onecode 开发版的最小集合,包含了基础的可视乎设计器(100+标准插件),支持onecode3.0 标准规范,允许用户使用onecodez注解规范构建自身的应用开发。可以使用onecode AI 插件实现自然(LLM)语言编写OneCode代码。onecode 本身基于springboot 架构,允许网络部署。 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 13 - **Created**: 2026-01-25 - **Last Updated**: 2026-01-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # onecode-rad onecode-rad is the minimal collection of onecode development version, providing core functions such as visual designer, AI plugin support, and 100+ standard plugins. It follows the onecode3.0 specification and supports the onecodez annotation standard, enabling rapid development of enterprise-level applications. ## Core Features - **Visual Designer**: Drag-and-drop interface design with real-time preview - **AI Plugin Support**: Intelligent code generation and optimization - **100+ Standard Plugins**: Rich components covering various business scenarios - **onecode3.0 Specification**: Following the latest development standards - **onecodez Annotation Standard**: Simplifying development process - **Rapid Application Development**: Shortening development cycle significantly - **Enterprise-level Security**: Built-in security mechanisms ## Software Architecture onecode-rad consists of 7 core modules: 1. **Core Module** - `com.ds.rad.service.ProjectManager`: Manages project lifecycle - `com.ds.rad.bean.Project`: Project entity definition - `com.ds.rad.bean.ProjectVersion`: Project version management 2. **Visual Design Module** - `com.ds.rad.bean.EDForm`: Form definition - `com.ds.rad.bean.ColPropety`: Column property configuration - `com.ds.rad.bean.EDField`: Form field definition 3. **Plugin Management Module** - `com.ds.rad.service.ComponentPluginService`: Plugin management - `com.ds.rad.service.PluginService`: Plugin loading and initialization 4. **AI Assistant Module** - `com.ds.rad.service.AIService`: AI-related functions - `com.ds.rad.service.CodeGenerateService`: Code generation 5. **Deployment Module** - `com.ds.rad.service.DeployHostService`: Deployment host management - `com.ds.rad.service.DeployService`: Application deployment 6. **API Service Module** - `com.ds.rad.service.APIService`: API management - `com.ds.rad.service.RestService`: RESTful API support 7. **Database Module** - `com.ds.rad.service.DBService`: Database operations - `com.ds.rad.service.SqlExecuteService`: SQL execution ## Installation Tutorial ### Prerequisites - JDK 1.8 or higher - Maven 3.6.0 or higher - Git - MySQL 5.7 or higher (optional) ### Steps 1. **Clone the repository** ```bash git clone https://gitee.com/onecode/onecode-rad.git cd onecode-rad ``` 2. **Build the project** ```bash mvn clean install ``` 3. **Configure the environment** Edit `src/main/resources/application.properties` to configure database connection and other settings 4. **Run the application** ```bash mvn spring-boot:run ``` 5. **Access the application** Open browser and visit `http://localhost:8080` ## Usage Instructions ### Create Project 1. Log in to the system 2. Click "New Project" button 3. Fill in project information (name, description, type) 4. Click "Create" button ### Design Interface 1. Open the created project 2. Enter the visual designer 3. Drag components from the palette to the canvas 4. Configure component properties 5. Save and preview the interface ### Publish Project 1. Click "Publish" button in the project management page 2. Select deployment environment 3. Click "Confirm" to start publishing 4. Check publishing status in the deployment management page ### AI Assisted Programming 1. Open the code editor 2. Click "AI Assistance" button 3. Describe the function you need in natural language 4. Select the generated code snippet and apply it 5. Modify and optimize the code as needed ## Contribution Guidelines 1. Fork the repository 2. Create a new branch for your feature or bug fix 3. Commit your changes with clear messages 4. Push your branch to your forked repository 5. Create a pull request to the main repository 6. Wait for code review and merge ## Gitee Features - **Code Cloud**: Convenient code hosting and management - **Pull Request**: Easy collaboration and code review - **Issue Tracking**: Efficient bug reporting and tracking - **CI/CD**: Automated build and deployment - **Wiki**: Document management ## License This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details. --- ### How to Update Please copy the above content to `e:\onecode3\onecode-rad\README.en.md` file manually to complete the update. If you need to review the Chinese version, please refer to the updated `README.md` file.