- Ruby 49.4%
- HTML 38.7%
- JavaScript 5.2%
- CSS 3.6%
- Dockerfile 1.2%
- Other 1.9%
| .direnv | ||
| .github/workflows | ||
| .kamal | ||
| app | ||
| bin | ||
| config | ||
| db | ||
| lib/tasks | ||
| log | ||
| public | ||
| script | ||
| storage | ||
| test | ||
| tmp | ||
| vendor | ||
| .dockerignore | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .rubocop.yml | ||
| .ruby-version | ||
| config.ru | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| Gemfile | ||
| Gemfile.lock | ||
| Procfile.dev | ||
| Rakefile | ||
| README.md | ||
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
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
not working atm Lol