/Replit-Privnote

Send notes that will self-destruct after being read

Primary LanguageHTMLMIT LicenseMIT

Replit Privnote

Run on Replit GitHub last commit License: MIT

Replit Privnote built with:

Inspired by Privnote. See blog post.

Prerequisites

Install

Clone repository:

git clone https://github.com/remarkablemark/Replit-Privnote.git
cd Replit-Privnote

Install dependencies:

npm install

Scripts

In the project directory, you can run:

npm start

Runs the app.

Open http://localhost:3000 to view it in the browser.

The environment variable REPLIT_DB_URL must be set for the Replit Database client to work:

REPLIT_DB_URL='https://kv.replit.com/v0/<your_base64_jwt>' npm start

Replace <your_base64_jwt> with the Base64 encoded JWT.

To get the REPLIT_DB_URL, create a Node.js Replit and execute in the Console:

process.env.REPLIT_DB_URL;

License

MIT