Gistbin is a Github gist like pastebin where you can store markdown text online for a set period of time.
Make sure you have set the required environment variables in .env
(see .env.example
):
# URL to display on the editor URL bar
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
# DB
UPSTASH_REDIS_REST_URL="https://<your-upstash-redis-instance-url>.upstash.io"
UPSTASH_REDIS_REST_TOKEN="<upstash token>"
To run it locally simply install all dependencies and run pnpm dev
.
# clone the repo
git clone https://github.com/schardev/gistbin
pnpm dev
The app is now running on localhost:3000
.