Skip to content

A simple counter that shows the potential of local-first software in real-world applications.

Notifications You must be signed in to change notification settings

francescobarbera/local-first-adventures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local first adventures

Introduction

The project leverages the principles of local-first software to ensure seamless offline support and enhanced user experience. The application is a simple counter that shows the potential of local-first software in real-world applications.

Features

  • Offline Capability: Work without an internet connection. All changes are synced once the connection is restored.
  • Data Ownership: Your data resides in your device, giving you full control and privacy.
  • Conflict Resolution: Intelligent conflict resolution mechanisms to handle data discrepancies.
  • Real-time Collaboration: Collaborate with others in real-time while maintaining offline-first principles.

The project uses:

  • Vite for the frontend.
  • TinyBase as local first data store.
  • YJS to handle the real-time collaboration.

Installation

Install the dependencies:

yarn install

Usage

To start the development vite server and the yjs server, run:

yarn dev

PORT=1234 node ./node_modules/y-websocket/bin/server.cjs

About

A simple counter that shows the potential of local-first software in real-world applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published