A simple note-taking web app.
Note
This is a hobby project, don't expect stability, documentation, security fixes, etc.
Just normal Rails setup:
- install
rubyandsqlite3, and for tests,yarnandchromium git clone https://github.com/jethrodaniel/notes && cd notesbin/setupbin/dev- visit http://localhost:3000
- sign in with
email: admin@app.localhost,password: password - run tests with
bin/ci
We're using bitwarden secrets manager.
- create 2 projects,
notes-productionandnotes-staging, and addRAILS_MASTER_KEYto each - install
bws cp .env.example .env, add your bitwarden configurationeval $(cat .env)
sanity check with bin/bws-get-project-id notes-production.
bin/rails credentials:edit -e production
bin/rails credentials:edit -e staging
Add the following:
deploy:
local_backups_directory: /some/local/path
remote_backups_directory: /some/remote/path
kamal:
proxy_host: your.deploy.url
server: 192.123.456.789
ssh_user: username
ssh_port: 22Deploy with kamal:
bin/kamal deploy -d staging
bin/kamal deploy -d production
Download a local backup:
bin/rails r script/backup.rb -e staging
bin/rails r script/backup.rb -e production
Restore from a previous backup:
bin/rails r script/restore.rb restore.tgz -e staging
bin/rails r script/restore.rb restore.tgz -e production
SPDX-FileCopyrightText: Copyright (c) 2025 Mark Delk
SPDX-License-Identifier: AGPL-3.0-or-later
Also:
- spanish
datetime.distance_in_wordstranslations from svenfuchs/rails-i18n (MIT).
You don't - contributions aren't accepted.