A toy comment system that runs on Cloudflare Workers.
My project consists of mostly spaghetti code to play with CF workers, so unless you are willing to debug some random issues with unreadable code, you should probably not use this.
Most of the styles used in this project come from Isso, a truly self-hosted comment system.
You need access to Cloudflare Workers KV to use this worker.
Create a KV data store, then create
Add a key
secret_cursor to your KV data store, with some random value (recommended:
openssl rand -hex 32).
index.js to include your website domain.
Then modify your website page as follows
<head> ... <script src="https://your_worker.domain/itte.js"></script> </head> <body> ... <section id="itte-thread" data-path="https://your.worker.domain/current/page/path"></section> </body>