Okay so! I finally finished the site, and it is live at the moment, so I thought "why not make a blog post to explain how I made it?"
So thats what this is I suppose.
How pasted.sh was created.
I took inspiration from the many other file hosting platforms on the web, like https://0x0.st, pomf.lain.la, etc... and said to myself that I'd make my own one of those, "how hard could it be?". Turns out, kinda difficult if you aren't the best at project management.
pasted.sh uses Python WSGI through Flask (running on production with Waitress), with a MariaDB backend and Hetzner S3 Compatible storage for file storage (which I someday plan to switch to on-disk storage, when I have the money of course).
I started the project back in Summer 2024, and between then and now, it went through a MASSIVE amount of rewrites, abandonments, and copious amounts of the creator banging their head on their desk figuring out why something wouldn't work, but hey! we're here now and it's done.
People might ask, "what is the point of something like this?", well, you know when you're in a support chat on Discord, IRC, or something like that, and someone goes and pastes a 2000 line log or something like that, and you just can't really scroll up anymore, because it's just logs followed by more logs? Well pasted.sh is kind of the solution to that, file hosting is just a side-product of why I made this, rather than pasting a massive log, just paste it into here and it'll give you a nice short link to put in the chat instead.
With a limited amount of storage space on pasted does come with a limited upload size, in my case, I set that at 128mb, I reckon that's a good value as my S3 storage is only limited to a terabyte, as that gives me about 4000 files if absolutely every file uploaded was 128mb, obviously its not so I could realistically probably hold somewhere between 16,000 to 24,000 files at my current capacity.
Even then though, as this is a temporary storage platform, files are removed after 2 weeks, so there's no way my capacity is getting filled up.
You can check the site out at pasted.sh.
Any queries or thoughts, direct them to amnexya@pasted.sh
So thats what this is I suppose.
How pasted.sh was created.
I took inspiration from the many other file hosting platforms on the web, like https://0x0.st, pomf.lain.la, etc... and said to myself that I'd make my own one of those, "how hard could it be?". Turns out, kinda difficult if you aren't the best at project management.
pasted.sh uses Python WSGI through Flask (running on production with Waitress), with a MariaDB backend and Hetzner S3 Compatible storage for file storage (which I someday plan to switch to on-disk storage, when I have the money of course).
I started the project back in Summer 2024, and between then and now, it went through a MASSIVE amount of rewrites, abandonments, and copious amounts of the creator banging their head on their desk figuring out why something wouldn't work, but hey! we're here now and it's done.
People might ask, "what is the point of something like this?", well, you know when you're in a support chat on Discord, IRC, or something like that, and someone goes and pastes a 2000 line log or something like that, and you just can't really scroll up anymore, because it's just logs followed by more logs? Well pasted.sh is kind of the solution to that, file hosting is just a side-product of why I made this, rather than pasting a massive log, just paste it into here and it'll give you a nice short link to put in the chat instead.
With a limited amount of storage space on pasted does come with a limited upload size, in my case, I set that at 128mb, I reckon that's a good value as my S3 storage is only limited to a terabyte, as that gives me about 4000 files if absolutely every file uploaded was 128mb, obviously its not so I could realistically probably hold somewhere between 16,000 to 24,000 files at my current capacity.
Even then though, as this is a temporary storage platform, files are removed after 2 weeks, so there's no way my capacity is getting filled up.
You can check the site out at pasted.sh.
Any queries or thoughts, direct them to amnexya@pasted.sh