A cyberpunk delay announcement generator.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brian Lindner fdb7b3c29f Merge pull request 'Mention fold in the readme' (#1) from BadAtNames/cyberpunkgen:main into main 2 years ago
examples Initial commit 2 years ago
.gitignore Initial commit 2 years ago
README.md Mention fold in the readme 2 years ago
go.mod Initial commit 2 years ago
go.sum Initial commit 2 years ago
main.go Initial commit 2 years ago
template.png Initial commit 2 years ago

README.md

cyberpunkgen

A simple command line tool for generating Cyberpunk 2077 delay announcements.

I figured CDPR might need it. They're probably too busy crunching their workers to keep making too many more of these by hand.

Usage

Build it (you need Go installed):

git clone https://codeberg.org/bclindner/cyberpunkgen
go build

Next you need the TTF version of the announcement font, Blender Pro. find it and save it as "BlenderPro.ttf" in the repo directory. You could also save any other TTF but it would look wrong.

To run, pipe a text file into it:

./cyberpunkgen < examples/announcement.txt

Easy as that. I'll probably break this out into a library later.

You can use the fold command to make sure your text fits the image. About 130 bytes seems to work fine.

fold -w 130 -s -b singleline.txt | ./cyberpunkgen