Convert WriteFreely quotes to Instagram / PixelFed posts.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Matt Baer 45cda28e42 Support configuring image size il y a 3 ans
cmd/wfgraphic-cli Support configuring image size il y a 3 ans
fonts Support setting font for graphic il y a 3 ans
.gitignore Ignore .idea dir il y a 3 ans
LICENSE License project under AGPL il y a 3 ans
README.md Put README examples in `table` il y a 3 ans
go.mod Create basic image creation tool il y a 3 ans
go.sum Add go.sum file il y a 3 ans
options.go Support setting font for graphic il y a 3 ans
textpic.go Support configuring image size il y a 3 ans

README.md

text-pic

This tool generates a social media-friendly graphic from some text. It’s especially made to be paired with WriteFreely, a minimalist blogging platform.

Usage

To run this, you’ll need Go installed. With that, you can compile the project:

go get github.com/writeas/text-pic/cmd/wfgraphic-cli

Then you can run wfgraphic-cli with the options below. The actual content of the graphic is read from stdin, which you can either supply when prompted to, or pipe in (e.g. cat quote.txt | ./wfgraphic-cli).

Usage of wfgraphic-cli:
  -font string
        Post font (options: "serif", "sans", "mono") (default "serif")
  -i string
        WriteFreely instance hostname (e.g. pencil.writefree.ly) (default "write.as")
  -o string
        Image output filename (default "out.png")
  -u string
        WriteFreely author username (for multi-user instances)

Examples

Sample using default fonts. Sample using 'sans' font and a custom domain.