# 11kilobytes-of-moka/tick-type architecture

> Architecture diagram of the GitHub repository 11kilobytes-of-moka/tick-type, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/11kilobytes-of-moka/tick-type
- Repository: https://github.com/11kilobytes-of-moka/tick-type

## Overview

Tick-Type is a small interactive utility that turns task headings in Anytype Markdown exports into a text list suitable for bulk-pasting into TickTick. The user provides a directory; the script scans its Markdown files, extracts headings after the second delimiter, asks whether to wrap tasks in asterisks, and writes a uniquely named output file. The single source file implements the workflow. No direct TickTick integration or other runtime subsystem is shown.

Main entry points: [`tick_type.py`](https://github.com/11kilobytes-of-moka/tick-type/blob/main/tick_type.py) (CLI workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_workflow["CLI workflow<br/>[tick_type.py]"]
node_exports["Markdown exports"]
node_parser["Task heading parser<br/>[tick_type.py]"]
node_output["Task list file"]

node_user -->|"provides path"| node_workflow
node_workflow -->|"lists files"| node_exports
node_workflow -->|"parses each"| node_parser
node_parser -->|"reads Markdown"| node_exports
node_workflow -->|"writes tasks"| node_output

click node_workflow "https://github.com/11kilobytes-of-moka/tick-type/blob/main/tick_type.py"
click node_parser "https://github.com/11kilobytes-of-moka/tick-type/blob/main/tick_type.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_workflow toneTeal
class node_exports toneIndigo
class node_parser,node_output toneRose
```

## Components

### Other components

- **User**
- [CLI workflow](https://github.com/11kilobytes-of-moka/tick-type/blob/main/tick_type.py): `tick_type.py`
- **Markdown exports**
- [Task heading parser](https://github.com/11kilobytes-of-moka/tick-type/blob/main/tick_type.py): `tick_type.py`
- **Task list file**

## Connections

- User → CLI workflow: provides path (evidence: `tick_type.py`)
- CLI workflow → Markdown exports: lists files (evidence: `tick_type.py`)
- CLI workflow → Task heading parser: parses each (evidence: `tick_type.py`)
- Task heading parser → Markdown exports: reads Markdown (evidence: `tick_type.py`)
- CLI workflow → Task list file: writes tasks (evidence: `tick_type.py`)
