Templates
Working code
in one command.
Each template is a complete, small project with the OzVault SDK already inside. Run ozvault init, or download the ZIP and open it in your editor.
Next.js starter
Upload, list, download and delete encrypted files from a Next.js App Router app.
- Upload, list, download and delete from an App Router app
- Encrypts on your server; keys never reach the browser
- Refuses requests in production until you add sign-in
ozvault init nextjs ozvault-nextjsDownload ZIP · 34 KB21 filesDiscord.js backup bot
Scheduled, encrypted, rotating backups of a bot's data, with /backup, /backups and /restore.
- Encrypted backups every few hours, on start and on shutdown
- Keeps the newest N; older backups are deleted for good
- /backup, /backups and /restore for administrators
ozvault init discord-js ozvault-discord-backupsDownload ZIP · 32 KB17 filesPython starter
Encrypted backups with rotation, restores and share links from Python.
- backup, list, restore and share from one script
- The Python SDK included, no PyPI needed
- Works with cron or Windows Task Scheduler
ozvault init python ozvault-pythonDownload ZIP · 11 KB7 filesGitHub Actions backup workflow
Nightly encrypted git-bundle backups of a repository, plus release assets.
- Nightly git bundle of every branch and tag
- Release assets stored under releases/<tag>/
- Runs the CLI pinned by its SHA-256
ozvault init github-actionsDownload ZIP · 2 KB2 files
After init
What every template expects.
Three values, kept on the server or machine that runs the code: an API key with
objects:read and objects:write (limit it to one bucket), your vault key (ozvault keygen) and a bucket ID (ozvault buckets). Every template has an .env.example listing them. Never commit the real values.Need an account?
Sign in with Discord and start with 15 GB of free, encrypted storage.