Skip to content

vampiricwulf/tanoshiine

 
 

Repository files navigation

Real-time imageboard. MIT licensed.

Note: The git master branch contains the development version of the board. For more stable revisions, please download the latest release.

Setup

  • Install dependencies listed below
  • Run npm install to install npm deps and compile C++ addons
  • Configure config.js, hot.js, imager/config.js and report/config.js
  • Run node builder.js to run an auto-reloading development server

Production

  • Have your webserver serve www/ (or wherever you've moved src, thumb, etc.)
  • Run node server/server.js for just the server
  • config.DAEMON support is broken for now
  • You can update client code & hot.js on-the-fly with node server/kill.js

Dependencies

  • ImageMagick
  • gcc, g++, make
  • libpng with development headers
  • Node.js (Latest tested version is 14.5.0)
  • redis
  • captchouli

Optional dependencies for various features

  • ffmpeg 2.2+ for WebM support
  • pngquant 2.3.1+ for PNG thumbnails
  • exiftool for stripping images of EXIF data

Optional npm dependancies

  • 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)
  • suggestion box: github

Documentation

  • docs/api.md - JSON API documentation
  • docs/doushio.initscript.example - example init script
  • docs/filemap.md - project file map
  • docs/nginx.config.example - example ngingx reverse proxy configuration file

Standalone upkeep scripts

  • upkeep/backup.js - uploads rdb to S3
  • upkeep/backup.sh - MEGA backup script
  • upkeep/clean.js - deletes archived images
  • upkeep/purge_bans.sh - Removes all bans
  • upkeep/purge_mod_sessions.sh - Closes all active moderator sessions
  • upkeep/radio.js - icecast2 server integration

About

Real-time imageboard in node v14.5.0 and redis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.1%
  • Less 5.5%
  • HTML 1.7%
  • C++ 1.6%
  • Python 0.7%
  • XSLT 0.2%
  • Other 0.2%