Skip to content
Sign UpLog In
Profile icon

YodaLightsabr

Hacker
@YodaCode
👋 Hi there!
GitHub
Website
  • @YodaCode-3

    Cover page
    Made with HTML, CSS, JS
    Recent comments (2)
    ContourLines
    ContourLines
    1 year ago

    Hey Yoda, I've been using RobinDB for a project (really intuitive and fast ngl) and out of interest, is it possible to find the DB file in Replit? Would be helpful for quickly resetting it.

Repls
Community
YodaCode
YodaCode
published a Repl
1 year ago
1
politelang-starter
politelang-starterPolitelang Starter
YodaCode
YodaCode
shared a Post
2 years ago
EasyJS is a JavaScript framework that allows you to add server-side JavaScript code to each page without maintaining a long and confusing index.js fil
EasyJS-Template
Node.js
RoBlockHead
RoBlockHead
This is a really cool concept! I love the inspiration from PHP (hopefully not as insecure 😆)2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
🎨 CommunityDraw A public drawing board that uses the new .draw feature in Repl.it. Download and upload your artwork from the public server and see ho
DrawClient
Node.js
YodaCode
YodaCode
shared a Post
2 years ago
No matter what port I try to make my HTTP server listen to, it throws this error: events.js:292 throw er; // Unhandled 'error' event ^ Er
Pankak
Pankak
kill and restart your server, this happens when you try to start a server twice. If not, you will need to share your code. > This appears whenever line 279 of my index.js is reached No thats events.js, which has nothing to do with your index.js, thats just a handler as part of node2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
EDIT: This is a replit IP ratelimit. nothing you can do So I have a Discord bot, and it's been working just fine. I've had it running for 28 days now
YodaCode
YodaCode
Solution Don’t run two instances of your bot, first of all. Discord.js won’t be able to communicate ratelimits across the instances. Secondly, you’ll want to kill the bot’s repl container when there’s an IP rate limit from discord. Something as simple as listening to the client’s debug event for “429 on /client/login” or something, and then use the child_process module to run the “kill 1” command.1 year ago
aspect30
aspect30
same1 year ago
santigo171
santigo171
Same2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I have a regular MP4 video that I want to distribute to viewers. Instead of being visible all at one, I want it to be as if the video is playing in re
Baconman321
Baconman321
Maybe this can help you: https://medium.com/swlh/building-a-video-streaming-service-in-javascript-7f751fe76564 If you don't have medium premium, you can also do: https://developer.mozilla.org/en-US/docs/Web/Guide/Audioandvideodelivery/Livestreamingwebaudioandvideo2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I have a multiplayer repl with 3 people on it. When it's just me online, sometimes it says 1/1 online and sometimes it says 1/3 online. What's the dif
RYANTADIPARTHI
RYANTADIPARTHI
it's basically like how many people are online. so say in a team there are five people. and al five people are online. it gives 5/5 now, if someone leaves, it gives 4/5 and if you are the only one, it gives 1/1 sometimes, 1/5 that's because, at that point, you joined after a long time, and none of them are online, which is why you get 1/1 but you get 1/5 if everyone just left. and you are the only one. and so on.2 years ago
realTronsi
realTronsi
I don't know anything about this, but my best guess is that it's out of all the online users (so if all three are online and only you are on the repl, then its 1/3), but please do let me know if someone else answers as I'm curious too.2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I made a Discord bot called ThunderBot. DM me on Discord if you want the source code; I don't want it publicly available. https://discord.com/invite/p
TsunamiOrSumth
TsunamiOrSumth
Nice! loved the bot website2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
i guess i'm just following the trend of real fake 3d or whatever
3d but its fake or whatever
Python (with Turtle)
MarcusLee
MarcusLee
I can't test it but I trust that it's good.2 years ago
TsunamiOrSumth
TsunamiOrSumth
private2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
CLI for Node.js CLI for Node.js is a simple script that you can add to your projects. It is mose useful for servers, because it allows you to monitor
CLI
Node.js
BD103
BD103
Cool! Makes me wish I was good at node, though... :) I have some ideas for the chat server thingy. Tell me when you're ready. :D2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
Is there a difference between using MyRepl.yodacode.repl.it and MyRepl--yodacode.repl.it? Thanks!
Coder100
Coder100
No difference, but the -- is used for the embed (in the codespace), and the . is for sharing2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I have a project going on and I would like to be able to access a database. Since it is entirely front-end, I want a place to be able to send data to.
Coder100
Coder100
Depends on how frequently you use it. For your chat application, definitely use websockets, but if it's something less common, like a forum, use HTTP (AJAX).2 years ago
realTronsi
realTronsi
you need a backend for accessing a database, an entirely frontend application with a database is not feasible2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
I think if you are using repl.it for this, use the repl.it db2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
Why am I getting notifications in the future? https://what-the.yodacode.repl.co/image.jpg
TsunamiOrSumth
TsunamiOrSumth
🤔2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
This happens all the time, and I hate it, but sometimes people will make their answer with the "#" markdown so that it stands out, and it often gets m
Bookie0
Bookie0
hello dear friend it’s allowed ofc! *but you shouldn’t do itb as many members of the community frown upon it now remember to mark this as correct!!!!!!!!! Have a great day my friend! :) ;) =) :D :P 2 years ago
BitanyaGebrtsad
BitanyaGebrtsad
yes, it is but it is kind of "i am so good just me" so its not favored2 years ago
InvisibleOne
InvisibleOne
No, it isn't illegal, but it's kinda scummy2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I’m making a chat platform using Node.js and Socket.io. I wanted to see if anyone was open to collaborating. No, this isn’t some simple chat platform
y33t3rs0n
y33t3rs0n
ye ill join2 years ago
AnthonyMouse
AnthonyMouse
Sure!2 years ago
ElijahNarvaez
ElijahNarvaez
This is probably a no, but can i watch you guys make it?2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
I can't figure out how to import a module into Node.js. In a normal environment, you would just use npm install, etc., but in Repl.it, I can't figure
RYANTADIPARTHI
RYANTADIPARTHI
I think you can install this by opening the shell, and installing whatever you were. Just use CNTRL + SHIFT + S. That opens it, then just put your npm installation. in there.2 years ago
YodaCode
YodaCode
@tsunami21, @RayhanADev: I've worked with you recently on a Node.js project, how did we import modules then?2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
ElectionStats An open-source election stats landing page. Visit website >> This was made with tender loving care and without any bias to any politica
ElectionStats
Node.js
YodaCode
YodaCode
Wow! @[email protected] Look at my upvote count!2 years ago
TsunamiOrSumth
TsunamiOrSumth
@YodaCode how did you get the web.app agian?2 years ago
TsunamiOrSumth
TsunamiOrSumth
hahaha yes the plug worked2 years ago
YodaCode
YodaCode
shared a Post
2 years ago
A way to get a web server up and running, quickly. It includes a static hosting folder, a bash file for importing modules, and a node.js file for opti
Quickstart Webserver
Bash
Coder100
Coder100
nice btw next time don't delete your questions, they are references for future people!2 years ago