npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

scrollhub

v0.57.0

Published

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

Downloads

1,278

Readme

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 "[email protected]" && 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.