3
Replit Discord BotA Discord Chat-Bot on Replit!
121
2
3
Is there a way to set a node.js and/or a bash repl so it will only let specific sites put iframes of my repl site?(with Allow-From)
I've seen it be d
I basically just want to redirect the user to a different site based on the url (or query)parameters but I have no idea how.
If the url is https://ex
Coder100 sure, its easy in js
app.get("/redirect", (req, res) => {
res.redirect(req.query.link);
});
but this only assumes that the user actually created a ?link query.2 years ago
Is there a way to only display the output of a (bash) repl?
(Don't show code or console, only output)
Thanks in advance!
Coder100 given a repl:
https://replit.com/@Coder100/Coder100
it can be made outputonly
https://replit.com/@Coder100/Coder100?outputonly=1&lite=1
well sort of, the terminal will also show, but that's a convenience in my book.2 years ago
TheBest156 If the command is run from a terminal, you can do:
VAR=$(svn checkout $URL | tee /dev/tty)
2 years ago
A 404 page template to use on your websites!
Note:
The 404 page is index.html - just rename it to 404.html and use it in your sites!
Also, you can set
HTML, CSS, JS
5
Gradient 404 PageA Gradient 404 page template to use for your website.
Please read README.MD!
133
7
5
TheBestTaran 404
Page Not Found
Sorry, the page you are looking for doesn't exist. this is it??1 year ago
I was just thinking, and I am wondering - (In Node.js) Is it possible to console log from one repl and have it log in another repl instead? (Basically
Coder100 well, yes but actually no?
you could make an HTTP server on the target repl, and it logs whatever you send it
and on your reply with the logs, you can make a request to that server.2 years ago
0
SomethingIt is something.
0
0
0
What are some cool sites and/or repls and/or games you all have made?
(Basically self-promotion, I'll mark the one in my opinion that I think is the b
Retrospicer @FloCal35 @EdwardBentler
Here is a 404 page template I made recently
https://replit.com/talk/templates/HTML-404-Page/1386182 years ago
firefish I'm currently making a social network, and well, it works-ish. https://www.replit.com/@firefish/prism2 years ago
btfuss I'm developing a massive site, but that's gonna take a while unless somehow I can host a node.js server infinitely for free, so here is something else cool: https://replit.com/@btfuss/COVID-Visualizer
> what can I say except, I'm broke and can't afford the hacker plan (in the tune of you're welcome)2 years ago
I want to have a lowdb Json database and in it I want to be able to get all the "urls" and list only the 'slug', the 'url', and the 'stats' for each a
xxpertHacker You didn't specify where you wanted the output to be, so I'll assume that you want to modify the HTML document, so for that you'll need to use the DOM, which is an abstract document object: https://developer.mozilla.org/en-US/docs/Web/API/DocumentObjectModel/Introduction.
I'll create a list of an HTML structure like the following:
Slug: json["slug"]
URL: json["URL"]
Stats: json["stats"]
const { document } = globalThis;
// Helper function
function createparagraphwith_text(text) {
co2 years ago