Skip to content

A sh script to print certificates for some contests.

Notifications You must be signed in to change notification settings

thudep/award-cert-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Award Certificates Printer

A sh script to print certificates for some contests.

How to use

Install dependencies

  • typst: a LaTeX alternative, its package name hardly vary on different platforms
  • Source Han Serif: font used in the template

Provide a name list

The input file list.CSV should be like this:

清小华,三等奖,2024地球中微子暑期学校
华小清,二等奖,2024地球中微子暑期学校

(Optional) Modify the template

You may modify template.typ to customize the style.

Run the script

There are two ways to run the script. Here are some examples, and you can use -h to show the help message.

1. Use the default secret(stored in secret.txt) to generate the sha1

Create a secret.txt file with the secret in it, then run:

./generate.sh

2. Use a custom secret to generate the sha1

./generate.sh -s <your_secret>

About

A sh script to print certificates for some contests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published