Repl Search: The best search engine around
BobTheTomatoPie (973)

Very Beta

I will be adding a couple of entries per day, just to keep the site fresh

Tell me searches to add

Just comment: the search name, and the info

Some of you guys have entries!

If you type in your user you might have an entry.




Thanks to @VulcanWM and @bookie0 for help adding searches

You are viewing a single comment. View All
mattx433 (2)

Well, nice idea but here's a few suggestions in terms of code:
1. seems quite cluttered. Instead of setting variables then putting them into one big array, just have a big array split into multiple lines containing the searches. This would kind of reduce clutter and prevent situations where you forget to add the search to the array, and weird variable names with searches that start on a number.
2. The search box itself has a weird way of putting in characters, but I really can't think of a way to get around that.
3. There's a duplicate of black in, and on that topic you could move the colors to a different file, or just use the colorama package which does include proper terminal escape sequences.
4. Don't run clear just to clear the terminal - the escape sequence for this is \033[2J.
5. Lastly, I'm really unable to figure out what's s, w, x, p and all those single-letter variables - it's kind of a pain to look at.
I would like to change these searches:
HTML - The standard markup language used on the Web to build pages.
CSS - The style sheet language used on the Web to set styles on HTML elements.
JavaScript - A programming language most commonly used on the Web and Node.js.

VulcanWM (1733)

Thanks for the suggestions. I'll change it. If you have any search ideas, let me know @matimati433