OSBLOG LIBRARY

OSBlog documentation

OSBlog ("open source blog") is a bilingual (Vietnamese/English) Markdown publishing app built with Vite, React, TypeScript, Neon Postgres/Drizzle, and Better Auth. This documentati

DOC PAGE

OSBlog documentation

OSBlog ("open source blog") is a bilingual (Vietnamese/English) Markdown publishing app built with Vite, React, TypeScript, Neon Postgres/Drizzle, and Better Auth. This documentati

Tiếng Việt: docs/vi/index.md

OSBlog ("open source blog") is a bilingual (Vietnamese/English) Markdown publishing app built with Vite, React, TypeScript, Neon Postgres/Drizzle, and Better Auth. This documentation set is co-located with the application source and is also served live: the same files are read at build time and exposed at /docs (index) and /docs/<slug> (?lang=vi for the Vietnamese variant), via src/server/docs.ts and rendered by src/app/pages/DocsPage.tsx. A page may set title, description, and order in a --- frontmatter block; otherwise the title falls back to the first # heading and the description to the first paragraph.

Status label: each page states its own verified-vs-pending status near the top. As of 2026-09-05 the application code, admin editor, comment moderation, and both deployment adapters are implemented; 64 unit/component/SQL integration tests and 2 compiled-browser E2E tests pass locally; a real Neon database is provisioned and migrated; and Vercel production is live on both requested hostnames with route smoke passing. See work/SUPERVISOR_REPORT.md for the continuously updated release-gate snapshot and remaining operational gaps.

Product documentation

PageCovers
IntroductionWhat OSBlog is, who it is for, and why it exists
Getting startedLocal install, environment setup, migrate/bootstrap/seed, running the dev server
Markdown editorThe real admin editor: toolbar, edit/preview/split view, slug, cover image + alt, SEO fields, draft/publish
ConfigurationEvery environment variable, what reads it, and which ones are secret
Admin and commentsAdmin sign-in boundary, category/post CRUD, anonymous comment moderation
DeploymentLocal, VPS + Nginx, Vercel, and Netlify — with real commands and what's actually verified
Backups and rollbackMigration history, database backup expectations, and rollback procedure
MediaVerified Cap walkthrough GIF/MP4 and capture provenance

Reference and engineering documentation

These documents predate this doc set and are maintained by other work items; they are linked here for discoverability, not duplicated:

  • Architecture — stack decision, routes, entities, auth/CRUD/comment flows, SEO, environment variables, migration and rollback boundaries.
  • UI design system — the persisted visual/accessibility source of truth.
  • Operations and Autopilot — control-plane run/QA conventions for the UseAgent workflow used to build this repository. These describe the project's internal build process, not the blog product itself.
  • Conformance — the replayable UseAgent lifecycle fixture.

Vietnamese translations

Each product page has a Vietnamese counterpart under docs/vi/, also served live at /docs/<slug>?lang=vi:

Reporting issues

Use the GitHub repository thuanlyt/osblog to file issues or pull requests. See CONTRIBUTING.md for the contribution workflow and SECURITY.md for vulnerability reports.