augment research
foundry
TeaGardenFS
Linux · Apple silicon CLI1.0.0

Encrypted locally.Stored on Telegram.

Tea plants grow in wooden file-folder planters behind a little green garden gate. A gold leaf rests on the stone path.

Save a file from your usual editor. TeaGardenFS encrypts it on your computer and keeps its versions in a private group in your own Telegram account.

Build and install

Start with Git and Rust 1.89 or newer. Clone the 1.0.0 tag and run the installer.

git clone --branch v1.0.0 https://github.com/arf-io/teagarden-fs.git
cd teagarden-fs
./scripts/install.sh --deps
~/.local/bin/teagarden --version

The installer builds teagarden and puts it in ~/.local/bin. On Linux it offers to install FUSE 3 and the build tools. The Apple silicon build includes command-line tools for offline decryption. Its setup guide covers Xcode, Homebrew and macFUSE.

Install the prebuilt Linux binary

Download the Linux x86-64 archive and its .sha256 file from the 1.0.0 release. In the download folder, check the archive and install the executable.

sha256sum -c teagarden-1.0.0-linux-x86_64.tar.gz.sha256
tar -xzf teagarden-1.0.0-linux-x86_64.tar.gz
mkdir -p ~/.local/bin
install -m 755 teagarden-1.0.0-linux-x86_64/teagarden ~/.local/bin/teagarden
~/.local/bin/teagarden --version

Install FUSE 3 through your package manager to mount a folder.

Add TeaGardenFS to your shell

In bash or zsh, run export PATH="$HOME/.local/bin:$PATH". Add the same line to your shell profile to keep it for future terminals. In fish, run fish_add_path ~/.local/bin once.

Read the installation guide on GitHub Discuss the TeaGardenFS release

Mount your first folder

On Linux, start with your own Telegram API ID and API hash. Enter them at the login prompts. Then give your volume a name and a password, and mount it in an empty folder.

teagarden auth login
teagarden volume create --name notes
mkdir -p ~/TeaGarden
teagarden volume mount notes ~/TeaGarden

Leave that terminal open. In your editor, save a file called ideas.txt in ~/TeaGarden. Change a line and save it again. When you’re finished, run teagarden volume unmount ~/TeaGarden from a second terminal.

Set up your Telegram account
What goes to Telegram?

TeaGardenFS encrypts file contents, names and folder paths locally. Your Telegram group holds encrypted documents. A computer you attach to the volume can open them with the volume key.

Read the security model

Bring back the line you cut

Open the history for /ideas.txt, the file at the top of your volume. Pick the version with the line you want back. Replace VERSION_UUID with its version ID or an unambiguous prefix.

teagarden volume history notes /ideas.txt
teagarden volume restore-version notes /ideas.txt VERSION_UUID

The next time you open the file, the line is back. The later edit stays in the history too.

Recover a file offline

Save one of your volume’s encrypted attachments from Telegram as note.tgf in Downloads. Run teagarden decrypt ~/Downloads/note.tgf and enter your volume password. Open the recovered file in ~/Downloads/decrypted/.