ScrollHub is a super server for publishing websites, scientific articles, blog posts, books, and more.
It is the fastest way to publish. Don't take my word for it, try for yourself here: https://hub.scroll.pub
Follow the steps below to run your own ScrollHub server in 60 seconds!
apt install -y make zip && git clone https://github.com/tj/n && cd n && make install && n latest && cd && git config --global user.name "ScrollHub" && git config --global user.email "scrollhub@scroll.pub" && git clone https://github.com/breck7/ScrollHub && cd ScrollHub && npm install . && npm install scroll-cli pm2 prettier -g && npm install -g . && git config --global receive.denyCurrentBranch updateInstead && cd && pm2 start server.js --node-args="--max-old-space-size=4096" --log ~/ScrollHub/pm2.log && pm2 startup && pm2 save
Optional steps:
Torify your site with an onion domain: https://www.torproject.org/about/history/
sudo apt update && sudo apt install -y tor && echo -e "HiddenServiceDir /var/lib/tor/hiddenservice/\nHiddenServicePort 80 127.0.0.1:3000" | sudo tee -a /etc/tor/torrc && sudo systemctl restart tor && sudo cat /var/lib/tor/hiddenservice/hostname
# Scroll
alias sb="scroll build"
# Npm
alias x="npm run"
# ScrollHub
alias hub="hub start"
# Git
alias gs="git status"
alias ga="git add ."
alias gc="git commit --allow-empty-message -m ''"
alias acp="git add . && git commit --allow-empty-message -m '' && git push"
# Make sure server side .gitignore includes all log and often changed files, to avoid local push conflicts.
ScrollHub uses git for versioning files.
If developing locally, occasionally you may run into merge conflicts.
To see the "git status" for a folder visit: https://hub.scroll.pub/status/[folderName]
It is recommended to prevent force pushes on your server with git config --system receive.denyNonFastForwards true
.
ScrollHub is public domain.