mmfuse

command module
v0.0.0-...-76cb76e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

mmfuse

A simple FUSE file system for mattermost

Build
go build .
Run
./mmfuse -username USERNAME -password PASSWORD -server SERVER MOUNTPOINT

Unmount (you may need super user permissions):

umount MOUNTPOINT
Notes:
  1. The generated directory structure:

    |- root
       |- team1
       |  |- channel1
       |  |  |- in
       |  |  |- unread
       |  |
       |  |
       |  |- DM1
       |     |- in
       |     |- unread
       |
       |- team2
          |- channel1
          |  |- in
          |  |- unread
          |
          |- DM1
             |- in
             |- unread
    
  2. The "unread" file contains unread messages from the corresponding channel. The message display format is:

    DateTime <ThreadId> Username: Message
    
  3. The "in" file can be written to to post messages to the channel.

  4. 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.

  5. The code is in alpha. There will be breaking changes.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL