{"id":13531848,"url":"https://github.com/lcui-dev/lcui-router-app","last_synced_at":"2025-04-01T20:30:35.146Z","repository":{"id":42736256,"uuid":"226655969","full_name":"lcui-dev/lcui-router-app","owner":"lcui-dev","description":"A very simple browser-like application to show the LCUI and LCUI Router features","archived":true,"fork":false,"pushed_at":"2023-05-10T15:25:42.000Z","size":435,"stargazers_count":32,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-14T13:01:36.149Z","etag":null,"topics":["lcui","router"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lcui-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-08T11:22:28.000Z","updated_at":"2024-06-17T13:23:42.000Z","dependencies_parsed_at":"2024-06-05T14:18:15.710Z","dependency_job_id":"131d17b7-3e2b-40ad-8a86-8c0317527487","html_url":"https://github.com/lcui-dev/lcui-router-app","commit_stats":null,"previous_names":["lc-ui/lcui-router-app"],"tags_count":1,"template":true,"template_full_name":"lcui-dev/lc-design-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcui-dev%2Flcui-router-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcui-dev%2Flcui-router-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcui-dev%2Flcui-router-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcui-dev%2Flcui-router-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lcui-dev","download_url":"https://codeload.github.com/lcui-dev/lcui-router-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709921,"owners_count":20821296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lcui","router"],"created_at":"2024-08-01T07:01:06.193Z","updated_at":"2025-04-01T20:30:34.327Z","avatar_url":"https://github.com/lcui-dev.png","language":"C","funding_links":[],"categories":["Projects"],"sub_categories":[],"readme":"# lcui-router-app\n\n[![GitHub Actions](https://github.com/lc-ui/lcui-router-app/workflows/C%2FC%2B%2B%20CI/badge.svg)](https://github.com/lc-ui/lcui-router-app/actions)\n\n(**English**/[中文](README.zh-cn.md))\n\nA very simple browser-like application to show the LCUI and LCUI Router features.\n\n[![Screenshot](./screenshot.gif \"Screenshot\")](./screenshot.gif)\n\n## To Use\n\nTo clone and run this repository you'll need install the following tools on your computer:\n\n- [Git](https://git-scm.com)\n- [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com))\n- [LCPkg](https://github.com/lc-soft/lcpkg)(Windows only)::\n    ```bash\n    npm install -g lcpkg\n    lcpkg setup\n    ```\n- [LCUI CLI](https://github.com/lc-ui/lcui-cli):\n    ```bash\n    npm install -g @lcui/cli\n    ```\n- [CMake](https://cmake.org/) or [XMake](https://xmake.io/)\n\nFrom your command line:\n\n```bash\n# Clone this repository\ngit clone https://github.com/lc-ui/lcui-router-app\n\n# Go into the repository\ncd lcui-router-app\n\n# Install NodeJS dependencies\nnpm install\n\n# Install C/C++ dependencies for x64 CPU architecture\nlcpkg install --arch x64\n\n# Run the app\nnpm start\n```\n\nOther useful commands:\n\n```bash\n# Build this repository in release mode\nlcui build --mode release\n\n# Build this repository with CMake\nlcui build --tool cmake\n\n# Compile css files\nnpm run build:css\n```\n\n## What's included\n\n- Some resource files.\n- Some scripts that make it easy for you to quickly build application.\n- Configuration files for [CMake](https://cmake.org/) and [XMake](https://xmake.io/) build tools, You can choose one of them that you like.\n- Simple data storage implementation in `src/lib/store.c`.\n- [.scss](https://sass-lang.com/guide) files for describe the user interface style.\n- Implementation of the browser's graphical interface.\n- Welcome page, about page, file page, 404 page, new tab page.\n- Example for the routing navigation of the [LCUI Router](https://github.com/lc-soft/lcui-router).\n- Examples of use of the [LC Design](https://github.com/lc-ui/lc-design) component library.\n\n## Project Structure\n\n- **`app`**: contains the resource files required for the application to run. You can use it as the working directory of the application, and when you publish your application, you only need to package the files in that directory.\n- **`build`**: contains build tool output files.\n- **`config/router.js`**: Configuration file for the LCUI Router, it can be compiled into a `src/lib/router.c` file using the `lcui compile router` command.\n- **`scripts`**: contains build-related scripts and configuration files.\n- **`src`**: contains the source code.\n  - **`ui`**: contains source code related to the user interface.\n    - **`stylesheets`**: contains the source code of stylesheets. You can put [.scss](https://sass-lang.com/guide) files here, they will be compiled into css files and outputed to the `app/assets/stylesheets` directory at build time.\n    - **`components`**: contains the source code of the components.\n    - **`views`**: contains the source code of the views.\n  - **`lib`**: contains the base library code.\n\n## License\n\n[CC0 1.0 (Public Domain)](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcui-dev%2Flcui-router-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flcui-dev%2Flcui-router-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcui-dev%2Flcui-router-app/lists"}