lsi-send(1)

πŸ“¦
version 1.36 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’Œ lsi-send β€” the manual page, but make it a group chat πŸ’Œ

okay bestie, so this is lsi-send(1), from the General Commands Manual, and it is genuinely the cutest way to yeet a file into Slack. let me walk you through it, no gatekeeping 🫢


✨ NAME ✨

lsi-send β€” send a file to a slack user or channel. that's it. that's the whole job. she's simple, she's iconic, she serves πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

lsi-send [OPTIONS] DESTINATION < file
lsi-send [OPTIONS] -F file DESTINATION

two ways in: pipe it in from stdin like a little stream, or point at a file with -F and let her do the rest. either way, DESTINATION is who's getting blessed with your file 🌸


🌈 DESCRIPTION 🌈

so, this command sends files to an instance of localslackirc that is running locally. like, on the same machine, right there, bestie πŸ’–

DESTINATION indicates a channel or user to send the file to. that's the "who". that's the target. the moment. the main character of the operation.

when you're using the provided .service file and starting localslackirc with systemd, this command should be able to autodetect the location of the socket. auto-detect?? we love a self-sufficient queen ✨

but lowkey, if the same user is running multiple instances, then it is possible that the path to the unix socket must be provided as a parameter. like, she can't read your mind, she's guessing between several identical twins 😭 that's your cue to step in and tell her.

NOTE: the files are entirely loaded in RAM before sending. all of it. the whole thing. so if you're about to send a 4GB video, bestie... vibe check that first πŸ’€

🌸 Options: 🌸

  • -h, --help β€” show the help message and exit. classic. always there for you. 🫢
  • -f FILENAME, --filename FILENAME β€” the name to give to the filename. it will appear on slack. so like, you can send a file called asdf_final_v3_FINAL2 and have it show up as something cute instead πŸ‘‘ note that this is literally just the display name she uses.
  • --control-socket CONTROL_SOCKET β€” if the path to the socket cannot be auto-detected, this option must be used to indicate the path to connect to the control socket. no auto-detect? no problem, just hand her the address directly. required in that case, fr fr πŸ’…
  • -F SOURCE, --file SOURCE β€” when used, instead of reading from stdin, lsi-send will read from the specified file. and heads up: the --filename option will be ignored in this case, and the real name of the file will be used. so if you wanted a cute alias AND -F, pick one, because -F wins and takes the actual name πŸ’€ the real name is the moment.

πŸ” SEE ALSO πŸ”

go read those too, they're the extended universe πŸ¦‹


🌐 WEB 🌐

https://codeberg.org/ltworf/localslackirc


πŸ‘‘ AUTHOR πŸ‘‘

Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>


and that's the whole page, bestie! this version came from the Send files to slack release, dated Jun 18, 2024 β€” the lsi-send(1) page, exactly as it lives in the manual. now go send somebody a file, you absolute icon πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from