session-desktop icon indicating copy to clipboard operation
session-desktop copied to clipboard

CLI Session client

Open 097115 opened this issue 4 years ago • 14 comments

Probably no chance for a command-line or TUI version? No such plans? :)

(Sorry for not exactly an issue but a general question...)

097115 avatar Dec 23 '20 05:12 097115

Seconding that! A CLI under linux would really be a nice addition here. Love what you guys are doing!

Pascal-Paillier avatar Dec 28 '20 09:12 Pascal-Paillier

Thirding this feature request. :-)

beantaco avatar Feb 01 '21 22:02 beantaco

I made a suggestion of adding support for command line options in #1503.

beantaco avatar Feb 21 '21 03:02 beantaco

Fourthing. A basic no frills text CLI with maybe vt52-vt100 terminal emulation like in the old Unix days. The BBS never died. Maybe ANSI colors and extended text on monitors beyond 80x25 or 132 x50 ? 3270 terminal emulation for the geeks from IBM out there like me?

argonatorUberTF avatar Sep 30 '21 23:09 argonatorUberTF

This needs to happen!! This would be amazingly useful on Linux and even other operating systems!

dillfrescott avatar Jan 22 '22 04:01 dillfrescott

Any way to send Session messages programmatically would be very useful.

BeholdersEye avatar May 02 '22 16:05 BeholdersEye

Can't we repurpose parts of https://github.com/AsamK/signal-cli

mietzen avatar Jul 14 '22 12:07 mietzen

+1 but note that interacting with Session users programmatically isn't just for 1337 h4x0rs who want to talk with their friends on their linux laptops over CLI; it would be a huge boon for business adoption.

My use-case: I want to be able to send alerts from my server to my handset e2ee. Consider, for example, all of the useful bots used in Slack & Matrix. Having the ability to write a simple bash or python script to send messages over Session would be hugely useful.

maltfield avatar Mar 08 '23 15:03 maltfield

See also https://github.com/hesiod-project/node-session-client/

maltfield avatar Mar 08 '23 15:03 maltfield

See also https://github.com/hesiod-project/node-session-client/

Hoping the developer will add support for onion routing and closed group chats

VityaSchel avatar Jan 20 '24 16:01 VityaSchel

I'm happy to announce that I'm building headless version of Session: https://github.com/VityaSchel/session-nodejs-bot

I spent a few days and with it you can already get latest conversations, read other user's names and right now I'm trying to debug sending messages

VityaSchel avatar Jan 21 '24 13:01 VityaSchel

@VityaSchel will it be possible to securely obtain it? npm is infamous for supply chain security issues.

maltfield avatar Jan 21 '24 18:01 maltfield

@VityaSchel will it be possible to securely obtain it? npm is infamous for supply chain security issues.

Sure, just go ahead and clone my repo. Session-desktop already uses npm to download all packages. I will redistribute my project in npm in case someone wants to use it as module. All they need to do is just import { initializeSession } from 'session-messenger-nodejs' and they can start building bots with it

VityaSchel avatar Jan 21 '24 18:01 VityaSchel

I don't think we should consider any supply chain that requires the use of npm to be secure.

Same for "downloading from github" -- except for releases that are cryptographically signed with PGP (but if those signed releases are built with npm, then you're still vulnerable)

maltfield avatar Jan 21 '24 19:01 maltfield