Commit Graph
26 Commits
Author SHA1 Message Date
whoswhip 5c2427b096 reports!!!! and PoW!!!!!!!
this has taken quite a while (8 ish hours) but reports and proof of work challenges are completely implemented

the proof of work challenges are bit iffy and could be gpu accelerated which is bad, so i plan to eventually switch to something memory hard like argon2id

references used for pow:
https://dev.to/ratmd/simple-proof-of-work-in-javascript-3kgm
https://anubis.techaro.lol/docs/design/how-anubis-works
https://anubis.techaro.lol/docs/design/why-proof-of-work

as well as some other posts or repos found when searching
2026-11-20 21:31:37 -05:00
whoswhip 93da714ed0 opengraph; proper max size labels 2026-11-14 20:03:52 -05:00
whoswhip 53b0aac403 qtify other pages + fixed position on qts
working on showing the max upload size, just figuring out how to make it look good and where to position it.

there's probably a better way to include qts in all of these pages without having to pass all of these variables
2026-11-14 17:39:00 -05:00
whoswhip ee454661cc api section in faq; brighter code background 2026-11-14 17:10:54 -05:00
whoswhip 270a296817 normalize mime types; application/octet-stream returns an attachment 2026-11-14 16:11:51 -05:00
whoswhip d84b6433f5 fix placeholder faq 2026-11-14 15:20:12 -05:00
whoswhip f1c996058e readmeeee 2026-11-14 14:50:35 -05:00
whoswhip c4222a16b2 id length selection in upload 2026-11-14 14:39:21 -05:00
whoswhip 507ff7359c last accessed at!!! 2026-11-14 14:25:13 -05:00
whoswhip 2e63dcbf31 faq page; put uploads; config 2026-11-13 22:40:33 -05:00
whoswhip 16642c53f3 use file extension
even if there is no file extension no extra will be added (like a period .) because {{.FileExtension}} includes the "."
2026-11-13 14:54:47 -05:00
whoswhip 0f5b85a063 cache control header on content endpoint 2026-11-13 13:09:15 -05:00
whoswhip 3f78e3b85b tos and privacy (these are probably shit)
also implemented random paste placeholder text, got bored and dont feel like implementing real features
2026-11-12 23:30:35 -05:00
whoswhip 2c342f63b3 every file sharing service needs qts
honestly this code might be kind of shit, and it needs to used on the other page(s) as well but im too lazy, fixed a styling issue with the upload result page though
2026-11-12 22:30:36 -05:00
whoswhip 28d0600153 upload metadata table on upload page 2026-11-12 21:45:19 -05:00
whoswhip 41aaf5006f add drag and drop 2026-11-12 21:35:54 -05:00
whoswhip 350bf1842f upload page after uploading 2026-11-12 21:14:41 -05:00
whoswhip 59c156f6ac site header template; site links to tos, privacy, faq, and this repo 2026-11-12 20:24:36 -05:00
whoswhip 490f010999 add return type query on upload, will eventually use to have an after upload page 2026-11-12 19:13:37 -05:00
whoswhip 505cb7f757 style the home page, get rid of nojs pages
instead of having dedicated nojs pages, i will instead just use javascript to enhance the already existing pages
2026-11-12 18:33:15 -05:00
whoswhip af7310f8de nojs folder in templates, plan to use javascript on main version 2026-11-11 12:55:15 -05:00
whoswhip 8904f64133 expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry expiry 2026-11-10 22:31:05 -05:00
whoswhip 1b636ef51a fuck. list expiries + accept post form expiry 2026-11-10 22:26:08 -05:00
whoswhip 6181bd2e4d add a redirect query for no javascript 2026-11-10 14:46:28 -05:00
whoswhip 4c25a66f0f delete token & upload response struct to return delete token and sha256 as hex 2026-11-10 12:05:33 -05:00
whoswhip 1c99c5dd11 database, config, home page, start of upload endpoint 2026-11-08 19:25:52 -05:00