1
 
 

Most of the cases where most people use bookmarks, I want a search engine based on only sites I've visited. I don't know whether I'm dramatically different from other people, but by the time I'm looking for a site, I've forgotten the most unique attributes, and even my own tagging often ends up tagging the wrong sorts of attributes. Tagging is still better for me than hierarchical organization, but what I really want is a sort of command-line search engine that searches only sites I've visited before.

I've frequently thought about building such a thing, but every time I do I think, "someone must have already built this." So:

Does anyone know of a tool like bmm or buku, but which indexes the URL's main page, and has a command-line tool for keyword querying the DB like a search engine? As in, performing stemming and lemmatization? It'd be like bmm/buku's tag search, only the tags would be a search engine index of the page.

What I do not want is

  • a self-hosted, web-based UI search engine
  • a self-hosted bookmark manager; buku and bmm are already both fine tools, and I'm not trying to solve "access all my bookmarks from everywhere". That latter I can do with rsync or syncthing.
  • a command-line bookmark manager... unless it conforms to the constraints above: queries should function on a full-text index of selected web pages. Again, buku and bmm would be fine if my tagging skills were better.
  • a crawler-based search engine

I do want:

  • the convenience of giving the tool a URL and having it auto-tag. buku does this, except that IME the resulting tags correlate even less well to how I remember things when I want to search than my manual tagging does.
  • some fuzziness in the search; my current problem is how constrained the searches are. This isn't their failing; I simply have obtuse recollection skills. I tag "dog,pet,animal", but when I'm looking for it, what I remember is "it's got four legs".
  • local, command-line
  • indexing a page of a given URL. Recursive is optional; I probably wouldn't use it, but if it's there that's fine. I just want to be able to limit the indexing to a single page.

This is my last ditch effort to find an existing tool; otherwise, I'm going to build it, because it's not a hard problem. Which is in part why I'm having trouble believing someone hasn't already built it.

2
3
 
 

Ed is customizable, actually. It can have syntax highlighting, interactive commands, and build/REPL setup. Enter rlwrap.

4
My Newsboat + Lynx browser setup (video.thepolarbear.co.uk)
submitted 8 months ago by to c/commandline@lemmy.ml
 
 

Not exactly links2 but similar.

5
 
 

This isn't so much a question of how, as it is an expression of bafflement at the utter lack of tooling to do this.

opustag can set, delete, or add a single or multiple tags... but it can't get a single tag. Same with ffmpeg. In fact, there appears to be not a single tool that can be used to get only the value of a single tag.

Sure, you can grep, but once tags start having multi-line values, this gets more complicated and error prone, and turns into a script. I honestly can't believe that I have to write a program to query a single tag value. This isn't even a Unix philosophy "do one thing well" issue; it's clearly in opustag's bailiwick.

Does anyone familiar with the spec know why this would be omitted from the opustag functionality? Is it, like, hard to query a single value, but easy to set it? Or is it just laziness? It can't just be a gross omission, can it? What sane person would consider this an edge case user feature? There must be some rationale behind it, especially since, while there are multiple ways to set values, there appears to be not a single tool that can read a single key. Maybe reading is NP-hard in opus metadata?

6
 
 

(The date + clock and the menu can be hidden via a toggle for extra flexibility and space. They are in the screenshot just to show em off.)

Manage your to-do tasks in a compact, slick and straightforward manner.

Includes a built-in clock for an extra flex.

Click here to grab the code and compile it with "gcc tm.c -o tm -static -O2". And then type "sudo mv tm /usr/local/bin/." to send the binary into the user binary directory. To run it, simply type "tm".

This code, alongside all my codes are under the "Do Whatever You Want" license. Modify this, sell it using a different name, whatever you want -- I don't care.

7
8
9
submitted 1 year ago* (last edited 1 year ago) by to c/commandline@lemmy.ml
 
 

From a dvd CLI screensaver to a btop replacement.

To compile (pretty much anything available in the provided link), just do

gcc filename.c -o whateveryouwant -static

10
 
 

Dink is a simple command-line tool (Linux, Windows, Mac) that provides notifications when your commands finish executing. It can play a sound, show a toast notification, or, on Windows, flash the taskbar icon. It's perfect for long-running commands or background tasks, so you don't have to constantly monitor your terminal.

11
 
 

Announcing bgammon.org (online multiplayer backgammon)

I have developed an entirely free and open source multiplayer backgammon service.

You can try it out by visiting https://bgammon.org/ or by connecting via SSH:

ssh bgammon.org -p 5000

I would very much appreciate help with testing and feedback from anyone who knows how to play backgammon, or is interested in learning. The rules of backgammon are available here:

https://bkgm.com/rules.html

The password prompt is currently non-functional, and private lobbies are not yet available. Otherwise, the service is ready to test out, particularly the accuracy of the backgammon simulation. Because there are no accounts yet, everyone is logged in as a guest.

A terminal-based client is available, and a graphical client is planned. The terminal-based client is available over the web at the link above. This is accomplished by using GoTTY.

Move pieces by dragging them or by clicking a source space and then a destination space. You may make multiple moves by dragging a checker directly to its final destination.

The source code is available here: server & client.

Feel free to contact me directly at trevor@rocket9labs.com with test results and feedback.

12
 
 

Also available via SSH:

ssh playnetris.com

Source code:

https://code.rocket9labs.com/tslocum/netris

13
 
 

Hello Lemmy,

InvidTUI is a cross-platform Invidious client, which can:

  • Play/download audio and video
  • Search and view videos, playlists and channels, with comments and history support
  • Manage your track queue, and view track information with image
  • Save queue into a playlist M3U8 file, or open/edit existing playlist files
  • Authenticate with the selected instance, display user feeds, create/edit playlists and manage subscriptions.

To facilitate the user experience, it also has a menu bar, to display menu options and their keybindings.

Any feedback is appreciated.

14
Bash notes (books.goalkicker.com)
submitted 3 years ago by to c/commandline@lemmy.ml
 
 

Thought you might appreciate this.

15
Suffix aliases (-s) in Zsh (www.stefanjudis.com)
submitted 3 years ago by to c/commandline@lemmy.ml
16
submitted 3 years ago by to c/commandline@lemmy.ml
 
 

17
18
19
20
 
 

I was looking for a way to scan a QR code on my mobile using my laptop, but couldn't find a perfect solution. So I ended up making this tool.

Repo: https://github.com/sayanarijit/qrscan

Language: Rust

Supported platforms: Currently tested on Linux, but should also run on Unix, Linux, Mac, Windows

I just published this, so expect a few bugs here and there. If found please report.

21
submitted 4 years ago by to c/commandline@lemmy.ml
 
 

Tired of collecting bank account data in order to get a grip on your spending?

Get started easily with this simple daily budget calculator. Not a calculator for your next big expense. Only a straightforward answer to the question: How much can I spend today?

Feedback welcome.

22
sixel (en.wikipedia.org)
submitted 4 years ago by to c/commandline@lemmy.ml
 
 

Would be curious to know if anyone's had any experience using sixel. I've only seen a few framebuffer based Linux distributions. Wondering if sixel could be used in a similar way to avoid X Windows or Wayland. I saw a port of libsdl that outputs in sixel. Also started experimenting with mlterm which displays sixel. Would be curious to hear of others experiences working with sixel or other graphics formats that could potentially display well in console mode.

23
pdftxt (litcave.rudi.ir)
submitted 4 years ago by to c/commandline@lemmy.ml
 
 

Thought I'd mention pdftxt. It translates pdf files to text using libmupdf. Haven't found anything more lightweight to do the same job. Would be curious if others have. There are some other interesting framebuffer and command line programs at the same site too.

24
25
submitted 4 years ago by to c/commandline@lemmy.ml
 
 

I know there are some CLI junkies using Termux on their Android phones but the terminal has always been a separate app. Termux Expert Launcher changes that. Always at-the-ready terminal while being able to quickly launch Android apps when needed. Type a few letters and matching apps show up below. The command app by itself will present a scrollable list of installed apps. Been sticking with this for awhile now and liking it quite a bit. Best on larger devices.

Termux Expert Launcher

#termux

view more: next ›