Pastebin without a(i)ds https://speedpastes.org
  • Ruby 50%
  • HTML 35.4%
  • JavaScript 8.1%
  • CSS 3.9%
  • Dockerfile 1%
  • Other 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-29 02:30:01 +02:00
.direnv nix setup 2026-01-03 16:34:01 +01:00
.github/workflows Add pinned pastes to profiles (#68) 2026-02-28 03:05:19 +01:00
.kamal rails init 2026-01-03 16:19:03 +01:00
app add news feed to front page (#111) 2026-09-29 02:30:01 +02:00
bin rails init 2026-01-03 16:19:03 +01:00
config Allow paste/drag-drop of images into markdown paste and upload them to bucket (#105) 2026-08-30 02:21:05 +02:00
db Feature/collaborators (#106) 2026-09-04 23:28:20 +02:00
lib/tasks rails init 2026-01-03 16:19:03 +01:00
log rails init 2026-01-03 16:19:03 +01:00
public Chore/update robots txt (#87) 2026-05-01 11:21:20 +02:00
script rails init 2026-01-03 16:19:03 +01:00
storage rails init 2026-01-03 16:19:03 +01:00
test add new integration tests for data package, update rubyzip (#109) 2026-09-05 23:43:44 +02:00
tmp rails init 2026-01-03 16:19:03 +01:00
vendor rails init 2026-01-03 16:19:03 +01:00
.dockerignore rails init 2026-01-03 16:19:03 +01:00
.envrc nix setup 2026-01-03 16:34:01 +01:00
.gitattributes rails init 2026-01-03 16:19:03 +01:00
.gitignore Set up basic controllers, initial views, routes, etc 2026-01-03 21:42:08 +01:00
.rubocop.yml rails init 2026-01-03 16:19:03 +01:00
.ruby-version rails init 2026-01-03 16:19:03 +01:00
config.ru rails init 2026-01-03 16:19:03 +01:00
Dockerfile rails init 2026-01-03 16:19:03 +01:00
flake.lock nix setup 2026-01-03 16:34:01 +01:00
flake.nix Easy copying of invites 2026-01-07 02:08:27 +01:00
Gemfile add new integration tests for data package, update rubyzip (#109) 2026-09-05 23:43:44 +02:00
Gemfile.lock add new integration tests for data package, update rubyzip (#109) 2026-09-05 23:43:44 +02:00
Procfile.dev Set up basic controllers, initial views, routes, etc 2026-01-03 21:42:08 +01:00
Rakefile rails init 2026-01-03 16:19:03 +01:00
README.md Update README.md 2026-09-10 11:04:08 +02:00

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