JSPM

  • Created
  • Published
  • Downloads 48
  • Score
    100M100P100Q71306F
  • License MIT

Task management system integrated with Git workflows

Package Exports

  • taskin

Readme

Taskin

Task management system integrated with Git workflows

Taskin is a command-line tool that helps you manage tasks directly from your terminal, with seamless Git integration and dynamic provider loading.

npm version License: MIT

โœจ Features

  • ๐ŸŽฏ Multiple Task Providers - File System, Redmine, Jira, GitHub Issues (and more!)
  • ๐Ÿ”Œ Dynamic Provider Installation - Automatically installs providers when needed
  • ๐Ÿ“ฆ Lightweight CLI - Only installs what you use
  • ๐Ÿ”’ Secure Configuration - API keys protected in .gitignore
  • ๐ŸŽจ Beautiful CLI - Colorful, interactive, and user-friendly
  • โšก Fast & Efficient - Built with performance in mind
  • ๐Ÿงช Well Tested - Comprehensive test coverage

๐Ÿš€ Installation

```bash

Using npx (recommended - no installation needed!)

npx taskin init

Or install globally

npm install -g taskin

Or with pnpm

pnpm add -g taskin

Or with yarn

yarn global add taskin ```

Note: This is a beta version. Please report any issues on GitHub.

๐Ÿ“ฆ Available Packages

Taskin is built as a modular ecosystem. Besides the CLI, you can use individual packages:

Core Packages

Package Description npm
taskin Complete CLI + programmatic API npm
@opentask/taskin-types TypeScript types and Zod schemas Coming soon
@opentask/taskin-core Core task management logic Coming soon
@opentask/taskin-task-manager Task lifecycle orchestration Coming soon

Task Providers

Provider Description Status npm
@opentask/taskin-fs-provider File System provider (Markdown files) โœ… Stable Coming soon
@opentask/taskin-redmine-provider Redmine integration ๐Ÿšง Coming Soon -
@opentask/taskin-jira-provider Jira Cloud integration ๐Ÿšง Coming Soon -
@opentask/taskin-github-provider GitHub Issues integration ๐Ÿšง Coming Soon -

Utilities

Package Description npm
@opentask/taskin-git-utils Git workflow helpers Coming soon
@opentask/taskin-utils Shared utilities Coming soon

๐Ÿ’ก Tip: When you run taskin init, providers are automatically installed on-demand. You don't need to install them manually!

Quick Start

  1. Initialize Taskin in your project: ```bash npx taskin init ```

    Select your preferred task provider:

    • ๐Ÿ“ File System - Store tasks as Markdown files locally
    • ๐Ÿ”ด Redmine - Sync with Redmine issues (coming soon)
    • ๐Ÿ”ต Jira - Sync with Jira issues (coming soon)
    • ๐Ÿ™ GitHub Issues - Sync with GitHub (coming soon)
  2. List all tasks: ```bash taskin list ```

  3. Start working on a task: ```bash taskin start task-001 ```

Commands

  • taskin init - Initialize Taskin in your project with interactive setup
  • taskin list - List all tasks
  • taskin start <id> - Start working on a task
  • taskin pause <id> - Pause work on a task
  • taskin finish <id> - Complete a task
  • taskin lint - Validate task files

๐Ÿ“ฆ Programmatic Usage

Taskin can also be used as a library in your TypeScript/JavaScript projects:

npm install taskin
import { createTaskin, getTaskin, type ITaskin } from 'taskin';

// Create a Taskin instance with custom tasks directory
const taskin = createTaskin('./my-tasks');

// Or use the default instance (uses ./TASKS)
const taskin = getTaskin();

// Use the API
const tasks = await taskin.list();
await taskin.start('task-001');
await taskin.pause('task-001', { message: 'Break time!' });
await taskin.finish('task-001');

// Lint tasks
const lintResult = await taskin.lint({ path: './TASKS' });
console.log(`Checked ${lintResult.tasksChecked} tasks`);

TypeScript Support

Taskin is written in TypeScript and exports full type definitions:

import type { Task, TaskId, TaskStatus, ITaskin } from 'taskin';

// All types are available for your TypeScript projects
function processTask(task: Task): void {
  console.log(`Processing ${task.title}`);
}

๐Ÿ—๏ธ Architecture

Taskin uses a plugin-based architecture with dynamic provider loading:

  • Providers are loaded on-demand (only when selected)
  • Automatic installation via npm/pnpm/yarn
  • Easy to extend with custom providers

๐Ÿ“š See ARCHITECTURE.md for detailed technical documentation.

๐Ÿ“– Examples

See EXAMPLES.md for detailed usage examples and workflows.

๐Ÿ”Œ Available Providers

Provider Status Package
๐Ÿ“ File System โœ… Stable @opentask/taskin-fs-provider
๐Ÿ”ด Redmine ๐Ÿšง Coming Soon @opentask/taskin-redmine-provider
๐Ÿ”ต Jira ๐Ÿšง Coming Soon @opentask/taskin-jira-provider
๐Ÿ™ GitHub Issues ๐Ÿšง Coming Soon @opentask/taskin-github-provider

Want to create your own provider? See ARCHITECTURE.md.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“ Requirements

  • Node.js >= 20.0.0
  • npm/pnpm/yarn

๐Ÿ› Issues

Found a bug? Have a feature request? Please open an issue.

๏ฟฝ Team

OpenTask

Contributors:

๐Ÿ“„ License

MIT ยฉ OpenTask