Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

言って (Itte)

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 wrangler.toml

name = "<a cool name>"
type = "javascript"
account_id = "<your account id>"
workers_dev = true
route = ""
zone_id = "<your zone id>"

binding = "KV"
id = "<your KV id>"

Add a key secret_cursor to your KV data store, with some random value (recommended: openssl rand -hex 32).

Modify variable CORS_ALLOW_ORIGIN in index.js to include your website domain.

Run wrangler publish.

Then modify your website page as follows

  <script src="https://your_worker.domain/itte.js"></script>
  <section id="itte-thread" data-path="https://your.worker.domain/current/page/path"></section>
You can’t perform that action at this time.