perception 681eab8108 Show articles in reverse chronological order
In practice, I found myself scrolling down to the end to see what was
new.  Going with reverse chronological order all the way through from
year to month to day just makes sense.
2021-02-17 22:23:35 -08:00
2021-01-06 01:14:34 -08:00
2021-01-08 14:33:51 -08:00
2021-01-06 01:18:56 -08:00
2020-12-20 11:11:49 -08:00
2020-12-22 16:56:45 -08:00
2020-12-20 11:11:49 -08:00
2020-12-22 16:43:22 -08:00
2021-01-07 10:44:22 -08:00
2021-01-06 01:53:56 -08:00
2021-01-27 21:26:39 -08:00

Daily Stormer Search

A Search Engine for the Daily Stormer

Installation

In the root of the project, do the following.

# Install node modules
npm i

# Initialize database from scratch
sqlite3 main.db < sql/ds.sql
sqlite3 main.db < sql/ds.001.sql
sqlite3 main.db < sql/ds.002.sql

# Alternatively, download a database snapshot.
wget http://dss.coincidencedetector.com/archive/dss-latest.db.gz
gzcat dss-latest.db.gz > main.db

# Run the server
micro-dev -p 1984 site.js

Downloading Articles

# Download all articles from scratch:
# This takes a few days and may need babysitting in case of crashes.
bin/download-all

# Dowloading the last 140 articles per category:
# If you have a recent snapshot, running this once is how you should get it up to date.
P=1 bin/download-all

Cron

To periodically update the database with new articles, replace the value of DSS_ROOT with the path to where DSS is on your system, and place the following in your crontab.

DSS_ROOT=/path/to/dss
  55  *    *    *    *  cd $DSS_ROOT && bin/articles-update

Environment Variables

PATH

Make sure your PATH includes node_modules/.bin. Running micro-dev probably won't work otherwise.

DSS_DB

By default, this code assumes the database is at ./main.db in the root of the project directory. If you want to use another database, you may specify its full path in DSS_DB.

Languages
JavaScript 66.3%
EJS 32.9%
Shell 0.8%