This branch is 30 commits behind perception/dss:master
seger672 1ed7e6a5f6 Optimize tag cloud query
Still does a sort that ought to be indexable, but fixing that would be considerably more work.
2021-01-06 18:20:30 +00:00
2021-01-06 01:14:34 -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-06 18:20:30 +00:00
2020-12-21 16:42:32 -08:00
2021-01-04 20:24:20 -08:00
2020-12-20 19:12:12 -08:00
2021-01-06 01:53:56 -08:00
2020-12-22 16:53:23 -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.

S
Description
Daily Stormer Search
Readme 505 KiB
Languages
JavaScript 64.2%
HTML 32.8%
TSQL 2.1%
Shell 0.9%