tw

Manage TiddlyWiki files and tiddlers via a Python-based CLI.

78|6|Updated Apr 24, 2014
One-click install
npx skills add https://github.com/peterhajas/dotfiles --skill tw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tw
Source: https://github.com/peterhajas/dotfiles/tree/main/claude/.claude/skills/tw
Command: npx skills add https://github.com/peterhajas/dotfiles --skill tw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a Python-based CLI to manage TiddlyWiki wikis and tiddlers, streamlining operations on TiddlyWiki HTML files and their content.

Core Features & Use Cases

  • Read and list tiddlers with commands like ls and cat
  • Export tiddlers as JSON, get specific fields, and apply filters
  • Create, edit, and remove tiddlers, insert content, and serve wikis for live preview
  • Integrate with other tools and workflows via a stable Python-based CLI

Quick Start

Run tw with your wiki path and a command to perform the action, for example tw ~/wiki.html ls.

Frequently Asked Questions about tw

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage TiddlyWiki tiddlers from the command line?

You can manage TiddlyWiki tiddlers from the command line using a Python-based CLI that provides commands like ls, cat, get, set, edit, and rm to directly read, modify, and delete content in TiddlyWiki HTML files.

Can I export TiddlyWiki tiddlers as JSON using a CLI?

Yes, you can export TiddlyWiki tiddlers as JSON using the CLI's json command, which allows you to extract and view tiddler data in JSON format for integration with other tools and workflows.

How do I serve a TiddlyWiki for live preview from the terminal?

You can serve a TiddlyWiki for live preview from the terminal by running the serve command with your wiki path, which starts a local server to provide a live, interactive preview of your wiki content.

Do I need Python to use this TiddlyWiki CLI tool?

Yes, you need Python installed because this TiddlyWiki CLI tool is Python-based, relying on the Python environment to execute its commands and interact with your wiki HTML files.

What's the best way to apply filters to tiddlers in a TiddlyWiki HTML file?

The best way to apply filters to tiddlers in a TiddlyWiki HTML file is by using the CLI's built-in filter functionality, allowing you to selectively list and extract specific tiddlers based on your criteria.

How do I create and insert content into new TiddlyWiki tiddlers via CLI?

You can create new tiddlers and insert content via CLI using the set, append, and insert commands, which allow you to build new entries and add text directly into existing tiddlers within your wiki.