[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: weechat-chat-room.png (345 KB, 690x525)
345 KB
345 KB PNG
Already have Flutter + GTK4 clients, but need an Ncurses UI client for TorX/libtorx.
Need /g/'s help choosing a layout/navigation style.

What existing clients have:
Login screen (enter ur decryption password)
Chat list (who is online)
Group list (groups you are a part of)
Block list (groups or peers you blocked)
Friend requests page (make one, accept one, make a group, etc)
Tor Log, TorX log viewer pages
Edit torrc page
Settings page

And of course, most importantly:
the chat page, where you have p2p chats or group chats, potentially a user list, some settings (block peer, clear contact history, change their nick, view user list, start a private message, etc)

I wanna bare-bones it this week and I think that's a viable goal as long as I don't bother with complications like file transfer support.

posting some example ncurses clients for inspiration. cocktail napkin designs welcome.
>>
>>107097745
what's terminal?
s0vL, btw, anon.
>>
File: irssi-chat-room.png (30 KB, 623x448)
30 KB
30 KB PNG
>>107097926
what?

picrel is another design. classic, irssi. similar to weechat.
>>
>>107098490
Asked what terminal you're using, and also told you that your project looks really cool, basically.
>>
File: mcabber-chat.png (8 KB, 599x316)
8 KB
8 KB PNG
>>107098922
These aren't my screenshots, just examples of existing chat clients that do p2p/IM and/or Groups/Rooms/MUC.

Unlike these clients though, I have to have all my settings *in* the client rather than in a .conf because the settings (and even things like torrc) in TorX are encrypted with SQLCipher.

pic rel is Mcabber (xmpp)
>>
File: desktop_group.png (150 KB, 1102x856)
150 KB
150 KB PNG
>>107097745
Ncurses recommendation: Use panel.h
Regarding layout, how about:
- `Tab` to switch between buttons (from message entry, to file-send, chat list, nickname, peer settings) within a chat panel. Order should reflect common usage.
- `Esc`/`Home` to go back from a chat to the contact list panel, be a quick jump from buttons back to the message entry, and to cancel modifications of stuff
- F1 to F8 undefined but could later be direct routes to 'Help'(F1, 'Settings'(F2), 'Search'(F3), 'Chat List'(F4), etc
- PgUp/PgDn for scrolling message history
- `End` for resetting scroll to bottom
- Arrow keys permitted for direct navigation except when focus is on message entry, in which case they are used for moving the cursor (including up and down, to facilitate multi-line messaging). If at the top line of a message, up should reset cursor to beginning of the line. If at the bottom line of a message, down should reset the cursor to the end of the line.
This differs a bit from what some users might expect (especially on `Home` and `End`), but other ncurses chat clients don't facilitate complete navigation using only keys (they rely on commands).

If you have peers doing private messaging, order peers who have active chats to the top of the group user list, and also allow selections from messages for deleting/renaming/PM, etc.
If multiple windows support gets added, going "back" on one window could show the contact list but if a contact that is already open was subsequently selected, the former panel (shown before going "back" to the contact list), could be re-displayed while focus shifts to the newly-selected already-visible panel.

pic rel is apparently the current appearance of a TorX group chat window, from your site, so I am basing my suggestions off that style of layout.
>>
I truly thought there would be more terminal users on /g/
>>
>>107097745
midnight commander has 99% settings available in app, just steal its bottom bar with F1-Help, F9-Pulldown for top menu access where you can access setting menus, left side channel/chat list like mcabber and you're golden
>>
>>107101149
its over anon, all that is left on /g/ is techslop "wars" kek
i use my fair share of TUI stuff like ncmpcpp neomutt rtorrent nvim ranger, but i am not into IRC stuff
i tried IRC once and it was dead and slow basically. i must say i didnt explore further and i would like some general RECS on IRC from you
>>
>>107097745
just irc and weechat/irssi.
>>
i just use emacs
>>
>>107097745
have a look at gomuks, a terminal Matix Client
https://github.com/gomuks/gomuks
>>
>>107101149
I practically live in the terminal, I just have nothing to add to this topic.
I used irssi for many years with minimal scripts and config changes, and did the same when migrating to weechat. Their defaults were decent enough for me.

Everyone I know from IRC and XMPP have migrated to Matrix and for that I use a graphical client since it does a lot more than just text. (video calls, images, etc.)

I imagine the experience might be similar for other lurkers.
>>
>>107104745
there are XMPP clients that can do more than text though?
>>
>>107105144
Yes, plenty.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.