Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scrollhub

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrollhub

ScrollHub turns any server into a place where people can instantly launch unlimited new (ephemeral) website powered by Scroll.

  • 0.44.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

ScrollHub: The fastest way to publish

ScrollHub is a super server for publishing websites, scientific articles, blog posts, books, and more. It provides a seamless platform for content creation and distribution.

Try it yourself at: https://hub.scroll.pub

🚀 Quick Start: Run your own ScrollHub in 60 seconds

Launch a new Ubuntu Droplet on Digital Ocean (or your cloud provider of choice), then SSH into your server and run this oneliner:

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 && git config --global receive.denyCurrentBranch updateInstead && pm2 start server.js --node-args="--max-old-space-size=4096" --log ~/ScrollHub/pm2.log && pm2 startup && pm2 save

Optional Steps:

  1. Create a DNS A Record pointing from your domain or subdomain to your new server
  2. Torify your site with an onion domain using Tor Project:
sudo apt update && sudo apt install -y tor && echo -e "HiddenServiceDir /var/lib/tor/hidden_service/\nHiddenServicePort 80 127.0.0.1:3000" | sudo tee -a /etc/tor/torrc && sudo systemctl restart tor && sudo cat /var/lib/tor/hidden_service/hostname

🛠️ Development Environment Setup

Helpful Aliases

Add these to your shell configuration for a smoother workflow:

# 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"

Note: Make sure server-side .gitignore includes all log and frequently changed files to avoid local push conflicts.

🔧 Git Troubleshooting

ScrollHub uses git for versioning files. If you're developing locally and encounter merge conflicts:

  1. Check the git status for a folder by visiting: https://hub.scroll.pub/status/[folderName]
  2. It's recommended to prevent force pushes on your server with:
git config --system receive.denyNonFastForwards true

📦 Release Notes

The complete release history is available in multiple formats:

View the full changelog with detailed release notes at Release Notes.

📄 Public Domain

ScrollHub is released into the public domain.

FAQs

Package last updated on 22 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc