lospringliu / gun-vue

Vite + Vue + Gun p2p crypto graph db toolkit. Vue 3 composables, components, relay server, demo and more.

Home Page:https://davay42.github.io/gun-vue/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@gun-vue logo

Add to Homescreen

Vue + Gun p2p crypto graph db toolkit

Gun-vue – is where the peer-to-peer javascript database Gun meets the reactivity system of Vue 3. Pluggable components for UX designers. Easily importable composables for UI developers. Relay peer for p2p network enthusiasts. Demos and docs for beginners. Open source for everyone! ✊

@gun-vue is a collection of essential building blocks to create a variety of decentralized apps for online and offline collaboration. It's a moment when we can feel the nature of distributed networking and have fun together!

Gun is a CRDT based distributed graph database, Vue is a reactive JS UI framework, SEA is web-browser cryptography adapter and together they evolve into an ecosystem of multiple app levels.

The project is committed to give all the basic tools for everyone to participate in exploring this new universe. You can find your own way in it for yourself.

There code is organised into distinct 3 packages in the @gun-vue npmjs.com organisation for you to install and use:

NPM version

Ready to use Vue 3 components as building blocks to implement Gun powered interactivity in seconds.

The interactive components documentation is available at gun-vue.js.org/components/ built with the Histoire stories.


NPM version

Composable functions for use with Vue 3 Composition API


NPM version

A simple no-store Gun server to throw at any free tier Node.js environment.


The main gun-vue.js.org site is an example Vite SPA. It's also easily built into a desktop app with Tauri.


Watch the development video blog at youtube

You can find shorter new features announcements along with longer live coding sessions there.

How to build the workspace repo yourself?

  1. Clone the repo
  2. Use pnpm to install all the dependencies in the workspaces
npm i -G pnpm
pnpm i
  1. Use dev, docs and histoire scripts in the root package.json to run corresponding dev servers.
  2. Use npm run build to build the whole project to the _dist folder.

About

Vite + Vue + Gun p2p crypto graph db toolkit. Vue 3 composables, components, relay server, demo and more.

https://davay42.github.io/gun-vue/#/


Languages

Language:Vue 49.7%Language:TypeScript 40.7%Language:CSS 5.8%Language:JavaScript 1.3%Language:HTML 1.1%Language:Swift 0.8%Language:Java 0.3%Language:Ruby 0.2%Language:Rust 0.1%Language:Shell 0.0%