No description
- Go 96.2%
- Go Template 3.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Codeberg is the primary source; GitHub is a mirror. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
| .vscode | ||
| cmd | ||
| docs | ||
| internal | ||
| testdata | ||
| .gitignore | ||
| .goreleaser.yaml | ||
| CHANGELOG.md | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| pta2svg | ||
| README.md | ||
| ROADMAP.md | ||
| task-plus.yml | ||
| Taskfile.yml | ||
pta2svg
Generate styled SVG flowcharts from plain text accounting (go-luca) files showing money flows between accounts.
Install
go install codeberg.org/hum3/pta2svg/cmd/pta2svg@latest
Usage
pta2svg [flags] <file.pta>
-o string output file (default: stdout)
-animate enable CSS flow animations
-title string SVG title
-layout string layout engine (default "lr")
Example
pta2svg testdata/simple.pta > output.svg
pta2svg -animate -title "Bank Deposit" testdata/simple.pta > animated.svg
Input Format
2024-01-15 * Salary deposit
+Income:Salary -> Asset:Bank salary payment 5000.00 GBP
2024-01-20 * Pay rent
Asset:Bank -> Expense:Rent monthly rent 1200.00 GBP
Lines: [+]from -> to [description] amount [commodity]
The + prefix links movements for staggered animation. Arrow variants: >, ->, //, →.
Links
| Documentation | https://h3-pta2svg.statichost.page/ |
| Source (Codeberg) | https://codeberg.org/hum3/pta2svg |
| Mirror (GitHub) | https://github.com/drummonds/pta2svg |