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

grundstein

v0.0.1-alpha.1

Published

### WIP. NOT IN PRODUCTION, TESTED AND/OR BENCHMARKED YET! install this package to get started with grundstein. npm i -g grundstein

Downloads

3

Readme

WIP. NOT IN PRODUCTION, TESTED AND/OR BENCHMARKED YET!

Grundstein (plural Grundsteine) [german]

  • A ceremonial stone set at the corner of a building.
  • By extension, that which is prominent, fundamental, noteworthy, or central.

via: wiktionary


grundstein

runs a production ci/cd environment for us (and you?).

it is built to serve magic pages and apis.

requirements:

server

tested on ubuntu.

preinstalled: systemd, apt, ssh, and bash.

grundsteinlegung.sh is a bash script and gets sent to the server via ssh, all other dependencies get installed automagically.

might work on other linuxes, if systemd and apt exist there.

development

expects docker and nodejs to be installed on your computer.

features:

user management

adds grundstein user(s)

installs all dependencies

nodejs, git, makepasswd, curl

certbot

generates letsencrypt certificates using certbot and certbot-dns-digitalocean

systemd init

sets up grundstein systemd.service files and starts and enables the services

installation

npm i -g grundstein

custom configuration

grundstein needs a configuration to work.

the easiest way to get started is to perform a grundsteinlegung.

git clone git://github.com/grundstein/legung ./cloud.domain.com

cd cloud.domain.com

npm install

# add a digitalocean api token to .secrets/digitalocean.ini to generate letsencrypt certificates.
# at the moment, this also requires you to use the digitalocean nameservers for your domain!

# start dev server
npm start

# deploy to your own server (after editing /grundstein-config.mjs to add your ip)
npm run prod
suggestion

we use a digitalocean floating ip, this will allow us to setup a separate pod, prepare it, and then just reassign the ip address to the new version.

by leaving a number of old pods alive, we can also rollback easily.

all of this without touching dns.

TODO:
  • create pods through digitalocean api

  • name them by git hash

  • keep 3 versions alive at all times