beepy-ppa

Beepy Gomuks

Upstream Gomuks Readme: https://github.com/tulir/gomuks

Setting up Gomuks

See the original Gomuks Beeper instructions for more detail: https://beeper.notion.site/Beepy-Beeper-Client-Setup-Tutorial-a2200b76f8764813bf7a70e9f69f46b3

Logging into Gomuks

If you have a large amount of Beeper chats, you can use Gomuks on a more powerful computer to synchronize your account. It is a more involved process, however. If you don’t have a large amount of chats, you can log into Gomuks directly without exporting.

     ╔═══════════Log in to Matrix═══════════╗
     ║                                      ║     
     ║ Email example@example.com            ║
     ║                                      ║
     ║       [Enter email to request code ] ║
     ║                                      ║
     ║ Code  123456                         ║
     ║                                      ║
     ║ [       Enter code to log in       ] ║
     ║                                      ║
     ║ [               Quit               ] ║
     ╚══════════════════════════════════════╝

Press Alt + Enter for Tab, or Meta mode arrow keys to move between fields. For keymaps including arrow keys and symbols, refer to beepy-kbd keymap reference.

After logging in, refer to Using Gomuks.

Export data from computer

If you have a large amount of Beeper chats, you can use Gomuks on a more powerful computer to synchronize your account. Then, you can transfer the synchronized state to your Beepy device. If you would like to sync all data on your Beepy device, refer to Logging into Gomuks.

Import data to Gomuks

Copy the exported folder to your Beepy device using scp.

scp -r /path/to/transfer user@beepy_ip:/destination/transfer

Then, edit the file at <transfer>/config/config.yaml to update the following paths to the destination directory:

data_dir: <transfer>/data/gomuks
cache_dir: <transfer>/cache
history_path: <transfer>/cache/history.db
room_list_path: <transfer>/cache/rooms.gob.gz
media_dir: <transfer>/cache/media
state_dir: <transfer>/cache/state

For example, if you transfered the folder to the path /destination/transfer/, update the data_dir setting to

data_dir: /destination/transfer/data/gomuks

Finally, edit your ~/.profile or other configuration to set the environment variable GOMUKS_ROOT to the path of the transfer directory. If you are using the beepy-poll Gomuks polling service, also update the polling script GOMUKS_ROOT setting at ~/.config/beepy-poll.d/50-gomuks.

Using Gomuks

Room list

On the Beepy’s small screen, the default view for Gomuks is a single-column view, opening to the room list.

GOMUKS                                       12:00
* My Name and Telegram bridge bot       2024-03-31
  Last Message
Note to self                            2024-03-31
  Note Contents
Beeper Help                             2024-03-27
  Welcome to Beeper!
Beeper Updates                          0001-01-01
  Beeper Android Beta v4.1.48

Exit Gomuks from the room list by pressing the Back key, mapped to Escape.

The selected room is highlighted, and prefixed with a diamond marker. Scroll the list using arrow keys (Meta mode arrow keys Berry + E/S or touchpad arrow keys), and select a room using Enter. For keymaps including arrow keys and symbols, refer to beepy-kbd keymap reference.

In the room list, press k to open a room search dialog. Start typing the name of the room to narrow down the list, then Enter to select the room, or Escape to exit the dialog without selecting a room.

Press s to open the Gomuks settings menu.

Message view

The selected room view shows a list of all messages for that room, and a text entry box.

Chat with Other Person
                           Scroll up to load more 

                  other-persons-name · 17:00:00 <
                      Message from Other Person
Date changed to March 31, 2024                  
> My Name · 07:00:00
Message to Other Person
                                   
Send an encrypted message... 

Scroll the message view using arrow keys, or using Page Up and Page Down (Meta mode, Berry + O/P). Type a message using the alpha keys, and press Enter to send.

Exit the message view and return to the room list by pressing the Back key, mapped to Escape.

On a larger screen, such as connected through SSH, Gomuks will display in a two-column view. The currently selected view, either chat list or message view, will be highlighted with a green header bar.