lsi-send(1)
π 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 calledasdf_final_v3_FINAL2and 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-sendwill read from the specified file. and heads up: the--filenameoption 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-Fwins 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
- debian trixie: localslackirc 1.35-1 Β· GPL-3.0-only
- ubuntu resolute: localslackirc 1.36-1 Β· GPL-3.0-only
- ubuntu stonking: localslackirc 1.36-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms