A PrePostPrint inspired political compass generator with SVG output.
This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
decentral1se 2d7ae6485b
feat: init
2023-12-03 12:25:09 +01:00
dist feat: init 2023-12-03 12:25:09 +01:00
.gitignore feat: init 2023-12-03 12:25:09 +01:00
.goreleaser.yaml feat: init 2023-12-03 12:25:09 +01:00
LICENSE feat: init 2023-12-03 12:25:09 +01:00
README.md feat: init 2023-12-03 12:25:09 +01:00
go.mod feat: init 2023-12-03 12:25:09 +01:00
go.sum feat: init 2023-12-03 12:25:09 +01:00
makefile feat: init 2023-12-03 12:25:09 +01:00
ppppcg.go feat: init 2023-12-03 12:25:09 +01:00
ppppcg.png feat: init 2023-12-03 12:25:09 +01:00

README.md

ppppcg

A PrePostPrint inspired political compass generator with SVG output.

Why? You may find some answers on blog.osp.kitchen or here.

Install

Linux

curl https://git.coopcloud.tech/decentral1se/ppppcg/raw/branch/main/dist/ppppcg_linux_amd64_v1/ppppcg -o ppppcg
chmod +x ppppcg

MacOS

curl https://git.coopcloud.tech/decentral1se/ppppcg/raw/branch/main/dist/ppppcg_darwin_amd64_v1/ppppcg -o ppppcg
chmod +x ppppcg

Usage

Wire up a config file (ppppcg.yml).

width: 500
height: 500

axis:
  top: W3C
  right: Industry
  bottom: Custom hacks
  left: Punk

points:
  - {name: "???", x: 50, y: 450}

And generate the SVG like so.

./ppppcg

You can pipe it a graphical program or save it to file.

./ppppcg | display # X11 viewer
./ppppcg > pc.svg  # to file

License

ACK