Phuc Buiv0.1.0

N-008

Discord as a Backend

30 Apr 2026 · discord, nextjs

This note as an agent skill: discord-as-backend in phucbm/skills.

Shell
npx skills@latest add phucbm/skills --skill discord-as-backend

I didn't want to run a database for a list of links, so a Discord forum is the database. Each link is a thread in a forum channel: the thread's name is the title, its tags are the tags, its first message holds the URL. A bot token reads the channel, and the references on this site are that channel. The other direction is a webhook: Hiểu Chữ Hán's "report an issue" form posts into a channel, with no bot and no auth beyond the webhook URL.

Forum as a databaseWebhook as an inbox
Directionread from Discordwrite to Discord
Authbot tokenthe webhook URL (a secret)
Used forthe references on this site, phucbm-web's bookmarksHiểu Chữ Hán's reports

What broke