oxen-io / session-desktop

Session Desktop - Onion routing based messenger
https://getsession.org
GNU General Public License v3.0
1.43k stars 186 forks source link

CLI Session client #1412

Open 097115 opened 3 years ago

097115 commented 3 years ago

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

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

Pascal-Paillier commented 3 years ago

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

beantaco commented 3 years ago

Thirding this feature request. :-)

beantaco commented 3 years ago

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

argonatorUberTF commented 2 years ago

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?

dillfrescott commented 2 years ago

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

BeholdersEye commented 2 years ago

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

mietzen commented 1 year ago

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

maltfield commented 1 year ago

+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 commented 1 year ago

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

VityaSchel commented 5 months ago

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

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

VityaSchel commented 5 months ago

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

maltfield commented 5 months ago

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

VityaSchel commented 5 months ago

@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

maltfield commented 5 months ago

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)