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

@ryanatkn/fuz_gitops

v0.43.0

Published

a tool for managing many repos

Downloads

606

Readme

fuz_gitops

a tool for managing many repos 🪄 gitops.fuz.dev

fuz_gitops is alternative to the monorepo pattern that more loosely couples repos:

  • enables automations across repos without requiring them to be in the same monorepo
  • allows each repo to be managed from multiple fuz_gitops projects
  • runs automations locally on your machine, giving you full control and visibility (big tradeoffs in both directions compared to GitHub actions)

With fuz_gitops you can:

  • fetch metadata about collections of repos and import it as typesafe JSON (using Gro's public package patterns)
  • publish a generated docs website for your collections of repos
  • import its components to view and interact with repo collection metadata
  • publish metadata about your collections of repos to the web for other users and tools

planned additions:

  • run updating operations and other workflows from the frontend in dev mode (ultimately, an update all button)

Usage

npm i -D @ryanatkn/fuz_gitops
  • configure gitops.config.ts
  • fuz_gitops calls the GitHub API using the environment variable SECRET_GITHUB_API_TOKEN for authorization, which is a classic GitHub token (with "public access" for public repos, no options selected) or a fine-grainted GitHub token (beta) (with "Public Repositories (read-only)" selected) in either process.env, a project-local .env, or the parent directory at ../.env (currently optional to read public repos, but it's recommended regardless, and you'll need to select options to support private repos)
  • re-export the gro gitops task by creating $lib/gitops.task.ts with the contents export * from '@ryanatkn/fuz_gitops/gitops.task.js';
  • run gro gitops to update the local data

Getting started as a dev? Start with Gro and the Fuz template.

TODO

  • figure out better automation than manually running gro gitops
  • show the rate limit info
  • think about how fuz_gitops could better leverage both GitHub Actions and Forgejo Actions without unwieldy compat

License 🐦

MIT