6cord

Rating: 
5
Your rating: None Average: 5 (1 vote)

6cord is a Discord client running in your terminal with a TUI. It supports navigating through servers, channels, hiding the server bar, uploading files, and even view images in terminals that support SIXEL (none on SFOS). The server side bar does not work in Toeterm, therefore it is recommended to use 6cord with Havoc or Literm. To use it in your tmux layout, see instructions at the bottom of the description. Fetching channel data when opening a new channel can be a tad long, be patient!

To enable automatic login, see below instructions on how to get your Discord token and use it with 6cord.    
                                                                                                                    
# Getting the token                                                                                                 
1. Open the official Discord Electron client on desktop.                                                            
2. Hit Ctrl+Shift+I.                                                                                                
2. Go to the Network tab.                                                                                           
3. Find Discord API requests. This is usually called "messages", "ack", "typing", etc. You might need to send a messa
ge to see something appear there.                                                                                   
4. Go to headers and search "Authorization". This is your token. 

# Running 6cord with the token                                                                                      
Add the token in the appropriate section in ~/.config/6cord/6cord.toml, and just run the 6cord command in terminal. 
                                                                                                                    
# Additional things                                                                                                 
Quirks                                                                                                              
- The ~ key could be used to both preview images and select a message ID.                                           
- /mentions is useless at the moment. This is planned to change in the future.                                      
- There is currently no global emoji support. This is also planned to change, along with emoji previews.            
                                                                                                                    
Additional keybinds                                                                                                 
- Refer to the Quick Start section displayed when starting 6cord.                                                   
- Tab to show/hide the server list.                                                                                 
- Input field history is cycled with Alt + Up/Down.                                                                 
- PgUp and PgDn can be used to jump between servers in the list.                                                    
- There are some Vim binds available, i.e. ^n and ^p to move between fuzzy listed items in /commands.               
                                                                                                                    
command-prefix                                                                                                      
- The following variables are available: CHANNEL, GUILD, USERNAME and DISCRIM                                       
- This follows tview's rich text format:                                                                            
Coloring text with [#424242]                                                                                      
Bold text with [::b]                                                                                              
Both can be done with [#424242::b]                                                                                
Reset with [-], [::-] or [-::-]                                                                                   
- You need to manually escape square brackets by adding an opening ([) bracket before a closing (]) bracket         
Example: [${guild}] to [${guild}[]

Color support                                                                                                       
6cord runs in 256 color mode most of the time. To force another mode, you have have to temporarily change the TERM value. However, manually changing TERM to a value different than the terminal's default is known to break other things, so use it with caution (the variable will be reset once you restart the terminal). Alternatively, you can set an alias in your ~/.bashrc with "alias 6cordcustom='COMMAND'" where command is the 'COMMAND' of your choice below.             
                                                                                                                    
- To run 6cord with true colors (not all terminals support true colors):                                            
TERM=xterm-truecolor 6cord                                                                                        
                                                                                                                    
- To limit 6cord to strictly 16 colors, run:                                                                        
TERM=xterm-basic 6cord                                                                                            
                                                                                                                    
- To run 6cord in monochrome mode:                                                                                  
TERM=xterm 6cord                               

tmux support                                                                                                                      
- To run 6cord in a tmux session mode, you need to enforce TERM in the panel; beware that it may break other things in your panels:                                                                                 
TERM=xterm-256color 6cord                                                                                      
                                                                                                                    
# Disclaimer                                                                                                        
I am not the developer of 6cord, I just packaged it for SFOS. 6cord is no longer actively developed, but it is a feature rich TUI client and it works perfectly on SFOS. It was developed by diamondburned at https://gitlab.com/diamondburned/6cord/.

 

Screenshots: 
Application versions: 
AttachmentSizeDate
File 6cord-aa7acec1-1.armv7hl.rpm7.45 MB10/06/2020 - 04:11