Skip Navigation

commandline

Members
0
Posts
46
Created
3 yr. ago

Corsaro: Search torrents in the terminal (Bash)

cross-posted from: https://lemmy.world/post/52083066

https://gitlab.com/christosangel/corsaro corsaro is a script written in Bash that allows the user to search for torrents in the terminal . colors1 The functions and the data are taken from https://piratebay.live/ Opening the script, the user through the main menu, can: • Search for a torrent • Search for a torrent in a category • Search for a torrent in multiple categories • Check out top 100 torrents in a category • Browse torrents in a category • Browse the most recent torrents • Repeat previous torrent search • Browse torrent search history and repeat a search using a stored key word • Configure the parameters of the script

18KB file listing tool in no_std Rust and libc

Initial release of FLI - really tiny and fast (like a 🪰) directory listing tool. Initial Why: need some easy readable ls like tool for rpi to use via ssh. Current Why: check if with Rust one can build core utils like tools faster and smaller. • Size: 18K - RPI ZERO W 51KB - Mac • Default mode streams readdir() => stdout with zero heap allocation. • Nice readabilty thx to (📄 and 🗂️) instead of text coloring • Written in no_std #rust + libc. https:// github.com/tracyspacy/fli

fli 0.1.2 - really tiny directory content listing cli tool in no_std rust.

cross-posted from: https://lemmy.ml/post/49444213

In this release: • use ISO8601 for date time format • sort by time • unsorted output option • colorized/text output modes for entry types Full list of features and available flags is in repository readme. rpi zero binary is still 18KB. It was both challenging and interesting to add new features keeping binary size small. I don't have an intention to replace ls which is obviously preinstalled, I see fli as a complimentary daily driver. The north star of the project is to always have smaller binary size than ls , while extending or improving ls functionality Interesting how much we can achieve with rust. As for a new features, I see various sorting options could be implemented cheaply. If you see ways to squeeze some more bytes, you are welcome. upd:

repo : https://github.com/tracyspacy/fli

I created dedicated community for people who may be interested : https://lemmy.ml/c/fli

bluetuith - A TUI based Bluetooth Manager v0.2.7 is released (Windows/MacOS/Linux)

Hello Lemmy, This release contains some major bugfixes, which include: • Correctly resolving adapter-device relationships (👀) • Fixing OBEX transfers • Properly syncing media player with the connected device during playback And much more. For Windows/MacOS users, libhbluetooth needs to be installed. Follow the download instructions and place the libhbluetooth dynamic library file next to the bluetuith binary, and then launch bluetuith. Bluetuith is a TUI based bluetooth manager, that aims to be an alternative to most bluetooth managers, and can perform bluetooth based operations like: • Connection to and general management of bluetooth devices, with device information like battery percentage, RSSI etc. displayed, if the information is available. More detailed information about a device can be viewed by selecting the 'Info' option in the menu or by clicking the 'i' key. • Bluetooth adapter management, with toggleable power, discoverability, pairablilty and scanning modes. • Transfer and receive files via the OBEX protocol, with an interactive file picker to choose and select multiple files. • Handle both PANU and DUN based networking for each bluetooth device (Linux only) • Control media playback on the currently connected device, with a media player popup that displays playback information and controls. (Linux only) I hope you enjoy this release, and any feedback is appreciated.

github.com

ANN: ostui v1.1.1, an OpenSubsonic TUI

ostui is a terminal client for OpenSubsonic music servers, inspired by ncmpcpp and musickube.

Features

• Browse by Artist • Browse by genre • Queue songs and albums • Create and play playlists • Search music library • Mark favorites • Volume control • Persistent play queue (re-load after restart with l) • Server-side scrobbling (e.g., on Navidrome, gonic) • MPRIS2 https://mpris2.readthedocs.io/en/latest/ control and metadata • A toggle-able song info panel in the playlist containing song information, lyrics, and cover art • Synced lyrics are shown, and synced with the music, if the server supports getLyricsBySongId; this is supported in both Navidrome and gonic, and possibly other OpenSubsonic servers • The search tab can toggle between "search for anything" (via search3/ ), or search-by-genre (via getSongsByGenre/. As part of this, switching to the genre search in the search tab with 'g' also shows a list of all known genres, which can be browsed.

v1.0.5 -> v1.1.1 changes

• CLI params & config settions for some UI toggles (track & album columns, song info) • Optional track & album display in the play queue list ('T', 'A') • The playlist can be sorted by title, track number, or album

Getting it

There's a releases link on the project page; I build assets for Linux and Darwin AMD and ARM64. ostui is in AUR and Alpine testing (the current release may take a day or two to show up in Alpine). ostui was hard-forked in 2024 from stmps, itself a hard fork of stmp.

sr.ht

I've collected all my useful bash scripts and command aliases into one CLI, but I want more!

So I'm sure we've all spent time writing scripts or figuring out CLIs for that one project we're working on, and then kind of go on to forget what we did. Then, when another project comes along later, you wish you had that script again so you could see how you did that thing you did. Personally, I used to just check random scripts into a repo as a kind of "archive" of all my scripts. But I wanted a better way to organize and use these things. For years I've been building and collecting these scripts into a CLI that I call Devtools to make it so that each script is a subcommand. I've had a lot of my friends and coworkers ask me to open-source it so they could use it and see how some things are done in Bash, what tools I use, etc. So...here's that CLI! ——— But what I'd honestly like is more... So what are your useful scripts or CLIs you've built? Or what's that script you wrote years ago that you now swear by? Or what's that one application you use daily that just makes your life infinitely easier! I want to grow this collection and feed the addiction!

github.com

bluetuith - A TUI based Bluetooth Manager v0.2.6 is released (Windows/MacOS support)

Hello Lemmy, With this release, bluetuith now works on MacOS. MacOS specific instructions are here: https://bluetuith-org.github.io/bluetuith/Installation/MacOS.html. (TL;DR Install and run Haraltd and then run Bluetuith) Bluetuith is a TUI based bluetooth manager, that aims to be an alternative to most bluetooth managers, and can perform bluetooth based operations like: • Connection to and general management of bluetooth devices, with device information like battery percentage, RSSI etc. displayed, if the information is available. More detailed information about a device can be viewed by selecting the 'Info' option in the menu or by clicking the 'i' key. • Bluetooth adapter management, with toggleable power, discoverability, pairablilty and scanning modes. • Transfer and receive files via the OBEX protocol, with an interactive file picker to choose and select multiple files. • Handle both PANU and DUN based networking for each bluetooth device (Linux only) • Control media playback on the currently connected device, with a media player popup that displays playback information and controls. (Linux only) I hope you enjoy this release, and any feedback is appreciated.

github.com