Repository navigation
README: awesome-readme layout, docs/ mirrored to the wiki, one README for nuget.org (v1.3.1) - #22
Merged
Merged
Conversation
The wiki and docs/packages had drifted apart (docs/packages/web.md still described the retired Blazor app). docs/ now holds everything, with page names that match the wiki: - The README's long sections become user-guide pages: Supported-Commands (with the emulated printer spec and "Adding a command"), Connecting, Using-the-App (Monitor, printer state, export, render backend), Architecture (packages, one app with two heads, fonts) and Building-and-Testing (plus how releases, the site and the wiki are published). - The wiki's library guides (newer than docs/packages) are imported with file links, replacing docs/packages/. - ESCPOS.md moves to docs/ESC-POS-Notes.md. - docs/README.md indexes the pages and becomes the wiki's Home; docs/_Sidebar.md is its sidebar. Nothing from the old README is dropped: every section lives on in docs/, with repo paths fixed for the new location (for example, EscPos/Commands is now src/CrossEscPos.Core/EscPos/Commands). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
scripts/docs-to-wiki.sh mirrors docs/ into a wiki checkout and rewrites links for the wiki: page links drop ".md", README.md becomes Home, ../ repo paths point at GitHub, and sibling images load from raw.githubusercontent.com. The Wiki workflow runs it when docs/ changes on main and pushes the result with GITHUB_TOKEN. Dry run against the current wiki: the existing 10 pages come out byte-identical, Home and _Sidebar are updated, and the 6 new user-guide pages are added. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Restructured along GitHub's and makeareadme.com's guidance (what it is, why it's useful, how to get started, where to get help, who maintains it), with the long reference moved to docs/: - Badges, a one-paragraph description, links to the live demo, downloads, docs and site, a current screenshot, and a pointer to the port write-up. - Features, Download (direct links for every platform plus the browser), Quick start (a tested `printf | nc` one-liner, the Monitor, and a library snippet). - The "From WPF to Avalonia" write-up, kept verbatim, with its before/after screenshots. - Documentation index, Contributing and support, project status, Credits and license. 443 lines down to 194. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Follows the READMEs curated in matiassingers/awesome-readme that are closest to this project (sniffnet, Terminal.Gui, electron-markdownify, httpie, The Lounge), plus the "what it doesn't do" section from 0xelitesystem/oss-readme-template: - Centered header: the app icon as the logo, a one-line description, a badge row and a row of section links. - A demo GIF as the hero (docs/demo.gif, 1.8 MB). It shows the browser version, served by the SignalR host, receiving a receipt over TCP, dropping a job while the cover is open, and printing barcodes and 2D codes. It was recorded in headless Chromium and replaces the static screenshot. - A short problem statement before the features, and bold lead-ins on each feature. - A download table with a badge for each OS and direct links. - Troubleshooting in collapsible sections: macOS quarantine, Linux font libraries, port in use, libusb, and Web Serial/WebUSB browser support. - A Limitations section that names the main gaps and replaces the one-line project status. The macOS note uses a plain blockquote instead of a [!NOTE] alert because NuGet also shows this README, and it doesn't render GitHub alerts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the README easy to read and moves the long reference into
docs/, which is now also the source of the wiki.README (443 → 260 lines)
The new layout follows GitHub's README guidance (what it does, why it's useful, how to get started, where to get help, who maintains it) and makeareadme.com:
printf … | nc -w 1 localhost 9100one-liner (tested against the app: it prints and cuts), the Monitor, and a library snippet.Patterns from awesome-readme
A second pass follows the awesome-readme exemplars closest to this project (sniffnet, Terminal.Gui, electron-markdownify, httpie, The Lounge). From oss-readme-template it takes the problem statement and the "what it doesn't do" section.
docs/demo.gif, 1.8 MB): the browser version receiving a receipt over TCP, dropping a job while the cover is open, and printing barcodes and 2D codes. Recorded in headless Chromium.One README for GitHub and nuget.org (and v1.3.1)
nuget.org renders package READMEs with raw HTML disabled (
DisableHtml()in NuGetGallery'sMarkdownService), ignores relative links, and only loads images from allow-listed hosts. Instead of maintaining a second README,build/PackageReadme.targetshooks$(BeforePack)and generates the package's copy of the repo README:<img>,<a>and<details>become plain Markdown.raw.githubusercontent.comand relative links togithub.life-white.uk/.../blob/, both pinned to the packed commit.v1.3.1after merging.docs/ as the single home, mirrored to the wiki
The wiki and
docs/packages/had drifted apart;web.mdstill described the retired Blazor app.docs/packages/.ESCPOS.mdmoves todocs/ESC-POS-Notes.md.docs/README.mdbecomes the wiki Home, anddocs/_Sidebar.mdits sidebar.scripts/docs-to-wiki.shand the new Wiki workflow publishdocs/to the wiki whenever it changes onmain, rewriting links for the wiki.docs/, not in the wiki.Checked
docs/page, or deliberately rewritten (features, the download table, path fixes).README.mdanddocs/*.mdresolves. I fixed one broken#monitoranchor that came from the wiki.Challenge criteria (Avalonia Port Challenge: "builds for each platform you targeted, before-and-after screenshots, and your migration write-up in the README")
After merge, the Wiki workflow's first run publishes the new pages. Its push uses
GITHUB_TOKENwithcontents: write, and I'll confirm that run succeeds.🤖 Generated with Claude Code