Repository navigation
Add the project website at askkey.sudohg.com - #184
Merged
Merged
Conversation
A real-time three.js scene on a walnut desk acts out one request: the AI finds the key in Ask Key's catalog, asks for it, waits for the reader's approval in Ask Key's real prompt, and the key goes straight to the program while the AI gets back one line. The reader's click decides the ending. Phones and portrait tablets get an upright composition, reduced motion gets a still telling, and browsers without WebGL2 get posters. Readable source lives in site-src/how and is bundled with esbuild into site/how; three.js ships with its MIT licence. Text in images uses only open fonts.
A bilingual one-page site (English at /, Simplified Chinese at /zh/): the hero, the film, per-key permissions stamped as seals, the AI tools that connect in one click or by hand, the limits, and the download, with links to the repository, release notes and the security model. The site is static HTML and CSS with a small script for motion. It loads nothing from other hosts, ships only open fonts, and busts caches with content hashes. A Pages workflow deploys site/ from main. The READMEs link to the site, and the hygiene check allows Chinese in the two pages.
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.
Refs #160. Adds the bilingual one-page website and the Pages workflow. The issue stays open until Pages and DNS are set up (step 4) and the acceptance check against https://askkey.sudohg.com passes.
What's in it
site/: English at/, Simplified Chinese at/zh/. Sections: hero, "How it works" film, permissions (Allow / Ask every time / Hidden as seals), clients, limits, download. Static HTML and CSS plusmotion.jsfor the seal stamping, the client lines and the hanging access card.site-src/how/: readable source of the film (three.js r186, MIT, bundled with esbuild intosite/how/how.js, licence shipped next to it).npm run buildalso stamps content hashes onto the CSS and JS URLs so a new page never pairs with a cached old script. Seesite-src/how/README.md..github/workflows/pages.yml: deployssite/on pushes tomainthat touchsite/; actions pinned to commit SHAs.scripts/check_hygiene.py: allows Chinese in the two pages.README.mdandREADME.zh-CN.mdlink to the site.Deviations from the issue, approved by the maintainer in session
releases/latest/download/AskKey.dmg, which every release publishes since Publish stable-named release assets for direct downloads #165; no version number is hard-coded. A smaller link goes to the releases page.grokCLI that Ask Key connects to.Fonts and images
Shipped fonts: Hanken Grotesk and IBM Plex Mono (Latin-1, unmodified), OFL, licences in
site/fonts/. System fonts are only named in CSS. Every image with text (seals, No-WebGL posters, share images) is set in open fonts only (Source Han Serif/Sans, Hanken Grotesk).Evidence
python3 scripts/check_hygiene.py: passed.python3 scripts/check_module_deps.py: passed.site/: onlyhreflinks to github.com/sudoHG and askkey.sudohg.com, pluswww.w3.orgnamespaces; the bundle also contains one citation URL inside a three.js shader comment string. No externalsrc,url()or@import.After merge (maintainer)
askkey.sudohg.com, enforce HTTPS.CNAME askkey -> sudohg.github.io, DNS only.