A simple FUSE file system for mattermost
go build .
./mmfuse -username USERNAME -password PASSWORD -server SERVER MOUNTPOINT
Unmount (you may need super user permissions):
umount MOUNTPOINT
-
The generated directory structure:
|- root |- team1 | |- channel1 | | |- in | | |- unread | | | | | |- DM1 | |- in | |- unread | |- team2 |- channel1 | |- in | |- unread | |- DM1 |- in |- unread
-
The "unread" file contains unread messages from the corresponding channel. The message display format is:
DateTime <ThreadId> Username: Message
-
The "in" file can be written to to post messages to the channel.
-
The code does not sync state. For example, if you're added to a new team or join a new channel, you'll need to remount the filesystem to see these changes. Support for live syncing of state is planned.
-
The code is in alpha. There will be breaking changes.