A cyberpunk delay announcement generator.
Go to file
Brian Lindner fdb7b3c29f Merge pull request 'Mention fold in the readme' (#1) from BadAtNames/cyberpunkgen:main into main
Reviewed-on: #1
2020-10-27 22:06:14 +01:00
examples Initial commit 2020-10-27 16:35:36 -04:00
.gitignore Initial commit 2020-10-27 16:35:36 -04:00
README.md Mention fold in the readme 2020-10-27 22:04:56 +01:00
go.mod Initial commit 2020-10-27 16:35:36 -04:00
go.sum Initial commit 2020-10-27 16:35:36 -04:00
main.go Initial commit 2020-10-27 16:35:36 -04:00
template.png Initial commit 2020-10-27 16:35:36 -04:00

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