Hey guys ClearCode.tk Gen 2 is out. @Theboys619 and I made it, and it is a lot like repl.it.
There is no upvote system tho, so yeah
Wow. I am impressed. Great job! I'm gonna use this a ton LOL.
When we release the third generation it'll be a lot better lol. If you want you could join my discord server for more info on that. @HeadSucksAtLife
Send the invite lol @RohilPatel
why does that invite look sorta like "hackcer" lol @HeadSucksAtLife
- XTerm is terrible
- the pages are slow to load
- the CSS needs to be fixed up
- the server can be fixed up
- ...
Lol, this is garbage; need some help?
Yeah, first get on discord bud @xxpertHacker
@RohilPatel I deleted my Discord account... it's a looong story.
Kinda sad, I was leader of a 500+ person server :(
Are u gonna get discord then? Tell me the long story! @xxpertHacker
@RohilPatel It's also a story that should be publicly spoken of, and no, I don't have a phone for the time being either, thankfully I still have a computer capable of running Repl :)
Did u lose ur phone cuz u did something bad? Will u get ur account back? @xxpertHacker
I invited u to a team @xxpertHacker
@RohilPatel As I said, it'll take some time to explain the details, but the account deletion was intentional. So... it's gone, like forever.
@RohilPatel Cool, thank you.
Really? It says I've friended u...tell me, though, what happened on that repl I sent you @xxpertHacker
@xxpertHacker hi, try to be more constructive in your criticism rather than just saying it is terrible
No no he is good! I know him and the way he does it, and I know he was joking to an extent @CodingCactus
@CodingCactus Cactus, to a major degree, it was more of a joke, since Rohil and I often work together. Trust me, I would never go out and randomly say something like that to hurt someone, I oftentimes would be constructive.
Also, I upvoted it regardless.
But this actually can be improved quite a bit. It definitely needs something unique, there's currently no reason to prefer this over Repl.
eggzactly @xxpertHacker
@mememanhimself hey there! someone told me about how you like nodejs, and html5!! i would love to do a collaboration with you.
@RohilPatel ...hi?
uh why did you mention me...
i was told that you like nodejs and html!! wanted to see if you were interested in making a repl with me @MemeManHimself
@RohilPatel sure? what would we make?
well something in nodejs @MemeManHimself
@RohilPatel lol I'm only decent in JS with the https://khanacademy.org API :/ I usually just stick to HTML/CSS and a little JS.
ok! any ideas on what to build? @MemeManHimself
@RohilPatel Hmmmm...
@RohilPatel Idk. Maybe a Discord bot?
sure, sounds like something we could do @MemeManHimself
@RohilPatel Ok. Template or no template?
@RohilPatel I'd go with the template tbh
I'ma just invite you to a repl lol
ok lol sounds good @MemeManHimself
@RohilPatel Ok I invited you now
@RohilPatel Did I upset you?
Oh no, I just had to go! I'll be back soon, I got a bit of a headache @MemeManHimself
@RohilPatel Oh, ok. Lol kinda seemed like it from my point of view. People get mad at me for being talkative, and I try my hardest not to bug people. Won't be able to do anymore today, I don't think. But I'm open 3:00 usually!
What time zone? Also I am very talkative too, so ur good @MemeManHimself
@RohilPatel um (GMT-5) we are in central daylight time so I think CDT
@RohilPatel I'm open for a bit rn. You?
Yeah sure why not @MemeManHimself
@RohilPatel oof too late
@RohilPatel what time is it for you right now? for me it's 7:50.
@RohilPatel oh nice. I got until 8:30. wanna work on the bot?
I can't got some hw todo @MemeManHimself
@RohilPatel our bot ain't workin' anyways
lol lol @MemeManHimself
@RohilPatel also I'm on my school account rn so discord is blocked lol but I do have my tablet.
And I have a 2 hour lunch for some reason XD
Lol, I just posted this: https://repl.it/talk/share/Indefinite-Clicker-Pro/53943 @MemeManHimself
Theboys619 has -99999 points!
Then how is he 3rd on the leaderboard lol
@Leroy01010 yes i do lol
@Leroy01010 It's TheMemeManHimself.
Link: https://www.khanacademy.org/profile/TheMemeManHimseIf
ree lol @MemeManHimself
super nice, but could u add python and java?
Hmmmm.... We Couldn't Reach Your Repl
Make sure your repl has a port open and is ready to receive HTTP traffic.
Return to Repl.it?
@sojs , same.
yeah oof. @EpicGamer007
cooollll!!
WOW, nice job!
i let it run for like maybe a half and hour and thats all it did @Programmer567
Doesn't work..sadly :(
#doesnt work for me
Yo, that's really good. I did a little test, linking to my actual website, and it seems to work! The design of the editor is also really nice, but I think there should be some kind of file navigator so you can create and link different files to clean up your work a little bit and have multiple webpages.
So... still don't need any help? I've got some time this month to code, and no personal projects to do (okay, there's one).
Yeah fix all the errors I invited u @xxpertHacker
@RohilPatel Cool, I'ma check it out, I see misuse of fs.unlink
already...
@RohilPatel How did you maintain such a massive (mildly disorganized) project successfully for this long?
@RohilPatel How about, I do the front-end, while you two handle the backend?
Recently, I've been working on a web-based editor that uses some of the most bleeding-edge tech available to a browser, which might be useful here.
Ree, as long as u don't use xhtml @xxpertHacker
@RohilPatel Pure XHTML :)
Noooooo, I don't get syntax highlighting @xxpertHacker
@RohilPatel Wdym? For what? Where? On Repl? When?
... yeah @xxpertHacker
@RohilPatel Just use XML highlighting, it's better than HTML highlighting.
@RohilPatel Example of XML highlighting: https://repl.it/@xxpertHacker/G-Text-Editor#index.xml, it works just fine.
I'm thinking a mix of that Repl along with my old garbage HTML editor over at https://webdevide.xxperthacker.repl.co and with the integrated updated code from https://ioTest-1.xxperthacker.repl.co.
Maybe there's something to gain from https://js.xxperthacker.repl.co?
To top it all off, I could probably implement something like a light-weight, simplified version of https://webassembly.github.io/wabt/demo/wat2wasm, running in a worker thread.
Thinking about it, tbh I'd probably just make my own server with Deno or Actix in Rust...
YAY! NODE :). But get the server up. Here is a thing to keep it alive without it going to sleep
@sojs , you could also use https://ping.matdoes.dev/
It's not it being down, like that, there is an error @sojs
It's down.
(On mobile, can't provide screenshot atm)
@oignons Update: Still down. Please fix.
@oignons Still down.
add syntax hihglighting
There is still a way to bypass the security:require('child_process').exec('cd ../../..;ls', console.log);
@ASTROIDE Yeah, I noticed that too
Hello. I can't click on my projects. Is it supposed to be that way?
a bug happened, just wait while we fix this! @aguy11
The IDE needs to be cleaner
It should also have a user friendly UI.
The system doesn't have a proper database so making a username is a little bit useless.
I will give you props for the design though.
The terminal is a little buggy and needs a little work.
Also, the 'current' file is a little odd.
You say it's; for instance; '/script.js'
You could just say: 'script.js'.
Sorry if I'm being nit-picky, but when you make something like an IDE,
it needs to make itself stand out VS others.
You have the general idea of a basic IDE, but it really is no
different from a lot of them.
Maybe try making it more creative and generate some new ideas that haven't been used.
Great work though!
Thank you! I prefer to use /index.js because it's sometimes useful @RayvelArjoon
@RohilPatel It's not really that useful. The 'slash' is used to show a file directory/path. You are in a file on its own so using file.js instead of /file.js is a lot better. The slashes are only useful for:
C:\users\rayve\OneDrive\Documents\example.js
It's better than "../x/feet/eriifidgef/index.html" @RayvelArjoon
@RohilPatel Why is there a folder named feet?
@AmazingMech2418 Well, I must give you credit for not using eval
! LOL! This is not much better though...
@AmazingMech2418 Sorry for the typo in the .replit
file! LOL! I'd recommend not putting back up the server until fully secured. Someone could modify all of the code to make it into a malicious website... Or someone could delete all of your work...
@AmazingMech2418 Me shutting down the website is honestly doing you a favor. Someone else could literally delete all of your code with this...
@AmazingMech2418 It's better now, but doesn't work if you try to run the project. If you would like, I could help with the security stuff!
I don't know if its fixed or if it works well. See if you can find more vulnerabilities. @AmazingMech2418
@Theboys619 You can still shut it down with the following code:
echo "run=\"bash\"" > ../../../.replit
kill 1
kill 0
Are you just doing cd .. ; cd .. ; cat > .replit
? @Theboys619
@Theboys619 Please let me know when it is back up so I can test two more things to check and make sure everything is sandboxed correctly.
It's back up @AmazingMech2418
@RohilPatel It seems broken... I can't access any projects...
@RohilPatel @Theboys619 Let me know when this has everything up again... I can't test the two possible vulnerabilities if I can't make a project with it. LOL!
@RohilPatel I tried forking it since it is down and it seems like it won't load Monaco... Also, file IO via the command line is important, but the functionality has been removed. Try sandboxing it instead...
Check out the hacked.txt
file... This is like the most vulnerable thing in the world...
@Theboys619 AmazingMech2418
@RohilPatel I just made it into a Bash terminal. LOL!
@RohilPatel Sorry, but I just shut down the server...
for some reason when i try to enter my project i just created it sends me back to the projects page
lol wat
let me try again
@RohilPatel
ok lol i could reset the server if u want @potatojs
k reset @potatojs
ok thanks i'm gonna try again
@RohilPatel
@RohilPatel
it didn't work :(
so i checked the console and i got those errors
@potatojs @Theboys619 did someone bypass the file somehow?
idk btw does the app work for you?
@RohilPatel
There is no way RN that checks if a user exists already. So sometimes when there is more than 2 users in the db it gets a different one. That one will have a different ID than the one you made. Also that was just a CORS issue I forgot to fix. This is really buggy and haven't worked on it in a long time. @potatojs
this repl is really close to trending @Theboys619
It's even more buggy because of the DB being on a seperate repl. So if that repl goes offline, which it often does, it will break the entire website. Defintely should've used MongoDB or Repl's DB. @RohilPatel
lol why you didn't?
@Theboys619
I was just trying to get everthing to work before fixing vulnerablities and naming issues. @potatojs
ok...i thing that make sense
@Theboys619
I actually never even finished or fixed bugs. I stopped working on after a while. This project is pretty old. @potatojs
how do you import the monaco editor
Download @nk1rwc
@RohilPatel got the package in html repl
Hey @RohilPatel, this is awesome! How long has it taken you do this and what are you using for the back-end?
Nodejs and about 2 weeks. Just decided to let this wait @rjlevy
@RohilPatel that's impressive. What kind of database are you using?
@RohilPatel thanks. Sorry for all the questions but I've been looking for a backend solution on repl.it for a while and have only used Google Firebase.
I'm not sure what you mean by JSON. Are you using MongoDb? I'd love to know how you're storing data on the backend. Thanks 😊
String.fromCharCode(
(typeof typeof 0)
.charCodeAt(3) - 1)
.toUpperCase() +
(typeof 0)[4] +
(typeof true)[3] +
(typeof true)[3] +
(typeof true)[2];
@RohilPatel can i write python code here? or any other language? if yes then how?
this is just like repl.it! impressive!!!
Thank you! @ByBolawa
project is offline ;-;
It's on now @ByBolawa
Better now? @Bookie0
nice work! @RohilPatel
Thanks a lot! @Bookie0
np :) @RohilPatel
@Bookie0 just go to https://clearcode.tk
thanks @VivaanSa
@Bookie0 good