Share your repls and programming experiences

← Back to all posts
ReplEngine - a repl.it search engine
BenjaminOBrien (28)

ReplEngine

a repl.it search engine


Hello fellow programmers!
Today, I showcase to you all ReplEngine, a Python-built search engine made on repl.it.

It's pretty straightforward to use, so I won't keep talking.
Feel free to drop suggestions in the comments.

:)

EDIT: Profiles and logging in are now a thing! Check it out and as always feel free to leave suggestions and or criticism.

Commentshotnewtop
CoolJames1610 (478)

I managed to break it but before that, when I clicked onto the search box - it came up with {filter: CoolJames1610} or something like that. How does it know its me?

If it's a good way of identifying who runs ur program then I'll steal it XD

HahaYes (903)

@CoolJames1610 Doesn't scratch have something like that? Like cloud multiplayer?

BenjaminOBrien (28)

@HahaYes they do however i dont know how you got that filter object :|

ironblockhd (69)

@CoolJames1610 in the headers x-replit-user-name is being sent with any request

BenjaminOBrien (28)

@ironblockhd @CoolJames1610 not with every request, only if you are authenticated somehow

awesome10 (194)

cool! how do search engines even work?? lol

BenjaminOBrien (28)

i honestly have no idea lol
@awesome10

awesome10 (194)

wait then how did you make this? im too lazy to look in the code XD @BenjaminOBrien

BenjaminOBrien (28)

@awesome10
lol mainly it just fetches a google search and analyzes the results

CSharpIsGud (436)

@awesome10 @BenjaminOBrien Search engines use web crawlers to find results, basically it starts with a set of websites and makes requests to them, then it adds whatever links to other websites it finds to its list of sites to visit next and maybe take out some common keywords people might use to find it or something for searching.

Crcoli7307 (28)

Something tells me that this post is severely underrated. Does anyone else agree. This took a lot of work to make and only has 9 upvotes.

And BTW this is my new search engine.

BenjaminOBrien (28)

@Crcoli7307
it did take a lot to make but i dont mind
im just gonna keep working

thanks a lot though :)

Crcoli7307 (28)

@BenjaminOBrien would you mind putting like a go to forum post button that links to here? https://repl.it/talk/share/ZealousOS-v120-Reimagined/39967

BenjaminOBrien (28)

@Crcoli7307 i started it today :|
inspired by yours but with a more bash looking terminal

Crcoli7307 (28)

@BenjaminOBrien You sure you didn’t plagiarize?

BenjaminOBrien (28)

@Crcoli7307 lol im 100% sure bc i made it all today
so if anything seems copied then let me know :|

Crcoli7307 (28)

@BenjaminOBrien This is impressive. I ran a plagiarism check (to make sure you didn’t cheat. I had a guy that stole someone's software just to get into ZealousOS, he failed.) So the code passed it. Did you want to make this ZealousOS v3.0.0?

BenjaminOBrien (28)

@Crcoli7307 if you want to then you can :)

Crcoli7307 (28)

@BenjaminOBrien Ok. So send in your application. I’m about to go to bed so you have until around 10 AM (EST US & Canada) to make any updates that you would like. Once I approve you. You will be considered a ZealousOS Developer. Ok? (P.S. Make sure that you can be active on updates for the Software. And you will be considered part of the ZealousOS team once your application is approved.)

BenjaminOBrien (28)

@Crcoli7307 i already have submitted my application a few hours ago

im legit like 100% active every day so i would say no problems there ;)

Crcoli7307 (28)

@BenjaminOBrien Ok. I’m on my phone so I’ll check the application on my computer tomorrow.

Crcoli7307 (28)

@BenjaminOBrien Did you want to make any updates to the software before it is released? Dang maintenance.

Crcoli7307 (28)

@BenjaminOBrien Did you plan on deleting “LiteOS” once it’s changed to ZealousOS v3.0.0?

Crcoli7307 (28)

@BenjaminOBrien I' getting ready to download the .zip to upload. Is everything set up?

BenjaminOBrien (28)

@Crcoli7307 yup im here just woke up sorry
by the way im in CST

and everything is ready to go :)

Crcoli7307 (28)

@BenjaminOBrien :) :) :) Ok. Its up and running!

BenjaminOBrien (28)

@Crcoli7307 lol the size of this comment chain

BenjaminOBrien (28)

lol someone searched for depression

BenjaminOBrien (28)

@Crcoli7307 lol when i saw google pop up i checked my upvote count

BenjaminOBrien (28)

@Crcoli7307 uh my stupid error handler broke
should be back up in a minute

Crcoli7307 (28)

@BenjaminOBrien Oh lol. Would you do advertising for Repls?

BenjaminOBrien (28)

@Crcoli7307 i mean its a good idea lol
i might.....

btw its back up :)

BenjaminOBrien (28)

@Crcoli7307 oof i got rid of my print statement
research it now :)

BenjaminOBrien (28)

@Crcoli7307 sure ill advertise (nice method lol)

BenjaminOBrien (28)

@Crcoli7307 give me a repl link and i will gladly advertise

Crcoli7307 (28)

@BenjaminOBrien Thanks! V1.3.0 Will be coming out here soon so keep an eye out.

BenjaminOBrien (28)

@Crcoli7307 idk man but im redesigning advertisements

Crcoli7307 (28)

@BenjaminOBrien Sorry bout that. The login script disappeared. I got the script off my backup. It's working again, I just tested it.

BenjaminOBrien (28)

@Crcoli7307 by the way, like the new ad style?

Crcoli7307 (28)

@BenjaminOBrien What should I add in ZealouOS v1.3.0?

HahaYes (903)

C++ is better for engine dev

BenjaminOBrien (28)

@HahaYes probably is, although i've never tried it :|

Thecrowbar1234 (146)

bruh i would like to know how render_template works

BenjaminOBrien (28)

@Thecrowbar1234

from flask import Flask, render_template

app = Flask(__name__)

@app.route("/")
def index():
  return render_template("index.html")

app.run(host = "0.0.0.0", port = 8080)

then just make a "templates" folder in your root directory
then add a index.html file into that templates folder

hope it helped :)