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 🙏

© 2026 – Pkg Stats / Ryan Hefner

wiki-security-oidc

v1.0.1

Published

Security plugin for Federated Wiki, using OIDC

Readme

Federated Wiki - Security Plug-in: OIDC (OpenID Connect)

This security plug-in allows you to sign-in with OpenID Connect providers such as PocketID, Keycloak or Authelia.

This plugin uses the preferred_username to check ownership, but displays the name to display who owns the wiki.

Configuration Options

To use this plugin, you must set the security_type to "oidc".

  • oidc_clientID: The Client ID for your application. Required.
  • oidc_clientSecret: The Client Secret for your application. Required.
  • oidc_issuerBaseURL: The Base URL for the issuer. This is used to discover all other URLs. Required.
  • secret: A long random string to derive keys from. Required.
  • oidc_issuerName: The issuer name shown on the login button. Optional, defaults to "SSO".
  • oidc_claimOnFirstLogin: Whether the first login on an un unclaimed wiki results in a claim. Optional, defaults to false.
  • oidc_idpLogout: Whether to log out from the identity provider when logging out from the wiki. Providers like Pocket ID don't allow you to be redirected back if this is true. Optional, defaults to false

Development workflow

This project has a Makefile that encapsulates some of the common development tasks.

To help with development, you can to run the plugin in a local instance of wiki. You need to set the path of that using the WIKIDIR environment variable.

The Makefile assumes the wiki is in ../../vendor/wiki.

# If your wiki directory is elsehwere.
WIKIDIR=$HOME/workspace/wiki make link

The source needs to be built before it can be used. make build builds it.

Linking the project.

make link will create a link from this project to the local fedwiki instance, so it can load the latest version of your code.

Running the local Wiki.

make will run the wiki. make watch will rebuild the client on any change.

Code quality.

  • Run tests with make test
  • Format the code with make format
  • Lint the code with make lint
  • Generate typescript types with make types