Skip to content

About

Pastebin without a(i)ds

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

speedpastes

Speedpastes.org is an open source, invite-only, social note-taking platform which serves as an alternative to the malware-ridden pastebin.

Getting Started

Get nix and direnv.

Remember to configure your shell to use direnv! Add the following lines at the end of your ~/.bashrc:

eval "$(direnv hook bash)"

Then open your terminal and do

git clone git@github.com:rjoken/speedpastes.git
cd speedpastes

If you have everything set up correctly, direnv should complain:

direnv: error /home/username/speedpastes/.envrc is blocked. Run `direnv allow` to approve its content

If it doesn't, please check it is hooked correctly into your SHELL.

Once you see the error message, simply run:

direnv allow

Follow the prompts, and allow it to download the packages it needs. Once done, run:

bundle install

Once dependencies are installed, simply run:

dev

to start all services locally.

Databases

speedpastes will start a postgresql instance on port 6666. You may modify the DEV_DATABASE_URL if you want to point speedpastes to a different database.

Authentication

This application has basic email and password authentication with rails default implementation, however some changes have been made to facilitate the invite code system.

Testing

bin/rails test

About

Pastebin without a(i)ds

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages