Skip to content

README: refreshed in hark's style, with a graphics generator and real screenshots - #16

Closed
junaydirfan wants to merge 1 commit into
masterfrom
readme
Closed

junaydirfan wants to merge 1 commit into
masterfrom
readme

Conversation

@junaydirfan

Copy link
Copy Markdown
Owner

A refresh of the README in the style of hark's: more graphics, less text, plain tone. Install and setup are a short main path, with troubleshooting, building from source and the details in <details>.

Graphics

  • assets/readme/make.py, ported from hark's generator, builds every SVG (hero, what's different, features, For You, get started, numbers, how it works, keys). It embeds subset fonts, so they look the same everywhere. Run: TRILL_FONTS=…/JetBrainsMono/fonts/ttf python3 assets/readme/make.py. All numbers live in one NUMBERS table at the top.
  • Real screenshots: assets/readme/screens/capture.sh runs trill in tmux (140×42, --preview, so nothing plays) on copies of a config, cache and data folder, and tmux capture-pane -e saves the screens. make.py renders them cell by cell. The content is neutral: Fleetwood Mac's Rumours, and For You worked out from a play log of 16 well-known songs. Two edits, both stated in the scripts: the sidebar's playlist names are replaced by position with neutral ones, and one song with an explicit title is marked "not interested" (what X does) before For You is worked out.
  • Rendered to PNG with rsvg-convert and checked for overflow and overlap (the hero subtitle and the footprint labels were fixed). rsvg doesn't fully honour textLength, so a highlighted row can look a few pixels wide there; browsers render it right.
  • Removed footprint.svg and speed.svg, which numbers.svg replaces. screenshots/Timeline.gif is kept but no longer used. Delete it if you don't want it.

Numbers

All measured on the v0.6.0 release download (Linux), except the EQ line, which is labelled as not re-measured. Key-to-frame comes from a temporary timing build of the same code, and says so. The release binary links OpenSSL 3, which on CachyOS/Arch is a compatibility library nothing else shares. That adds about 1.3 MB of PSS compared with a build from source (17.4 vs 15.8 MB at start); the README says so.

New sections

For You (how it ranks, and exactly what goes to Spotify), Your data (which files hold what, and which three to copy to another computer), plus the new keys (z, F, X, per-list o, search history).

@junaydirfan

Copy link
Copy Markdown
Owner Author

Superseded by the PR from readme-refresh (this branch was rebased after it was pushed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant