- Ruby 50%
- HTML 35.4%
- JavaScript 8.1%
- CSS 3.9%
- Dockerfile 1%
- Other 1.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .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
bin/rails test