No description
- JavaScript 32%
- CSS 27.8%
- Kotlin 22.1%
- Pug 18%
Owner, 2026-10-12 (selection, B-5 of docs/b2b/plan.md in the hiot monorepo): "Yes, build it" — so the weekly review of the B2B channels can see which channel brings replies. - server.js: cleanRef() keeps only a short lower-case tag ([a-z0-9-], 1–32); anything else is dropped, never stored or echoed. GET /?ref=hn renders it into the form; POST /contact stores it. - landing.pug: a hidden `ref` field in the contact form, only when present — so it works with JavaScript off too. contact.js sends it in the JSON. - db.js: `ref` column, added IN PLACE to an existing database (the live one has messages); the app API returns it. - android: the message screen shows "Came from" when a message has a ref. Checked: npm test 37/37 (incl. hostile/overlong refs, the no-JS form post, and upgrading an old database with a row in it); hiot's check-contact-popup.py 43/43 in Chromium opening the page with ?ref= — and red (2 failures) against the previous build, so the check can fail; on the bench Pixel the message screen shows "Came from: popup-check". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .sajt | ||
| android | ||
| data | ||
| deploy | ||
| test | ||
| testing | ||
| .gitignore | ||
| artur-gurgul-resume.yaml | ||
| db.js | ||
| DEPLOY.md | ||
| index.md | ||
| package-lock.json | ||
| package.json | ||
| push.js | ||
| README.md | ||
| server.js | ||
| ignore |
|---|
| true |
artur.gurgul.pro
The source of https://artur.gurgul.pro: a single landing page, served by Express.
index.md: the page's data (front matter only)..sajt/layouts/landing.pug+art.pug: the page itself..sajt/static/: CSS, fonts and favicon, served at/static.server.js: the Express app. It renderslanding.pugon every request.
The views still live under .sajt/ from when Sajt built this site as static
pages. They will move once the hosting has moved to Express.
Run
npm ci
npm start # http://127.0.0.1:3000
PORT=8080 HOST=0.0.0.0 npm start
npm test
Requires Node.js 20 or newer.
Deploy
The server setup (systemd service, nginx, contact database) and the steps to
switch the live site over are in DEPLOY.md. The files are in
deploy/.