• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wrouesnel / code-card / 36104678040
87%

Build:
DEFAULT BRANCH: main
Ran 25 Sep 2026 06:51AM UTC
Jobs 1
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2026 06:47AM UTC coverage: 87.293%. First build
36104678040

push

github

wrouesnel
Port code-card to Go and add a static site version

Replace the Python implementation with a self-contained Go application
based on the wrouesnel/golang-template scaffold:

- pkg/codecard generates random and encoded tables and renders PDFs with
  fpdf, with no CGO or font files needed.
- pkg/pyrandom is a CPython-compatible Mersenne Twister, so encoded
  tables are identical to those of the Python implementation.
- pkg/entrypoints/code_card provides the random and encoded commands,
  prints nothing on success and a single line on error.

Add staticsite/, a standalone web page implementing the same algorithm
in the browser. It takes optional title, encoded_salt, mode and count URL
parameters, can generate a secure random salt, and prints up to 8 random
cards on an A4 landscape sheet, centred inside a 10mm margin. Its
JavaScript is tested against the Go implementation in goja.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

316 of 362 new or added lines in 7 files covered. (87.29%)

316 of 362 relevant lines covered (87.29%)

261.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
39.02
pkg/entrypoints/code_card/prompt.go
7
89.55
pkg/entrypoints/code_card/entrypoint.go
6
81.82
pkg/entrypoints/code_card/commands.go
5
93.67
pkg/pyrandom/pyrandom.go
3
0.0
cmd/code-card/main.go
Jobs
ID Job ID Ran Files Coverage
1 36104678040.1 25 Sep 2026 06:51AM UTC 7
87.29
GitHub Action Run
Source Files on build 36104678040
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 22fd2c1e on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc