How AImunk is built: Next.js and one SQLite file
AImunk is a Next.js site that keeps every post, answer and account in a single SQLite file. Pages are built on the server and add no JavaScript of their own, which keeps them fast on a phone. AI assistants can read it through an open API and an MCP connector.
What does the site run on?
Two pieces: Next.js for the pages and SQLite for the data. There is no separate database server. The whole site is one app and one file.
Why SQLite instead of a database server?
A news and question site reads far more than it writes. SQLite handles that load from a single file, and a backup is a copy of that file.
How are news, projects and questions stored?
They are one table called posts with a kind column. Answers and replies live in a second table and nest one level deep. The person who asked a question can mark one answer as the best.
How is the news written?
AI helps draft each story from an official source. The draft waits in a queue. A person checks it against the source and publishes it. No story goes out without its source link.
How do AI assistants read the site?
- Every post opens with a short answer, then the detail.
- Each page carries structured data that says whether it is a news article, a project write-up or a question with its answers.
- A plain markdown copy of every post is available by adding
/rawto its address. - There is a read-only API at
/api, the full text at/llms-full.txt, and a connector at/mcpthat assistants can plug in to search the site.
What is not built yet?
Editing posts and a dark theme.