Real-time imageboard in node.js and redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lal'C Mellk Mal ff946c01b2 Upgrade some deps 2 years ago
admin Show country in mod addrs 3 years ago
archive Pass connection token "ctoken" to SockJS 3 years ago
client Trim ?s=19 junk from tweet refs 2 years ago
curfew Use (on node side) 6 years ago
docs nofollow noopener noreferrer 3 years ago
imager Check imager message origin 3 years ago
lib Remove yepnope 3 years ago
lua Use active posts from Lua 3 years ago
report reCAPTCHA 2 2 years ago
server reCAPTCHA 2 2 years ago
tmpl nofollow noopener noreferrer 3 years ago
tripcode Tripcode module building tweaks 3 years ago
upkeep Hack-fix upkeep script 3 years ago
www Hackily fade inserted images in 2 years ago
.gitignore Remove package-lock.json 2 years ago
.ignore Don't grep minified JS 3 years ago
LICENSE 2017 3 years ago
Makefile New script-building pipeline 7 years ago Explicit CloudFlare support; ban by country 3 years ago
TODO Warn before navigating away from unfinished posts 7 years ago
builder.js New script-building pipeline 7 years ago
common.js Allow punctuation near *italics*. 3 years ago
config.js.example Delete voice 3 years ago
db.js Client hot.readOnly setting set by server 3 years ago
deps.js Remove ETags 3 years ago
etc.js json_paranoid 3 years ago
hooks.js Add synchronous hooks 7 years ago
hot.js.example Hackily fade inserted images in 2 years ago
make_client.js make_client uses Uglify ES 2 years ago
package.json Upgrade some deps 2 years ago
pipeline.js File mode 0644 on pipeline products 7 years ago
tail.js Use setImmediate in tail 7 years ago

Real-time imageboard. MIT licensed.


  • Install dependencies listed below
  • Sign up for reCAPTCHA
  • Create a GitHub Application (callback URL = site URL + /login)
  • Copy config.js.example to config.js and configure
  • Copy hot.js.example to hot.js and configure
  • Copy imager/config.js.example to imager/config.js and configure
  • Copy report/config.js.example to report/config.js and configure
  • You might need to run npm install -g node-gyp
  • Run npm install to install npm deps and compile a few helpers
  • Run node builder.js to run an auto-reloading development server


  • Have your webserver serve www/ (or wherever you’ve moved src, thumb, etc.)
    • Configure imager.config.MEDIA_URL appropriately
  • If you’re behind Cloudflare turn on CLOUDFLARE
    • Or if you’re behind any reverse proxy (nginx etc) turn on TRUST_X_FORWARDED_FOR
  • Run node server/server.js for just the server
  • You can update client code & hot.js on-the-fly with node server/kill.js
  • For nginx hosting/reverse proxying, refer to docs/nginx.conf.example
  • For a sample init script, refer to docs/doushio.initscript.example
  • config.DAEMON support is old and broken, PRs welcome


  • ImageMagick
  • libpng
  • node.js + npm
  • redis
  • ffmpeg 2.2+ if supporting WebM
  • jhead and jpegtran optionally, for EXIF autorotation

Optional npm deps for various features:

  • daemon (broken currently)
  • icecast now-playing banners: node-expat
  • send (if you want to serve static files directly from the node.js process; useful in debug mode also)

Standalone upkeep scripts:

  • archive/daemon.js - moves old threads to the archive
  • upkeep/backup.js - uploads rdb to S3
  • upkeep/clean.js - deletes archived images
  • upkeep/radio.js - icecast2 server integration