Replies: 11 comments 3 replies
|
I am considering implementing site-wide search based on elasticsearch (that would include all the text from asciicast title, description and the whole terminal output). |
|
👍 |
|
👍 |
|
ElasticSearch may be an overkill here. I'll look into implementing this using Postgres' built-in full text search. |
|
FWIW my last team and I hacked on an internal asciinema and ES worked quite well but then again that infrastructure was already in place. |
|
Any progress on this? This seems to be one of the most pressing missing features. |
|
Would appreciate both public and also private recordings search. |
|
First of all thank you for all the work in this so much underrated tool and the website. Big fan for many years. I was looking for some examples to teach some kids about terminal usage. In this day and age, with the attentiton grabbbing competition from flashy youtube "tuttorials" it's not an easy task. Their generation cant conceive of a "tutorial" without dramatic faces, flashy intros, music and sexy ladys. So i was trying to search asciinema.org for some nice cool asciicasts. You know. With a bit of color. A bit of cool animations. Some ascii graphics . But. With basic tools everybody knows.. Not niche IT pros tools. I ended up here because, me too, wondered why there was no kind of search on the website. And I mean no kind of search at all. Neither by title, content, keyword, description etc. Such a basic feature missing. It would help make asciineman better known. Well I then tried plan B. Use Google and enter something like No. Nope. Zilch. Nada. $ curl https://asciinema.org/robots.txt Ahh ... so that explains it ... A bit more googling and I ended up here.
Wow. That's really old. Like, 2013. And there are other users, wondering about the same in 2018, .... So may I sincerely ask, Is there any kind of non technical reason for this not happening ? Any thing related to prevent scraping or ??? Any non willingness of the owners not wanting "search" on the website ? If not, and if this is just a technical feature missing, any updates on this ? Any time frame ? Thanks in advance. |
|
In a nutshell: this has always been on my list of things to add to the project but simply due to asciinema being my spare time project I never had a chance to get to this. There were always other priorities or just regular maintenance work getting in the way. This is still one of my top priorities and I'd love to work on it soon. In order for me to dedicate more time to the project I've setup Github Sponsors program, which I hope with your help will provide me financial support to tackle many long waiting problems/features. More on that here: https://github.com/orgs/asciinema/discussions/234 Thanks ❤️ |
|
Good news! I implemented recording search, which indexes titles, description, and full terminal session content :) It uses Postgres' native FTS support, so no extra components (such as ElasticSearch) are needed. It's already on https://asciinema.org, and I'll make a new release of asciinema-server soon, for those who self-host. Give it a go. The search box is in the page top nav bar, and you can focus it by pressing |
|
Awesome stuff! This is a real milestone and I'm looking forward to use it locally! 🙀 If you are open for comments I'd suggest a feature enhancement. Having the ability to click into a video from the search results with a list of hits (and context or timestamps) and jump to those would help a lot on larger recordings. We use asciinema for our terminal logging for which I created this tool https://github.com/cmprmsd/cinelog and jumping straight to the right spot in the recording is a nice time saver. Maybe you'd like to consider this as a later enhancement. 😊 |
Uh oh!
There was an error while loading. Please reload this page.
is there a way to filter/search the db for a keyword/tag ?
All reactions