docs+site: Nightjar brand, hosted service, infrastructure plan, saved site
Some checks failed
ci / firmware (pull_request) Failing after 31s
ci / openapi (pull_request) Failing after 33s
ci / emulator (pull_request) Failing after 24s
ci / server (pull_request) Failing after 37s

Persists the branding/commercial/infrastructure work (previously only in chat and
on the live site) into version control.

What changed:
- docs/naming.md: due-diligence and the decision to brand the product Nightjar
  (OpenScribe domain/GitHub/trademark collisions; alternatives screened; why Nightjar).
- docs/hosted-service.md: the commercial model - plan tiers (Self-host / Cloud
  Starter / Cloud Pro / Private), indicative pricing, backend mapping, and the
  build-to-sell roadmap (metering, billing, provisioning, DPA).
- docs/infrastructure.md: backend infra plan. Primary option = self-host on the
  3x Minisforum MS-02 cluster (one with an RTX 3050 6GB) fronted by a Cloudflare
  Tunnel, with node roles, the 3050 capacity reality, caveats, and a Hetzner cloud
  fallback. Provision-later.
- site/: reproducible marketing-site source - block content for all 11 pages
  (rebranded to Nightjar), the navigation, the Contact Form 7 config (honeypot),
  the ApisCP SOAP helper (tools/apiscp.php, no secret), and a README on how the
  WordPress site is built and managed via the API.
- state/: DECISIONS (Nightjar rebrand, hosted service, MS-02 backend), PROJECT
  (brand + commercial section), TODO (rename decision, trademark, mailbox, pricing,
  hosted-service build, infra provisioning).

Why:
- User asked to save everything to the repo. Captures the product rebrand, the
  commercialisation plan, and the infrastructure decision so a cold session has the
  full picture.

Notes:
- The repo is still named `openscribe`; the product/brand is Nightjar. A full
  codebase rename is deferred (tracked in TODO + docs/naming.md).
- No secrets committed: the ApisCP API key is read from a local scratch file, never
  the repo.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Laurence 2026-07-05 22:24:24 +01:00
parent a3bdc3c6cf
commit 8fd9b694f8
21 changed files with 592 additions and 0 deletions

29
site/cf7-form-config.php Normal file
View file

@ -0,0 +1,29 @@
<?php
// Configure the default Contact Form 7 form: friendly fields, a honeypot field for spam
// protection, and the recipient. Flamingo separately stores every submission in the DB.
$form_id = 16;
if (!function_exists('wpcf7_contact_form')) { echo "cf7-missing\n"; return; }
$cf = wpcf7_contact_form($form_id);
if (!$cf) { echo "no-form\n"; return; }
$p = $cf->get_properties();
$p['form'] = implode("\n", array(
'<p>Your name<br />[text* your-name autocomplete:name]</p>',
'<p>Your email<br />[email* your-email autocomplete:email]</p>',
'<p>I am interested in<br />[select interest "Hosted plans" "Early access to the code" "Building a device" "Something else"]</p>',
'<p>Message<br />[textarea* your-message]</p>',
'[honeypot website-hp id:website-hp nomessage:true]',
'<p>[submit "Send message"]</p>',
));
$p['mail']['recipient'] = 'hello@12hobbies.studio';
$p['mail']['sender'] = 'Nightjar <wordpress@nightjar.12hobbies.studio>';
$p['mail']['subject'] = 'Nightjar enquiry from [your-name]';
$p['mail']['additional_headers'] = 'Reply-To: [your-email]';
$p['mail']['body'] = "Name: [your-name]\nEmail: [your-email]\nInterested in: [interest]\n\nMessage:\n[your-message]\n\n-- Sent from nightjar.12hobbies.studio";
$cf->set_properties($p);
$cf->save();
echo $cf->shortcode() . "\n";