Commit Graph
74 Commits
Author SHA1 Message Date
whoswhip e5a2f47f47 organize project
took me a bit to figure out how to do this properly, but i believe it's improved my understanding of how go works
2026-11-21 16:18:30 -05:00
whoswhip 741b91b637 forgot the word but pages 2026-11-21 15:33:39 -05:00
whoswhip 2f27f8bd4f remove test report option 2026-11-21 10:19:15 -05:00
whoswhip 123e47596b page on failure 2026-11-20 21:57:06 -05:00
whoswhip 6650d0d1c2 readddd 2026-11-20 21:33:28 -05:00
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 ee03411154 raadwadwa 2026-11-20 00:43:49 -05:00
whoswhip 181b2b0270 cascade delete, and prevent report creation from creating nonexistent uploads 2026-11-19 12:46:04 -05:00
whoswhip f43cca319e start on reports, uuidv7 for id 2026-11-19 10:58:33 -05:00
whoswhip dc3b66cc58 organize 2026-11-18 17:13:44 -05:00
whoswhip a58d9af781 glob parse templates 2026-11-18 16:51:47 -05:00
whoswhip 89e9de8a37 todo 2026-11-18 15:39:07 -05:00
whoswhip ae8de04599 mark filter mime types as done in todoooo! 2026-11-15 20:18:54 -05:00
whoswhip 21aef3f4f7 update .env.example to include more executables 2026-11-15 12:57:05 -05:00
whoswhip 2a315a68fc finish banned mime types 2026-11-15 12:15:02 -05:00
whoswhip e1e0c8042e .env.example, addr config, working on banned mime types 2026-11-15 11:22:50 -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 f33236a6fe add info handler 2026-11-14 17:02:17 -05:00
whoswhip 40246c9ad5 add license 2026-11-14 16:39:47 -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 503631764a fix dnd 2026-11-14 15:18:44 -05:00
whoswhip a44052ae6e add clarification in readme 2026-11-14 14:55:02 -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 882e6cafa3 contributing section 2026-11-13 21:25:24 -05:00
whoswhip 422a51d4d0 move rendering funcs to handlers.go; use the render function on upload response 2026-11-13 21:17:43 -05:00
whoswhip 80e0efe3c4 simplify static page rendering; fix qt discovery 2026-11-13 21:15:56 -05:00
whoswhip 91667e3a10 todooo 2026-11-13 21:03:32 -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 a0519784ed improve content caching header + csp 2026-11-13 13:17:35 -05:00
whoswhip 979970aa0d upload content 2026-11-13 13:09:28 -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 3664963fe8 todododoodododood 2026-11-12 14:37:22 -05:00
whoswhip 99bebfe044 add misc goals 2026-11-11 16:56:38 -05:00
whoswhip d62d00ce6e include static pages, update goals 2026-11-11 14:11:00 -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