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

ligue-ticktick

v1.3.0

Published

Command Line Interface to get formatted goals from TickTick

Readme

Ligue-ticktick

Bienvenue sur le repository de Ligue-ticktick !

L'objectif est simple : proposer une application en ligne de commandes pour extraire les tâches de TickTick et générer un affichage pour les objectifs-updates du discord de Ligue.dev.

Prérequis

  • Node.js >= 10
  • npm >= 5
  • Un compte sur TickTick
  • Une liste de tâches comportant les objectifs du jour

Installation

L'installation est très simple, il suffit d'effectuer une seule commande pour avoir accès à l'application depuis n'importe quel terminal.

npm install -g ligue-ticktick

Configuration

Identifiants

Pour récupérer les tâches de TickTick, il faut pouvoir s'y connecter. C'est pourquoi vous devez renseignez vos identifiants dans un fichier .env. Un fichier .env.example existe et il suffit de le remplir puis de le renommer en .env.

Par défaut, le fichier est localisé ici :

  • Windows : %USERPROFILE%\AppData\Roaming\npm\node_modules\ligue-ticktick
  • Unix : /usr/local/lib/node_modules/ligue-ticktick

Fichier .env.example par défaut :

TICKTICK_USERNAME = "your_username"
TICKTICK_PASSWORD = "your_password"
DISCORD_TOKEN = "your_discord_token"

Liste de tâches

Afin de distinguer les tâches du jour à poster sur la Ligue, il est nécessaire de posséder une Liste spécifique. Par défaut, le nom de la liste doit être Ligue mais il est possible de spécifier un autre nom via un argument.

Utilisation

get-goals

Pour récupérer les objectifs sur TickTick, rien de plus simple : une seule commande à taper dans le terminal. Il ne restera qu'à copier le contenu puis coller dans le salon #objectifs-updates ou ajouter le paramètre --discord pour que le contenu soit envoyé automatiquement.

Trois arguments existent :

  • --list ou -l suivi du nom de la liste (Ligue par défaut)
  • --todo ou -t suivi de l'emoji souhaité devant les objectifs (:construction: par défaut)
  • --discord ou -d

Commande de base :

ligue-ticktick get-goals

Avec liste spécifique (dans cet exemple, Work) :

ligue-ticktick get-goals --list Work

Avec un emoji différent :

ligue-ticktick get-goals --todo :gear:

Pour envoyer un message sur Discord dans #objectifs-updates :

ligue-ticktick get-goals --discord

get-report

Voir notre évolution est toujours agréable, c'est pourquoi une commande existe pour générer un rapport. Le rapport contient toutes les tâches terminées sur X jours, affiché dans la console.

Par défaut, le rapport est généré en prenant en compte les 31 derniers jours mais, l'option --days permet de modifier cette valeur.

Bien évidemment, il est également possible de changer le nom de la liste, comme pour get-goals avec l'option --list .

Exemple de commande pour générer un rapport sur 15 jours :

ligue-ticktick get-report --days 15