Comments that settle for a while, then are gone.
Each commenter picks how long theirs stays on the page: a day, a week, a month, a year, or forever. No accounts.
This is the real widget, admin page, and server code, running in your browser over an in-memory SQLite. Nothing leaves this page, and a reload starts over. Skip ahead in time to watch comments fade.
A post
A walk before the rain
We went out just before the rain. The air smelled of wet stone and cut grass, and everyone on the street walked a little faster.
By the time we reached the river, the first drops were falling.
Leave a comment, reply, react, then edit or delete it with your password. Select a sentence in the post to quote it.
Admin page
Loading…
Small on purpose. No dependencies; the widget is about 15 KB gzipped.
Create a D1 database with the files in migrations/ and a Turnstile widget, then:
npm install github:SongYunSeop/iseul
// functions/api/comments.js (Pages Function)
import { createHandler } from 'iseul/server';
export const onRequest = createHandler();
// your page
import { mount } from 'iseul/widget';
import 'iseul/widget.css';
mount('#comments', { siteKey: '<turnstile site key>', lang: 'en' });
Or skip the code: deploy to Cloudflare and paste two lines into your pages. Admin page, client API, webhooks, and options: see the README.
Loading…