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

joplin-plugin-metis

v0.1.5

Published

Metis is an open-source Task Manager Plugin for Joplin based on Todo.txt specification.

Downloads

11

Readme

Metis

Metis is an open-source Task Manager Plugin for Joplin based on Todo.txt specification.

Todo.txt format is chosen as it provides a reliable fallback when the plugin is not available for use (for example when using Joplin Mobile).

Metis is currently in development, more features and fixes will be added in the future but as it is a hobby project it will take a while. If you found a bug or want to request a feature you can put it in issues. As I want to keep Metis simple, elaborated features will unlikely be implemented.

screencap

Usage

Current version only has a handful of features but it is enough to realize a basic task manager application:

  • Render fenced text into HTML-based Todo List by adding todotxt (or archive-todotxt) as language
  • Todo.txt language mode for CodeMirror fenced text
  • Inline markdown and HTML tags can be rendered inside the block
  • Todo Item Actions:
    • Toggle checkbox to change the completion status of a task
    • Change priority directly with rendered html
    • Select button to select source text
  • Sorting: syntax sort:<field>:<order> with <order> take value asc or desc and can be omitted to fallback to a default value. Current version supports these <field>: status, priority, creationDate, completionDate, and default. The sort:default is a magic keyword that will be turned into sort:priority:desc sort:status:asc.
  • Filtering: syntax filter:<field>:<value1>,<value2>. Current supported <field> are: status (x or o), priority (A, B,..., ~), project, and context. In case of project and context you can omit + and @ from your keywords.
  • You can add multiple sorting and filtering queries to narrow down your list.

Tips & Tricks

Compact View

You can make the List View more compact by hiding the completion/creation date panel and only show them when mouse is hovering. Just parsing these into your userstyle.css.

li.todo span.todo-panel {
  margin: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-out;
}
li.todo:hover span.todo-panel {
  height: 14px;
}

You may have to adjust height: 14px; depend on your font-size. Note that CSS animation based on height can be a computing intensive task so don't do this if you have very long note.

Quickly Input Todo Items

Typing a todo item can be tiresome as you have to type special characters like (, ), and ISO datetimes. However, it is recommended that you will type creationDate instead of skipping it as this provides another dimension when you have to review your todo list. Moreover the plugin will automatically fill in completionDate if it found the item already has creationDate when you toggle the checkbox.

To make typing todo item easier, I have published Slash Command plugin for Joplin. Basically you can type /todoa, /todob, /todoc, /todod, or /todoe and the Slash Command plugin will unroll it into respective priority and with the current datetime in ISO format for creationDate.

Archive Todo.txt

Using archive-todotxt language plate for in-active todo list. There is no different between it and todotxt, but it helps searching for active list a lot easier.

Version 0.1.4 and above add a todo.txt language mode defined for CodeMirror editor which highlight todo.txt syntax. If you don't want syntax highlight you can use archive-todotxt instead of todotxt language plate.

Line-through Done Items (Editor)

Default stylesheet simply assigns a faded color to done todo items but you can also line-through them by adding following style to your userchrome.css:

.cm-todo-done {
    text-decoration: line-through;
}

Library

I have developed and published an open-source javascript library for parsing todo.txt format as a component of this project todotxt-parser-js.

License

MIT