1.0.6 • Published 5 months ago

create-lofi-app v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

create-lofi-app

A starter kit for building local-first apps

About

āš ļø still in beta, so expect some rough edges. open to feedback and contributions!

create-lofi-app is an opinionated starter kit for building local-first apps. It's designed to be an easy starting point for learning about local-first development.

Out of the box, the default template comes with React, Vite, Tailwind, and React Router.

It also includes BasicDB, a database and sync layer for user-owened data.

Features

Installation

npx create-lofi-app my-app
cd my-app

Development

# Install dependencies
npm install

# Start development server
npm run dev

Your app will be available at http://localhost:5173

Building for Production

# Create production build
npm run build

# Preview production build
npm run preview

Project Structure

my-app/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ assets/       # Images, fonts, and other static files
│   ā”œā”€ā”€ App.tsx       # Main application component
│   └── main.tsx      # Application entry point
ā”œā”€ā”€ public/           # Static assets
ā”œā”€ā”€ index.html        # HTML template
└── basic.config.ts   # Basic database schema configuration

Why Local-First?

Local-first applications prioritize storing data on the user's device while optionally syncing with the cloud. This approach offers several benefits:

  • šŸ”’ Better privacy and data ownership
  • ⚔ Faster performance
  • šŸ““ Offline functionality

License

MIT

1.0.6

5 months ago

1.0.4

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.3

5 months ago

1.0.0

1 year ago