跳转至

生成数据总览页

生成 SVG 数据总览页

显示效果预览:

生成 {Your Name} Running SVG

python scripts/gen_svg.py --from-db --title "${{ env.TITLE }}" --type github --athlete "${{ env.ATHLETE }}" --special-distance 10 --special-distance2 20 --special-color yellow --special-color2 red --output assets/github.svg --use-localtime --min-distance 0.5

生成 每一年的 {Your Name} Running SVG

python scripts/gen_svg.py --from-db --year $(date +"%Y") --title "$(date +"%Y") Running" --type github --athlete "${{ env.ATHLETE }}" --special-distance 10 --special-distance2 20 --special-color yellow --special-color2 red --output assets/github_$(date +"%Y").svg --use-localtime --min-distance 0.5

生成 Over {Num}KM Running SVG

python scripts/gen_svg.py --from-db --title "${{ env.TITLE_GRID }}" --type grid --athlete "${{ env.ATHLETE }}"  --output assets/grid.svg --min-distance 10.0 --special-color yellow --special-color2 red --special-distance 20 --special-distance2 40 --use-localtime

生成年度环形 SVG

python3(python) scripts/gen_svg.py --from-db --type circular --use-localtime

更多显示效果,请参考:
https://github.com/flopp/GpxTrackPoster