1
politelang-starterPolitelang Starter
77
0
1
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
Node.js
RoBlockHead This is a really cool concept! I love the inspiration from PHP (hopefully not as insecure 😆)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
Node.js
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 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
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 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
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 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
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 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 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
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
i guess i'm just following the trend of real fake 3d or whatever
Python (with Turtle)
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
Node.js
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
Is there a difference between using MyRepl.yodacode.repl.it and MyRepl--yodacode.repl.it? Thanks!
Coder100 No difference, but the -- is used for the embed (in the codespace), and the . is for sharing2 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 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 you need a backend for accessing a database, an entirely frontend application with a database is not feasible2 years ago
Why am I getting notifications in the future?
https://what-the.yodacode.repl.co/image.jpg
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 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
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
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 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 @tsunami21, @RayhanADev: I've worked with you recently on a Node.js project, how did we import modules then?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
Node.js
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
Bash
Coder100 nice
btw next time don't delete your questions, they are references for future people!2 years ago