Home

Awesome

As of early 2023, this project has been refactored and moved to Pretty Good Apps. See also this repo: Decentralized Curation of Simple Lists, which specifies the protocol for decentralized reputation that is implemented in the Pretty Good Apps client.

<hr />

Boilerplate nostr desktop client using electron, react, sqlite3, and electron-builder. electron-react-boilerplate is my starting point, to which I have added nostr-tools and nostr-react, as well as sqlite3.

Once this project has progressed far enough, I plan to incorporate a system of decentralized reputation, two projects that I call the Grapevine and the Concept Graph. I have some very thoroughly fleshed out ideas on how to do this.

However, I think a lot of people have a lot of different ideas on how to build decentralized ratings, reputation, and web of trust. In my mind, we haven't yet figured out how to do this right, and this is perhaps the greatest unsolved problem in this space. Therefore, I also plan to maintain the electron-nostr boilerpate as a template minus my own proposed solutions (the Grapevine and the Concept Graph). My hope is that the electron-nostr template will be a useful tool for a wide range of people who want to play around with their own ideas on how to build a web of trust. If you have ideas you want to try out and you know css, html, and javascript, hopefully your learning curve (basics of git, react, sqlite3) will be as painless as possible. The more ideas we can try, the better for us all!

I have been using vis.js tools (currently: vis-data and vis-network) to visualize the Grapevine web of trust, so I may include these in the electron-nostr boilerplate as well as any other tools that I think may be generically useful for others in their experimentation. Support for IPFS and gun come to mind.

Let me know if you would like to use and/or contribute to the basic electron-nostr template. If there is enough interest, I may be able to secure a small amount of funding to support its development and maintenance.

Features

Currently, this app works in dev mode. The mac release (v0.1.x-alpha) also is functional. linux and windows releases are not yet functional.

<img src=".erb/img/electron-nostr.png" width="100%" />

Todo

Known issues

Install

Clone the repo, install dependencies, make sql directory:

git clone https://github.com/wds4/electron-react-boilerplate-nostr.git your-project-name
cd your-project-name
npm install
cd release/app
mkdir sql
cd ../..

Starting Development

Start the app in the dev environment:

npm start

Packaging for Production

To package apps for the local platform:

npm run package

To package for other platforms, see these instructions.

License

MIT © Electron React Boilerplate