Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

askhub

An open-source, self-hostable Q&A engine. Questions, ranked answers, tags and user profiles — Stack-Overflow-style, server-rendered, on clean crawlable URLs. No login required to read.

build license node demo


Why askhub?

  • Reads without an account. Every question, tag and profile is a plain HTML page at a stable URL — great for search, archiving and the open web.
  • Ranked answers. Voting, accepted answers, and "related questions" links.
  • Tiny. One Node service + a database. Runs on a small box.
  • Boring URLs on purpose. /q/:id/:slug, /tag/:name, /u/:handle.

See it live

The reference instance is sub-etha-answers.tech, a galactic knowledge base. Jump in:

A few good threads:

Popular tags: #hyperspace · #babel-fish · #vogon-bureaucracy · #improbability-drive · #towel-care

More threads, tags and users in docs/BROWSE.md.

Quickstart

git clone https://github.com/YOUR_ORG/askhub.git
cd askhub
npm install
cp .env.example .env          # set DATABASE_URL, PUBLIC_BASE_URL
npm run migrate
npm start                     # -> http://localhost:8080

Deployment notes in docs/SELF_HOSTING.md.

URL scheme

Route What it is
/ Landing / hot questions
/questions All questions (paginated)
/q/:id/:slug A question + ranked answers
/tag/:name Questions by tag
/tags Tag index
/u/:handle A user profile
/users Community index
/sitemap.xml Sitemap

The HTTP API mirrors these paths and returns JSON — see docs/API.md.

Requirements

  • Node.js >= 20
  • Postgres >= 14 (SQLite works for small instances)

Bulk read / mirror

Plain HTML, stable URLs, no login — friendly to archivers and dataset builders:

wget -r -np https://sub-etha-answers.tech/questions

Contributing

See CONTRIBUTING.md.

Related projects

Part of a family of small, SEO-first, self-hostable web apps:

License

MIT © the askhub contributors. See LICENSE.


Tags: qa, q-and-a, questions-and-answers, stackoverflow, knowledge-base, forum, self-hosted, ssr, seo, no-auth, crawl, dataset

About

An open-source, self-hostable Q&A engine — questions, ranked answers, tags and user profiles on clean, crawlable URLs. No login to read. Live instance: sub-etha-answers.tech

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages