| ▲ | f311a 6 hours ago | ||||||||||||||||
How it works: * CF worker on a subdomain that handles POST requests. Basically, a JS function that handles incoming requests. * It stores comments in CF KV and sends me a copy to telegram * All I need to do is copy it to Markdown (can be automated, but I manually approve the comments in case of spam) * In Markdown, I'm using frontmatter to store arbitrary JSON data * To avoid automated spam, I have a few tricks: do not expose the submit URL in HTML (insert it via JS) and calculate a simple checksum so that automated software that does not execute JS won't be able to post. Such software usually targets Wordpress blogs by scraping them from Google. I get zero spam from it. Everything, including hosting and workers, costs me zero. Example: https://rushter.com/blog/zsh-shell/ | |||||||||||||||||
| ▲ | MarcelOlsz 6 hours ago | parent | next [-] | ||||||||||||||||
>Everything, including hosting and workers, costs me zero. Your setup sounds cool. Do you host it on a home lab or something? | |||||||||||||||||
| |||||||||||||||||
| ▲ | JCattheATM 6 hours ago | parent | prev [-] | ||||||||||||||||
Interesting, thanks! | |||||||||||||||||