0
torA tor/onion/"Dark Web" website demo on replit lol.
This is a demonstration of how you can easily run a tor website on replit. simply use the tor nix package and feed the port of an http server to allow for the creation of a tor website. Note that your pub/priv key will NOT be hidden. You can mitigate this by automatically creating a folder in the /home/runner directory outside the editor view which would be replaced every time the repl moves so you need to autmoate folder creation. Finally, you can create a "Onion-Location" header to display to tor users that there is an onion site! You can automatically fetch your tor url through a backend language such as nodejs as a file is created with the tor address.
DO NOT USE THIS FOR MALICIOUS PURPOSES PLEASE
42
1
0
6
ObbyAn obby game where you have to escape!
356
19
6
6
ObbyAn obby game where you have to escape!
🔴🏃♂️ Escape Elmo | An Obby Game 🏃♂️🔴
Wow its been a long time since I posted. Shout out to the people who remember I exist.
Anyways, about a year ago, me and @dakshg made another game after our very succesful Console Chess game in java. So we started working on this, and we finished it, months ago. The plan was to share it but I simply forgot. But anyways, without further background info, here is Escape Elmo | An Obby Game
Escape Elmo | An Obby
EEO (Escape Elmo Obby) is an infinite Obby runner game where you have to go as far as possible jumping platform to platform. There are multiple challenges and perks to spice up your game.
Controls
Your typical video game controls
W - Forward
A - Left
S - Backwards
D - Right
Space - Jump
Use your mouse to look around (Click on the screen for pointer lock)
⚠AS POINTER LOCK IS REQUIRED, THIS DOES NOT WORK ON MOBILE.⚠
Platforms
You spawn in facing Elmo, and arrows gesturing you to turn around. Elmo is arriving, more than ready to eat you. You turn around as you notice you start off on a flat platform. The platforms in front of you are tilted in various orientations. After a while you begin to see rotating and moving platforms. There are aslo disappearing ones.
(TLDR):
Stable
Rotating
Moving
Disappearing
Powerups
There are various powerups in the game to help you
White Powerup - This powerup scares elmo and sends him farther back and away from you.
Yellow Powerup - A speed powerup, lets you go faster
Purple Powerup - A jumping powerup, lets you jump higher
Red powerup - A FLYING powerup. When you get it, you will starrt to go up automatically, and you better go forward.
Easter eggs
There are two easter eggs in the game. Hints are
Behind
Fall
Leaderboard
There is a leaderboard for replit users! Simply go to /leaderboard. If you are logged in, your score will automatically be added
THE CODE
The code is terrible, especially the backend. Please dont try to break it lol please.
But anyways.
The backend - NodeJS with express and repldb
The frontend - Vanilla HTML (ejs for templating engine) with Vanilla CSS
The JS uses the browser canvas API as well as Three.js
Final Thoughts
I honestly probably forgot something while writing this. If you believe I forgot to mention something, tell us in the comments.
Also, if there are bugs, we WILL NOT be fixing them. This code is far too old for us understand and it is not a project we want to work on anyways.
Github
Oh yeah, theres a github repo for this, go star it: https://github.com/EpicGamer007/Obby
So yeah, have fun :)JWZ6 @EpicGamer007 I remember you
used to have a wolf pfp and made a working chess java (i forgot the language) thing and a tutorial on java1 year ago
EpicGamer007 @JWZ6 I did the last two things but I did not have a wolf pfp lol. GJ, I believe u used to have a cat pfp or sumth idk but i remember u :)1 year ago
356
19
6
Through my experience on replit, I have noticed that file databases generally do NOT work and have not worked. Apparently, guest repls are kind of lik
Highwayman it your file db being used in a server? sure, yes, that's still you're repl doing stuff to itself on your account. is it a client program using a db? no. that's not gonna work cause it'll save in a random place that isn't your real like you said.
I would be interesting to see an sql api made for repldb or something.2 years ago
206
I have two questions about replit in general.
For "repls" hosted on replit, are you allowed to make money/monetize off of it? Specifically, using ads
Coder100 step 1: make ur repl private (then you can make it any license)
step 2: don't post it to talk (duh)
step 3: make sure ads are all tos compliant
and you will be fine.2 years ago
xxpertHacker If the TOS doesn't deny it, technicially it allows it?
(I take no responsibility for any consequences received for following this logic)2 years ago
robowolf To question 2 I think you can use a different license. The MIT thing probably applies to those without licenses. For question 1 idk why i answered this second probably not without repl getting something. I mean you are using repl as the hosting/compiling site so if it even is allowed to monetize things repl probably should get a share. I can't confirm 100% but Im just using common knowledge.2 years ago
I am following the quickstart guide to Spring. I followed it (almost, I changed group and artifact ids) exactly like it says, however, whenever I go t
JShort
I am sure many of you have heard of expressjs. The majority of people who I know knows js have probably used it. I know I have. And I also kno
Java
RayhanADev it isnt very secure and is susceptible to spam, but please dont spam it.
\>:)
Nice one, this is really kewl!2 years ago
5
Basically the title.
I tried to add caching to my Java replitdbclient and I tried it out and it seems to work fine, but at the moment, I am not that
24
HackTalkHackTalk is a place to ask coding questions! With markdown and replauth. Created by @EpicGamer007 with A LOT of help from @19wintersp and @xxpertHacker with some other security fixes by @AmazingMech2418 and @programmeruser
560
54
24
AmazingMech2418 Just crashed it by changing the form action to a non-existent question. LOL!2 years ago
This is a super simple screen recorder made with WebRTC
I used the share screen feature of webrtc to record a screen, then I display the video and ma
HTML, CSS, JS
Ok, so i was hoping to get into WASM using java. I found this really cool package called JWebAssembly. I tried it before but I got confused and stoppe
xxpertHacker Were you able to get their hello world example working? It might be best to start with that, as that's what hello world programs are for: to make sure that the environment and compiler work correctly.2 years ago
Basically the title. I tried searching but with no luck :(.
At the moment, you can only logout if the client clears the REPL_AUTH cookie but i was ho
xxpertHacker RIP, looks like your bad luck streak is only starting, you didn't get many answers, huh?2 years ago
For the url for repls, you have special links such as
__repl
__logs
__tail
I was wondering, is it possible to remove these from the .repl.co sites?
My question is exactly what the title says.
"What is the "right" way to organize a nodejs app"
I have been seeing so many different ways of organizin
SameeraMurthy Your current file structure is very neat, but I would suggest that you make a routes folder, and put your routes in it. Another thing you could do is create an src folder, and put everything in other than your npm files. And as other people have said, there is no right way of naming folders.2 years ago
19wintersp There's no "right" way of naming folders, in the same way there's no "right" way of naming variables. There are admittedly better ways, bad ways, and conventions, but there is no "right" way. Your current layout looks fine, though I'd personally put every static file/folder in the "static" directory.2 years ago
So I am working on this litte project and I want to try using sqlite3 on replit and I want to create my own signin system rather than replauth or some
19wintersp For a rate limiter, store the last access time of a particular session, and on each access, check the time between now and that point. Deny access if below a threshold, and update the last-accessed time otherwise.
I don't think there is a library for SQL Injection: it's quite simple to prevent. Here's some information
Using the default Helmet protections should prevent against iframing and should sort out CORS for you. If you want to modify any of the CORS settings (you probably don't need to)2 years ago
Its replit.com now. :(
image
(Also, this is kinda off topic so mods, feel free to take this down if u want).
I am just curious, why remove the .it
LoveFromSkyy Well, you can still use repl.it as the domain if you want. It will just take you to the home screen. If you use replit.com typing out urls will take longer and some getting used to it.2 years ago
I know this isn't coding related so mods, feel free to take this down if you feel like it.
So anyways, whenever i go to repl talk these days, I can't
tussiez This most likely is the logout image being used:
image
It hasn't happened to me recently though, but this may be because I set up a filter in uBlock that stops repl.it/logout from loading2 years ago
k9chelsea2 has happened to me a couple times with the whole logout image thingy and once out of nowhere. Sometimes when i go onto repl in the mornings im logged out when i didnt log out, but to be honest i have no idea why this happens -_-2 years ago
RYANTADIPARTHI few things are because:
log out image
accidental repl log
aftermath of log out image
after you see a logout image, you get logged out. Even when you log back in, you get logged out a few more times.
sometimes repl logs you out for no reason. It's just the server issue.
last problem could be a bug. Might want to report this. These could be the causes.
https://repl.it/bugs.2 years ago
Repldb is amazing. it is completely free and integrated into repl. the problem though is that repl db has some values which it cannot parse, etc which
AmazingMech2418 If you're referring to Repl.it's Node implementation, it uses JSON. It can't parse a JSON input that isn't JSON. Try just using @coder100 's implementation or make your own! Also, you can use encodeURIComponent and decodeURIComponent to sanitize different characters!2 years ago
19wintersp I think it might just be a bad client which isn't URL-encoding characters. Here's my results, with the input character on the left, and what each client put it in the DB as:
| Character | @replit/database | replitdb-client | better-repldb |
|-----------|--------------------|-------------------|-----------------|
| a | a | a | a |
| / | /* | /* | / |
| % | (failed)* | (failed)* | (f2 years ago