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

zk-publisher

v0.7.0

Published

Publish a markdown site exported from Obsidian using obsidian-export.

Downloads

1

Readme

ZD-Publisher

This project is in the initial stages, working towards a simple command-line mechanism that will publish an Obsidian Vault to a reasonable content website.

This is a necessarily complicated problem to solve.

Some overall goals of the project:

  • support Evergreen notes as a source content style, for publishing emergent learning and content, as per Andy Matuschak's definition of Evergreen Notes
  • support a means of structurally navigating content according to metadata (eg tags)
  • support naturally navigating content from regular wiki-style links in your vault, eg supporting Maps of Content style navigation
  • provide a mechanism to publish rich content based on metadata
    • with an extensible mechanism for content transformation that can support casual consumers of the emergent artifacts

Current State

Uses EJS as a template engine for markdown pages converted to HTML. Currently the default template is not configurable, but that's our eventual intent.

Recognizes type: presentation in markdown metadata as a content hint that the markdown is to be published as a presentation. Currently uses pandoc to convert that content to PowerPoint (PPTX) format. The template used is not configurable, but that's our eventual intent.

Installing ZK-Publisher

npm install -g zk-publisher

Running ZK-Publisher

Get a sense of the available options:

zk-publisher --help

The simplest usage is:

zk-publisher -s [Path To My Vault]

On MacOS, by default a vault you create called Main will likely be found someplace like $HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents/Main.

If you do not specify an output directory with the -o option, a directory will be created called output in your current directory.

A temporary directory is required to hold an intermediate conversion of your Vault into plain markdown (done via obsidian-export). If you do not specify a location for it, it will be created in your current directory. Currently, the tool does not delete this temporary directory.

Runtime Requirements

You must have the following tools on your path:

  • obsidian-export
  • pandoc