selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

quetre logo

Self-host quetre

v8.0.0

Privacy-focused alternative front-end for Quora

ReleaseOpen SourceAGPL-3.0
Updated11 months ago
LanguageJavaScript
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
500
Port
3000 (HTTP web server)
Install with Docker Compose
Quetre website in light mode on desktopQuetre website in dark mode on mobile

What is quetre?

Quetre is a privacy-focused alternative front-end for Quora that enables reading answers without ads, trackers, or bloat. It proxies all requests to prevent Quora from collecting meaningful user data, offers both dark and light themes, is fully responsive across all screen sizes, and loads pages quickly with minimal requests. The project provides an unofficial JSON API by adding /api/v1/ to any URL. It can be self-hosted via Docker, Docker Compose, or manual Node.js installation with optional Redis caching for API responses. There is no user account system — visitors simply read content without signing in.

Should you self-host quetre?

quetre scores 49/100 on selfhost.directory (how scoring works) and ranks #48 of 69 in Social Networks & Forums. It has 500 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. It is AGPL-3.0-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is Discourse (83/100, 48 024 stars). It scores higher overall, so compare the two before you pick. See quetre vs Discourse side by side.

Features

  • Lightweight and fast
  • No Account Required
  • No ads or tracking
  • Privacy-focused proxy
  • Unofficial JSON API

quetre README

How to install quetre

Install quetre with Docker Compose

Environment variables
NODE_ENV, PORT, CACHE_PERIOD, REDIS_URL, REDIS_TTL

version: '3'

services: quetre: env_file: .env build: context: . dockerfile: Dockerfile restart: unless-stopped ports: - "3000:3000" environment: - "NODE_ENV=production" - "PORT=3000" - "CACHE_PERIOD=1h" - "REDIS_URL=redis:6379" # optional - "REDIS_TTL=3600" redis: image: docker.io/redis:alpine container_name: redis restart: unless-stopped

Builds from source using the project's Dockerfile; includes optional Redis service

How to configure quetre

  • AXIOS_ACCEPTapplication/json, text/plain, */*Accept header that Quora will see

    Accept header that Quora will see

  • AXIOS_USER_AGENTaxios/0.26.1User agent header that Quora will see

    User agent header that Quora will see

  • CACHE_PERIOD1hDuration for which static files' cached copies are valid in the browser

    Duration for which static files' cached copies are valid in the browser

    values: e.g., 1m, 3600, '2 days'

  • NODE_ENVproductionEnvironment mode; if set to development, morgan middleware will log every request

    Environment mode; if set to development, morgan middleware will log every request

    values: production, development

  • NO_UPGRADESet to any value if using a service where HTTP is preferred (e.g., Tor, I2P)

    Set to any value if using a service where HTTP is preferred (e.g., Tor, I2P)

    values: any value (e.g., 1, true, 'por favor')

  • PORT3000Port the server listens on

    Port the server listens on

  • REDIS_TTL3600Time-to-live for Redis cached responses in seconds

    Time-to-live for Redis cached responses in seconds

  • REDIS_URLlocalhost:6379Redis connection URL for caching API responses

    Redis connection URL for caching API responses

quetre releases & version history

FAQ

Why the name Quetre?

Quora is a portmanteau of 'Questions or answers'; Quetre is a portmanteau of 'Questions and answers' in Latin.

I have some ideas/want to help.

Contributions are welcome — contact the maintainer, fork the repo, or submit a pull request.

Why am I getting a 'Recheck the URL' error?

Sometimes Quora doesn't populate the answer page HTML; refreshing the page a few times usually resolves it.

Why can I only view a couple of answers?

Quora loads more answers via AJAX as the user scrolls; extracting all answers is difficult and not yet implemented.

Why are some math equations showing up weirdly?

MathJax requires JavaScript to format TeX equations; enable JavaScript for proper rendering.

There are some unreachable routes.

The developer is working to implement missing routes; check the To-Do list for progress.

I don't want to edit the URLs manually!

Use browser extensions like Redirector, LibRedirect, Privacy Redirector, Dynamic Privacy Redirect, Alter, or Predirect to automatically redirect Quora URLs to Quetre.

How do I use this?

Replace 'www.quora.com' in any URL with 'quetre.iket.me' (or any other instance) to view the content through Quetre.

More in Social Networks & Forums

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…