Introduction
frendds is a program to generate a D2 file from friends.txt files of a domain.
Examples
An example output generated by frendds rehandaphedar.com
is in example.d2. The output generated by d2 example.d2
with default settings looks like this:
Installation
Install Dependencies
Installation
go install git.sr.ht/~rehandaphedar/frendds@latest
Usage
frendds [domain]
Example:
frendds rehandaphedar.com
You can use the generated file with d2
. For example, to generate an svg:
frendds rehandaphedar.com | d2 - graph.svg
The output is a normal d2
file, and thus, all options from the D2 documentation should work.
Building
Build Dependencies
Building
Clone the source code
git clone https://git.sr.ht/~rehandaphedar/frendds
cd frendds
go build .