Bootstraps your Tonk app; Tonk apps are local-first personal software built to be maximally interoperable.
my-app/
├── src/
│ ├── components/ # Reusable UI components
│ ├── modules/ # Any other functionality
│ ├── stores/ # State management
│ ├── views/ # Page components
│ ├── App.tsx # Root component
│ └── index.tsx # Entry point
├── public/ # Static assets
└── package.json # Project configuration
The CLI requires:
- Node.js >= 18
npx @tonk/create [app name]
The CLI will guide you through the project creation process with interactive prompts for:
- Project name
- Project type
- Platform selection
- Project description
- Clone the repository
- Install dependencies:
npm install
- Build the package:
npm run build
- Link for local testing:
npm link
Run npm test
to execute the test suite.
Simplicity and freedom.
MIT © Tonk