asciinema-server
asciinema-server copied to clipboard
Full text search by recording contents
is there a way to filter/search the db for a keyword/tag ?
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).
:+1:
:+1:
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
"some_keyword" site:https://asciinema.org/a
No. Nope. Zilch. Nada.
$ curl https://asciinema.org/robots.txt
# See http://www.robotstxt.org for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
# User-Agent: *
# Disallow: /
User-Agent: *
Disallow: /a/*.json
Disallow: /a/*.cast
Disallow: /a/*.png
Disallow: /a/*.svg
Disallow: /a/*.gif
# Allow Twitterbot access to casts images
User-Agent: Twitterbot
Allow: /a/*.png
Allow: /a/*.svg
Ahh ... so that explains it ...
A bit more googling and I ended up here.
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).
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.