Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
19

Cactus URLs

CodingCactus
CodingCactus

Hi!!!

Continuing down my journey of flasky stuff, here is a nice and simple url shortener/disguiser thingy.

Example: https://url.codingcactus.codes/3

Have fun, hasn't been tested much so please tell me about all the bugs there will be

Thanks, have a nice day

2 years ago

Voters

Comments

TopNew
3
3
CodingCactus
CodingCactus

@FishingFights
yay thanks!

2 years ago
3
dabs364
dabs364

ERROR
"No Module Named replitdb"

2 years ago
1
CodingCactus
CodingCactus

@dabs364
hrmm odd, looking into it

2 years ago
1
CodingCactus
CodingCactus

@dabs364
should be fixed, dunno what happened there

2 years ago
1
gibbsfreenergy
gibbsfreenergy

Can I ask you a really dumb question? How do you use the files thingy on the left. I've never used it before, like you can put an '.md' file but what others can you put?

Sry abt this btw!

2 years ago
1
CodingCactus
CodingCactus

@JosephSanthosh
erm you can put your files there

2 years ago
1
VivaanSa
VivaanSa

@JosephSanthosh
you can put .htm, .html, .xht, .xhtml, .xml, .js, .md, .py, and a b u n c h m o r e

2 years ago
1
gibbsfreenergy
gibbsfreenergy

What does this do?

2 years ago
1
CodingCactus
CodingCactus

@JosephSanthosh
ERM have you read it? It is pretty pointless but basically, you give it a URL and it gives you a URL that you can use to get the URL that you input

2 years ago
1
zplusfour
zplusfour

I suggest make another input that manages the slug
not a random slug
I can use it with nodejs, it named slugify

2 years ago
1
zplusfour
zplusfour

@CodingCactus
you don't know what is the slug?

2 years ago
1
CodingCactus
CodingCactus

@ZDev1
you gonna explain?...

2 years ago
1
zplusfour
zplusfour

@CodingCactus
slug is those:
image

things in the url, like https://url.codingcactus.codes/3 so 3 is the slug!

2 years ago
1
CodingCactus
CodingCactus

@ZDev1
ok, so with regards to the original comment, it is not a random 'slug'

2 years ago
1
zplusfour
zplusfour

@CodingCactus
yes we need to make a new input to let the user to choose his slug

2 years ago
1
zplusfour
zplusfour

@CodingCactus
but the problem is I don't know flask a lot

2 years ago
1
CodingCactus
CodingCactus

@ZDev1
why should they be able to choose their own? things like tinyurl.com don't.

2 years ago
1
zplusfour
zplusfour

@CodingCactus
ok that's your opinion!
I just gave you an opinion ;)

2 years ago
1

@ZDev1
it's a url shortener, its already longer than many urls like this, it will be longer than 99% of all urls if he does that

2 years ago
1
BlueAsteroid
BlueAsteroid

None of my URLs work it just says that it refused to connect

2 years ago
1
CodingCactus
CodingCactus

@BlueAsteroid
sounds like an issue with you?

2 years ago
1
BlueAsteroid
BlueAsteroid

@CodingCactus
Never mind i got it to work, my Wi-Fi was just really bad

2 years ago
Load more