Share your repls and programming experiences

← Back to all posts
Repl Search: The best search engine around
BobTheTomatoPie (972)

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.

Enjoy

-BobTheTomatoPie

Thanks

Thanks to @VulcanWM and @bookie0 for help adding searches

Commentshotnewtop
CharlieTimothy (8)

Biologist: a lump of cells that talks about other lumps of cells

BobTheTomatoPie (972)

we are adding some new stuff, come back soon and it will be ready @CodeLongAndPros

HahaYes (903)

@CodeLongAndPros WHY DO WE HAVE THE SAME CYCLES AGAIN

johnstev111 (229)

Great! I think you should make a search thing for every person.. including myself

BobTheTomatoPie (972)

Okay, im planning on adding 3 searches by the day so ill get there @johnstev111

9751 (19)

@BobTheTomatoPie Make an entry about me!!!

BobTheTomatoPie (972)

what do you want it to say?? @9751

johnstev111 (229)

@9751 Three entries a day, your luck maybe tomorrow

BobTheTomatoPie (972)

let me know of something you would like me to write about you in a search @johnstev111

9751 (19)

@BobTheTomatoPie Make it say: @9751 is a novice Coder, he makes cool stuff

johnstev111 (229)

@BobTheTomatoPie Ok: here is the data now:

johnstev111:
johnstev111, a.k.a. the Firefish, is a C# and ex-Python coder, who lives in England, United Kingdom.
One of his most famous programs is his 100 cycle special, a.k.a. the 100-cycle-cyclone.
His profile picture is a photo of a goldfish stole from Google Images, and has since been nicknamed "the Firefish".
He himself doesn't own a goldfish, but likes his profile picture because it is orange, which is his favourite colour.
nt998302 (159)

Aww, I'm not on it... Good Job!

BobTheTomatoPie (972)

thnaks, the people who are on it tell me to add them, let me know what you want it to say about you and it'll be added @nt998302

PythonPrograms (2)

@BobTheTomatoPie Can I be added? I want mine to be "Python Programs is a Python Developer who has joined Repl.it to learn more Languages like JavaScript and C++, He is very good at Python but not at spelling , Well at least I think he is't good at spelling. He also wants to mention Cheese for being yummy and don't forget Yummy Caik. Oh and don't ever forget turd boi420. He is good"
I will give an upvote if you can make it better. Not that I am not already this is sick project and its super cool.

PythonPrograms (2)

@BobTheTomatoPie Also please add for turd boi420 "An incredible Youtuber who uploaded a lawn mower review and got 100k in less that 24h, he has no content on his channel now because there was never ment to be anything but Youtube never gave him the award until he uploaded some videos to YouTube. XD

johnstev111 (229)

@PythonPrograms Lol, you're subbed to turdboi420 too? #turdboigang

johnstev111 (229)

@PythonPrograms YOu have all the links too, I'm assuming

adl212 (29)

Can you run programs when you search something up? If you added in programs into search results, it would be really cool!

BobTheTomatoPie (972)

i would, but i hate waiting for API to load honestly @adl212

adl212 (29)

@BobTheTomatoPie Just make a limit to the size of a program. You can always use databases to store those programs. You can use something like jsonbin

BobTheTomatoPie (972)

sure yea, but when using an api it gives error code sometimes and then loads seconds later @adl212

adl212 (29)

@BobTheTomatoPie Can you try using try and except clauses to get around errors and exceptions?

BobTheTomatoPie (972)

there is no error in them, it shows fake error message that goes away after some time @adl212

adl212 (29)

@BobTheTomatoPie Ok, but you don't have to put the entries in an api. You can put it in a json file and you just have to use just have to read the json file and useeval(#the code) to run it.

BobTheTomatoPie (972)

okay maybe ill try it, but idk with this repl @adl212

adl212 (29)

@BobTheTomatoPie I could help you if you wanted me to

Name12 (50)

Cooooooool!!!. and I see that you are back to doing python stuff.

BobTheTomatoPie (972)

Thanks, but I’m not really going back into, I made this as a test for auto suggestion @Name12

Centslord (99)

Hey! Can I be on here?
Also, for ASCII Art: I just posted one a few minutes ago, and it is pretty pointless xD

VulcanWM (1709)

What do you want your description to be? @Centslord

Centslord (99)

@VulcanWM "A certified IntriguingKid."

johnstev111 (229)

@VulcanWM Hm... It seems @BobTheTomatoPie has hacked into your account...

BobTheTomatoPie (972)

no he is an associate on the project @johnstev111

VulcanWM (1709)

It was me. I was helping @BobTheTomatoPie to make the searches @johnstev111

VulcanWM (1709)

Did you read the last line of the post? @johnstev111

johnstev111 (229)

@VulcanWM Oh, I thought that meant that you made lots of suggestions...

AlexanderLi3 (4)

A page suggestion: Malbolge (Description: Claimed to be one of the hardest programming language. It's name is derived from the Eighth Circle of Hell in Dante's Inferno.

SixBeeps (2289)

Pretty neat. Though, I would have put everything in a JSON file instead of stuffing each entry into a variable.

Repldex: Repl.it's Pokedex

BobTheTomatoPie (972)

thanks, idk how, if you have time could you give me a tutorial? @SixBeeps

SixBeeps (2289)

@BobTheTomatoPie Sure

  • Make a file called something.json and put this in it:
{
  "A Word": "This is a definition for something.",
  "Another Word": "Wow! There is more than just one term."
}
  • import json
  • Load the .json file into a string:
jsonFile = open('something.json', 'r')
jsonString = jsonFile.read()
jsonFile.close()
  • Parse the JSON dictionary from a string into a variable:
dict = json.loads(jsonString)

You can then access terms and their definitions like a normal dictionary:

print(dict['A Word'])
BobTheTomatoPie (972)

thanks!! I don't think i will do this for the search thing, cause its a little late, but this will definitely by helpful for future reference! @SixBeeps

mattx433 (2)

Well, nice idea but here's a few suggestions in terms of code:
1. search.py 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 main.py, 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 (1709)

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

TheMemeManHimse (31)

Name of Query: Covid-19 Info: Not a big deal, but yet were all imprisoned over it

It IS a big deal

NoelB33 (278)

It’s still a very big deal, at least in the us. @TheMemeManHimse

aguy11 (82)

I think you shouldn't take on this stress of having to add stuff every single second. Just let the program do it! Somewhat like this

import json
choice = input("A) Search or B) Contribute?")
if choice.lower() == "a"
  #Put all of the search stuff in here, but instead of using search.py as a source, use the son file.
else:
  tag = input("What's this piece of info called? ")
  info = input("What should define it?")
  f = open("search.json", "r")
  fil = list(json.load(f)) #This will be the file with all of the info. Example set:
#[{"tag": "BobTheTomatoPie", "info": "The guy who created this"}]
  fil.append({"tag": tag, "info": info})
  f.close()
  with open("search.json", "w") as fin:
    json.dump(fil, fin)

#This should work
BobTheTomatoPie (972)

the only problem is that there are three properties per search @aguy11

ProCoder123 (3)

It says Traceback (most recent call last):
can you please fix this.

BobTheTomatoPie (972)

oops sorry we were making an update @ProCoder123

dabombdgdzjr (17)

rip in peace repl.it

dabombdgdzjr (17)

I have one! (lol i also made this)
The meme computer

A cheap rip off of this in python.

ZDev1 (187)


u forgot space fire

awesome10 (194)

awesome10: I am awesome. 10

awesome10 (194)

Discord: When you trip on a wire and "dis"cord it

9751 (19)

Eating: Consuming large numbers of calories.

9751 (19)

Who EXACTLY is Blackytheslime?

BobTheTomatoPie (972)

he broke every existing rule in repl, he got banned for like a year or something, he seems nice on discord, but everyone says he's like the devil or something @9751

HerculukeZeEpic (180)

Can you add a search for me?
also maybe for a few of my repls!

BobTheTomatoPie (972)

let me know what youd like me to write about you @HerculukeZeEpic

HerculukeZeEpic (180)

@BobTheTomatoPie HerculukeZeEpic: Epic gamer and youtuber, loves potatoes and python 3!

AlexanderLi3 (4)

Another page suggestion: Hello World (Description: Traditionally, Hello World programs are used to illustrate how the process of coding works, as well as to ensure that a language or system is operating correctly. They are usually the first programs that new coders learn, because even those with little or no experience can execute Hello World both easily and correctly.) Also this is not mines. Someone else wrote the description.

AbhayBhat (95)

COol!

Can you add me

VulcanWM (1709)

Just tell me what you want for a description @AbhayBhat

AbhayBhat (95)

@VulcanWM... IDK, lmao. I mean... how about
Java is the best!... IDK. I mean you could just do my profiles status

BobTheTomatoPie (972)

okay ill add it when im not busy @AbhayBhat

VulcanWM (1709)

Your welcome, if you have any other search ideas, let me know @AbhayBhat

AbhayBhat (95)

@VulcanWM Maybe you can create something like a... A repl.it/share search thing...

BobTheTomatoPie (972)

what would you like me to say about you, and i will add you @TheDrone7

coolplayerstoja (1)
black = "\033[0;30m"
black = "\033[0;90m"

why is black defined twice in main.py?

dabombdgdzjr (17)

I have a request!

Timmy the turtle, dabombdgdzjr's stuffed animal

idk what lol my request sucks

dabombdgdzjr (17)

wait @VulcanWM could you add the lyrics to rickroll?

dabombdgdzjr (17)

Make a search that leads to the lyrics of rickroll and they get rickrolled in text form @VulcanWM

AmazingMech2418 (655)

Uh... It's broken...

mac=search("Mac", "mac"," The best computer ever. No point arguing, you'll lose xD")

Line 48. You might want to fix that. It should be

mac=search("Mac", "mac"," The worst computer ever and just a piece of trash. Windows 95 is better than OSX. Even Debian without a desktop environment is better! EVEN DOS IS BETTER! Apple is just trash. No point arguing, you'll lose xD")
Bookie0 (2601)

no its correct donwt worry lol @AmazingMech2418

AmazingMech2418 (655)

@Bookie0 But it isn't correct. XD Apple is trash!

Bookie0 (2601)

say that again but slower xD @AmazingMech2418

Bookie0 (2601)

im really sorry, must be something buggin in my brain, did you say something about "Apple" and "Trash"? you probably meant "Apple is amazing and PC is trash" @AmazingMech2418

AmazingMech2418 (655)

@Bookie0 Apple is the worst technology company ever to exist and with its trash proprietary software and trash operating systems, and trash everything really. And stolen software and hardware too!

AmazingMech2418 (655)

@Bookie0 Yes. (Honestly, though, Microsoft has lost its mind now too, so Google is the only major tech company who still has some sense. XD)

Bookie0 (2601)

No. also google traacks loads of ur data (but i still like it as a browser xD) @AmazingMech2418

AmazingMech2418 (655)

@Bookie0 So does literally every other major tech company. XD

Bookie0 (2601)

but google the most, mostly bc many many people use it. i know loads of others do it, but google the mosts. @AmazingMech2418