Straightforward RemNote plugin for reminders. Set, Edit, Delete reminders to be notified about specific things.
widgets/
├── core/ # Core plugin logic
│ ├── component/ # Core logic components
│ ├── services/ # API calls, business logic
│ ├── settings/ # Plugin settings
│ └── utils/ # Utilities and helpers
├── shared/ # Shared components, settings, utils
├── UI/ # UI layer of the plugin
└── mongo/ # MongoDB image and config
└── redirection-page/ # A minimal page that redirects directly to a RemNote "rem"
Follow the official MongoDB installation guide 👉 MongoDB Installation Manual
Official Docker Documentation 👉 Docker Docs
If you use nvm you can just run the command nvm use. It will switch to the correct version of node.
1️⃣ Install packages
pnpm install2️⃣ Run the plugin in development mode:
cd plugin
pnpm dev3️⃣ Run server in development mode
cd server
pnpm devCreate a .env.prod file based on .env.template.
Note: MongoDB connection string differs for Docker:
- Local:
mongodb://localhost:27017/db_name- Docker:
mongodb://mongo:27017/db_name
To build the image:
cd server
rm -rf dist
pnpm build
cd ..
docker compose --env-file .env up
# or for production:
docker compose --env-file .env.prod updocker tag <image_id> dockerhub_username/repository_name:tagdocker push dockerhub_username/repository_name:tagdocker pull dockerhub_username/repository_name:tagEdit the docker-compose.vps.yml lines in:
server:
image: dockerhub_username/repository_name:tag
#...
mongo:
image: dockerhub_username/repository_name:tagThese 2 lines should point to your docker images.
Ensure .env file is present on the VPS as same as docker-compose.yml file, then run:
docker compose --env-file .env up -dFollow this format for branch names:
type/#issue-number/description-of-the-issue
Example:
feat/#2/add-rendering-reminders
In order to backup the db data you just have to use scripts/backup.sh. Basically you have to move it to your VPS. It will make a dump and copy it. If there is any error while running the script you probably have to create backup directory. You can also use crontab to make backups automatically.
crontab -e
# and paste it will run once per 5 minutes
*/5 * * * * /home/application/backup.sh# set sudo command to be called without password
sudo visudo
# than set it (application is an user on vps)
application ALL=(ALL) NOPASSWD: /home/applicattion/backup.shSet execution rights for the script
chmod +x /home/application/backup.shCmd + Zdoes not undo deleted reminders on the server.
To restore a reminder, you must manually refresh the app or recreate it.