a terrible form for submissions for a to be created website
Go to file
Jan Delta d8192f6aba "remove" robot checkmark
i feel like there is too much room for accidentally clicking it by habit
so i moved it way off the edge of the screen
2022-08-15 13:32:09 +09:00
sql tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00
standalone load config from stdin 2022-08-14 12:55:01 +09:00
templ "remove" robot checkmark 2022-08-15 13:32:09 +09:00
.gitignore tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00
README.md >:| 2022-08-13 21:32:57 +09:00
UNLICENSE.md Spaghetti :D 2022-08-11 20:02:52 +09:00
actions.go letlist for remote servers it'll try fetch thumbnails from 2022-08-14 19:26:04 +09:00
config.go letlist for remote servers it'll try fetch thumbnails from 2022-08-14 19:26:04 +09:00
database.go tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00
form.go go1.17 2022-08-14 12:59:57 +09:00
go.mod tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00
go.sum tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00
id.go Spaghetti :D 2022-08-11 20:02:52 +09:00
keygen.go Spaghetti :D 2022-08-11 20:02:52 +09:00
media.go tweaks, thumbnails, more spaghetti for world domination 2022-08-13 21:29:18 +09:00

README.md

CharaMaker Directory Submissions form

this is some brand new spaghetti created as a submission form for my to be created picrew directory (i decided picrews own discovery tools were too useless, so i decided i was going to make whats basically a booru but for picrews) the actual site for that doesn't exist yet but i figured i'd make a submission form for people to be able to submit picrews in advance of its creation

i have no idea how long it'll take me to make the actual site, so the data collected by this form is made publicly available both to view and in json form (once approved, all submissions require approval so people can't easily vandalise it).

probably would have been easier to just use a google form, but thats not as fun and this is more retro, like something you'd see in the 2000-2015 internet, even features mildly questionably CSS design just like the good old days and questionably amature spaghetti™️ (honestly was mildly tempted to add .php to the endpoints just for the heck of it)

probably also questionable security-wise but shhhh

Running it

(if for some reason you feel like running this) its made it go so you'll need the golang, other than that you just need to configure the configuration config

HostEmail=""
BaseURL="https://example.com"
ThumbnailDir=""
[Submissions]
	DiscordWebhook=""
	NotifTopics=[""]
[Audit]
	DiscordWebhook=""
	NotifTopics=[""]
  • BaseURL is what you'd expect and is required
  • HostEmail is added to the From header of the automated requests made to ntfy and to sites submitted for the thumbnail fetcher (see here for why)
  • ThumbnailDir if set creates a directory that it'll put thumbnails into
  • (Submissions and Audit)
    • DiscordWebhook is a webhook that new submissions and other action notifications are sent to
    • NotifTopics are ntfy topics for sending push notifications about new submissions to any ntfy compatible destination
  • Submissions sends notifications for new submissions, you don't need both NotifTopics and DiscordWebhook, but you do need at least one of them configured, otherwise you'll never be able to get the URLs to actually approve any submissions.
  • Audit sends notifications about actions done (approvals, unapprovals, deletions) setting any audit notification reporter is entirely optional (you don't need it, its just there if you want to keep tabs on what gets approved)

then you'll just need to build the thing from the standalone folder, and run it with the address you want it to listen to (eg :7070 or localhost:7070)

thats it, thats the abomination of today