Skip to content

chore: new website, docs site, unified CI & crates.io publishing#428

Merged
veeso merged 55 commits into
mainfrom
chore/new-site
Jun 8, 2026
Merged

chore: new website, docs site, unified CI & crates.io publishing#428
veeso merged 55 commits into
mainfrom
chore/new-site

Conversation

@veeso

@veeso veeso commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

Branch reworks the project's web presence and release pipeline.

Website (termscp.rs)

  • New Astro site: landing page with dual-pane explorer hero, Catppuccin theme, responsive mobile nav, theme toggle
  • Install page driven by install.sh (single source, copied at build time) + package-manager tabs
  • Windows PowerShell installer + copy buttons
  • English-only (i18n machinery removed), robots/sitemap, Vercel redirects + cache headers
  • Build-time man.md fetch pinned to release ref

Docs (docs.termscp.rs)

  • mdBook scaffolds for en-US and zh-CN (introduction, getting-started, usage, configuration, CLI reference, developer pages)
  • Language switcher, shared assets, CNAME, markdownlint config
  • READMEs point to termscp.rs + docs.termscp.rs

CI / Release

  • Unified per-OS workflows into one
  • GitHub Pages workflow for docs site
  • crates.io publishing via OIDC trusted publishing (no stored token) with full-verify build using Linux SMB deps
  • install.sh fixes: quoting, set -e cargo check, rustup tmpfile cleanup

Chores

  • Remove ko-fi references
  • Drop legacy SPA / dead language links

Follow-up before next release

Register the trusted publisher on crates.io: crate termscp -> Settings -> Trusted Publishing (repo veeso/termscp, workflow release.yml).

veeso added 30 commits June 7, 2026 21:02
Add install.ps1 mirroring install.sh for Windows: arch detection,
release zip download, binary extraction, user PATH update.

- copy install.ps1 to site public/ at build time (copy-install.mjs)
- serve /install.ps1 with text/plain Content-Type (vercel.json)
- add PowerShell one-liner to install page and README
- bump install.ps1 default version in bump_version.sh
- add CopyButton component next to every install command line
Add Site GitHub Actions workflow running prettier format check, astro
check, tests, and build on changes under site/. Wire prettier into the
site package with config, ignore, and scripts, and format existing
sources.
veeso added 24 commits June 8, 2026 08:48
…leanup

- silence SC3043 by declaring dash dialect (local is supported)
- quote unquoted vars (SC2086/SC1090)
- fix set -e aborting arch install before cargo check
- fix install_cargo removing unset $archive instead of $rustup
- make brew upgrade fallback a real if-then-else (SC2015)
- drop leftover starship BASE_URL and debug echo $1
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
termscp Ready Ready Preview, Comment Jun 8, 2026 8:04am

Request Review

@cocogitto-bot

cocogitto-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

✔️ 14dd0db...d4a8d44 - Conventional commits check succeeded.

@veeso
veeso merged commit 1ca8abb into main Jun 8, 2026
14 of 15 checks passed
@veeso
veeso deleted the chore/new-site branch June 8, 2026 08:16
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