aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMroik/PositiveC <mroik@delayed.space>2025-06-24 10:50:04 +0200
committerMroik <mroik@delayed.space>2025-06-24 10:50:14 +0200
commitd2ee0f07d3db0e707f16bbcb8abc3120dab10161 (patch)
tree81a78264f891ef8741e6de075d05fa2c213ed5e0 /README.md
parente18bc74c0b861107437a18f78f353ac31b4a3a12 (diff)
Create README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9af63c9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,20 @@
+# Orange Whale
+Orange whale is a backup software that usage telegram as free storge. A docker image is available, just mount
+the folders you want to backup and pass the folder names to `LOCATIONS` to tell Orange Whale what to upload.
+
+It requires you to also mount `/app/pub.txt`, a file containing your public PGP key. Yes it is required, and yes
+it is useful, don't upload your personal data on external services without encrypting them.
+Now the following envvar:
+- `TELOXIDE_TOKEN`: is the telegram bot token you'll be using
+- `CHAT_ID`: the group/channel your bot will upload to
+- `LOCATIONS`: the folders to upload
+- `INTERVAL`: how often to upload in hours. It takes an integer
+- `RUST_LOG`: for logging stuff. If you're using it with docker I advise you to set it to `info`
+
+## Backups
+Once the bot starts uploading you'll realize that the data is split in multiple parts. That's because bots on
+telegram have an upload limit of 50MB on files. Just download all the parts and `cat` them together. After that
+you can decrypt using your PGP key and unpack using tar.
+```sh
+cat part_* | gpg -d | tar x
+```