TopBase
The starter code TopArrow uses when you create an app. Open source on GitHub.
TopBase is for anything: games, tools, web apps, desktop apps. It has no app code. What it gives your AI coding tool is a set of rules and a documentation layout. Tell the AI what you want, and it picks a runtime, writes the code, and keeps the notes by those rules, so the app runs on TopArrow and stays easy to change.
What is inside
AGENTS.md
Rules for AI coding tools: which runtime to use, the port and data folder the platform provides, working on both Windows and Mac, and keeping notes and local git commits after each change.
_doc/
A fixed layout for project notes. The AI reads them before it starts and updates them after each change, so the next session does not have to dig through the code.
manifest.json
The app manifest. It tells TopArrow how to install the app, which runtime it uses, and how to start it.
lang/docs/zh/
The Chinese version of the notes. When you create an app in Chinese, TopArrow switches to it automatically.
How to use it
- In TopArrow, click Create app and pick TopBase. TopArrow puts it in the new app folder, so there is nothing to download.
- Open that folder in your AI coding tool and say what you want to build.
- For information systems such as customers, orders, inventory, and reports, you can pick the other starter, zhimaPHP, which comes with an admin console.
- You can also read it without TopArrow: on GitHub you can browse it, download it, or start your own repository with Use this template.
License
TopBase is open source under MIT-0. The apps you build with it are yours, and they do not need to keep the license or any copyright notice.