Skip to content

nixcon/badges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes

Font

  • Vegur (nixpkgs.vegur)

What to replace?

  • %NAME0% → full names
  • %NICK0% → nicknames
  • %IMAGE0% → avatars

The indices go from one (1) to ten (10); yes, I'm mad.

Making sure the image is 1024x1024

convert in.png -thumbnail 1024x1024^ -gravity center -extent 1024x1024 out.1024.png

Exporting

inkscape --export-pdf=out.pdf badge-herma-9011.svg

Script

generate_badges.py is a script consuming a Eventbrite "Attendee Summary" (CSV format) from members.csv.

It downloads attendees github avatar images, updates the SVG as described above (also removing the avatar space if no avatar found), and finally concatenates pages together into a out.pdf file for easy printing

It doesn't resize images with imagemagick as described above, seems this was not necessary.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages