
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
create-tinybase
Advanced tools
A command-line tool to create TinyBase apps with full synchronization and local-first capabilities.
A CLI tool to scaffold a new TinyBase application with full synchronization and local-first capabilities.
Build a todo list, a drawing app, a chat app, or a tic-tac-toe game using TypeScript or JavaScript, with React or Vanilla JS - in just a matter of seconds.
npm create tinybase@latest
(PNPM, Yarn, and Bun should also work!)
This will prompt you with questions to configure your new TinyBase app:
After creating your project:
cd my-tinybase-app/client
npm install
npm run dev
Your app will be available at http://localhost:5173, or whichever port Vite
specifies in the console.
If you included server code, start the server in a separate terminal:
# In a separate terminal
cd my-tinybase-app/server
npm install
npm run dev
Your app should look something like this:




During the prompts, you can customize various aspects of your TinyBase app. Here are the details of what each option entails:
TypeScript provides full type safety with:
JavaScript offers:
React provides:
Vanilla JS offers:
When enabled, schemas provide:
Schemas define:
Choose from four synchronization options:
None:
Via remote demo server (stateless) (default):
Via local node server (stateless) (port 8043):
ws librarynpm run dev in server directoryVia local DurableObjects server (stateful) (port 8787):
Choose how to persist store data on the client:
None:
Local Storage (default):
createLocalPersisterSQLite:
@sqlite.org/sqlite-wasm package:local: prefix)PGLite:
@electric-sql/pglite packageidb:// prefix)Important Notes:
Prettier:
ESLint:
All apps are created with a monorepo structure:
my-tinybase-app/
├── package.json # Root package (manages workspaces)
├── README.md # Getting started guide
├── client/ # Client application
│ ├── package.json # Client dependencies
│ ├── index.html # Entry HTML
│ ├── public/ # Static assets
│ └── src/ # Source code
│ ├── App.tsx # Main app component
│ ├── Store.tsx # TinyBase store setup
│ └── ... # App-specific components
└── server/ # Server code (optional)
├── package.json # Server dependencies
└── src/
└── index.ts # Server entry point
MIT License - see LICENSE file for details.
FAQs
A command-line tool to create TinyBase apps with full synchronization and local-first capabilities.
We found that create-tinybase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.