Download a config file for your Zulip instance and save it at $HOME/.zuliprc.
sudo mkdir /mnt/zulip
sudo chown $USER:$USER /mnt/zulip
python3 -m pip install -r requirements.txt
python3 zulipfs.py /mnt/zulip
ls /mnt/zulip
This only displays topics you've read prior to running this command. To know why, read the accompaniying blog post.
ls /mnt/zulip/<channel>
Displays messages from the time the filesystem was mounted
cat /mnt/zulip/<channel>/<topic>
tail -f /mnt/zulip/<channel>/<topic>
echo 'message' >> /mnt/zulip/<channel>/<topic>
umount /mnt/zulip
- The current implementation doesn't support the redirection operator
>, which could be used to create a new topic if it doesn't exist. - Buggy on macOS: I can read messages fine, but writing works only if I read the message once. And even then, it writes the contents of the entire file (which includes older messages) instead of just the message I passed to it.