Canonical project landing page for FTW.
Lean static site. Plain HTML, CSS and small scripts, no build step.
- Canonical target: https://ftw.energy
- Cutover: https://fortytwowatts.com must redirect to the canonical site
- Hosting: Cloudflare Pages
- Design system: https://design.sourceful.energy/DESIGN.md
The legacy home.fortytwowatts.com host is not part of the website redirect.
It remains a WebAuthn security identity until the separate passkey migration is
complete.
Use FTW's vision and
roadmap when writing product copy.
Explain FTW as a fast local energy core for people, agents and other software.
Show the iPhone app in the App Store, webapp, Home Assistant app and ChatGPT integration.
Send people who want app betas to Discord; the site does not publish a TestFlight link.
Keep preview integrations and planned features distinct from public releases.
Do not publish predicted savings as measured results. The savings example on
the home page comes from savings-model.mjs: one simulated home with made-up
prices, compared with the same home under ordinary self-consumption control,
as the vision asks. Both runs end with the same stored energy. Label it as an
example, and let tests/savings-model.test.mjs keep the page's numbers in
step with the model.
Product screenshots show the complete app viewport, without cropping or changing the interface. Use the public webapp demo and the iOS app's built-in demo. Label simulated homes. These show the interface, not measured savings or a worker benchmark. Keep HTML dimensions in step with the image files.
Current images come from the iPhone app's built-in demo on an iPhone 17 Pro
simulator (iOS 27.0), at 600 px wide, in English and dark. All five come from
the app's commit 8d31ca7 (1.1) with -FTWDemo YES -FTWTab now|plan|car|history|price -FTWHistorySpan today -AppleLanguages (en).
ftw-ios-now-ring.webp is also the page's preview image. All use simulated
data.
Now on the home page is not a recording. phone.mjs draws it live in a
drawn iPhone 17 Pro, in the app's points, with the app's ring rules ported to
ring.mjs from Flow.swift and FlowDiagram.swift. The layout, the strip
and the pass under it follow the app at 8d31ca7 (RingGeometry,
PlanStripDrawing.swift, PlanPass.swift). Its simulated home in
demo-home.mjs is the savings example's plan at four moments of the day, and
tests/ring.test.mjs holds both to the app's rules and the example. Label it
as drawn and simulated. When the app's Now changes, port the change and its
tests.
The plan dial in the planner section is the app's clock (PlanDial.swift,
PlanDialFace.swift): twelve hours a turn, the battery's band, a grey price
ring, the sun with its orb and the car's dots. dial.mjs holds its numbers
and words from the same example day, home.js draws it, and
tests/dial.test.mjs holds it to the app's rules. Its words stand at 11 px
or more, so its stage is the widest of the four.
The home page uses the iPhone app's dark palette and its colour per kind of
energy (ftw-app, Theme.xcassets), set in Satoshi with JetBrains Mono
labels. The layout borrows from Sourceful's editorial design
(https://design.sourceful.energy/DESIGN.md): a label rail beside the text,
ruled lists, square corners and hairlines. Keep it free of generic template
marks: no glows, gradients, rounded cards, pill buttons, scroll fades or
grey second halves in headings. Light belongs to the app's ring: inside the
iPhone, and as thin arcs of the same flow round the phone, running in toward
it for power coming into the home and out for power leaving, with the phone's
reading. Motion must show something, such as the ring, the example day, the
plan dial, the receipt or the app tour. home.css holds the home page's
styles and home.js runs it, respecting Reduce Motion: the ring holds still
with a chevron for direction and the arcs stop. The other pages keep
sourceful.css.
Sourceful maintains the product; Fredrik owns its direction. PRs are welcome, preferably based on issues. Share a short Markdown proposal or a focused fix with relevant evidence. Work is agentic first; see CONTRIBUTING.md. Keep existing license and attribution intact. Inspect rendered copy before publishing.
FTW's mark, Planbandet, is the word FTW over a band of the next twelve hours.
This repository is its home: brand/make.py draws every file in brand/.
To change the mark, change the numbers there, run
uv run --with pillow python brand/make.py and commit the output. Other
repositories copy these files and never draw the mark by hand.
brand/README.md lists the files and the rules.
Every header here is dark and shows brand/svg/ftw-mark.svg; a light header
would take ftw-mark-paper.svg. favicon.svg is a copy of
brand/svg/ftw-icon-tiny.svg. Keep its name: the device catalog loads it
too. tests/brand.test.mjs checks both.
/start (start.html) and /sv/start are the one way in: what a home
needs, the four ways to start (Home Assistant, a Linux computer, a ready box,
an AI assistant) and then the phone. Keep them plain text pages that an
assistant can read and follow. The home page's hero, its row of ways and
"Get FTW" lead there, and /claude redirects to /start#assistant.
Both start pages and the home page say how many drivers the
device catalog confirms on real
hardware ("6 of 91"). Read the numbers from the catalog's counts and change
all three together; tests/start-page.test.mjs keeps them equal and checks
the install line, the Home Assistant button and the MCP address on each page.
404.html answers every unknown path with a 404. Without it, Cloudflare
Pages would serve the home page with a 200. Every internal link must point at
a page that exists; the test checks them.
/devices and /sv/devices list every make FTW works with, by kind, with
what FTW does with each (controls or reads) and whether control is confirmed
on real hardware. The home page's section 03 shows the same makes as a wall,
with three steps to start. devices/make.mjs draws all three from
devices/catalog.json, a snapshot of the
device catalog that keeps
only what the pages show. To take a new snapshot and redraw:
curl -fsSL https://srcfl.github.io/device-drivers/drivers.json -o /tmp/drivers.json
node devices/make.mjs /tmp/drivers.jsonThen set the data-catalog counts on every page to the snapshot's totals;
tests/devices.test.mjs holds the pages to the snapshot and the counts to its
totals. The script files the Zap as a meter, since Core uses it as the site
meter only, and leaves out a driver that names no maker. Any charger that
speaks OCPP 1.6J or 2.0.1 needs no driver; the pages say so.
Section 05 of the home page gives two paths first: the Home Assistant button and one line for a Linux computer:
curl -fsSL https://ftw.energy/install.sh | bash -s -- --fresh-host_redirects sends /install.sh to scripts/install.sh on FTW's master
with a 302, and the installer picks the release, so the site never names a
version. Cloudflare Pages applies _redirects only to requests that skip the
worker: keep each source out of include in _routes.json.
tests/install-redirect.test.mjs checks both. Say what FTW runs on and what
a home needs, link the device catalog, and say the iPhone app needs FTW
running at home and Android is an early test build (ask in the FTW Discord). The box waitlist is one row after the
paths. Name the Home Assistant app as its store shows it, FTW (beta)
(srcfl/home-assistant-addons#56), on the home page and both support pages.
Do not call FTW stable until the stable release is out.
Install and update FTW is the single source for every other command and for update paths. Link to it instead of copying version numbers or other shell commands into this site. 2.x and 3.x receive no more updates; recommend the new 0.x line. The old Pi image, one-line Docker installer and 3.x Home Assistant beta are not current install choices. Explain that a new setup is available now but guided transfer of old settings and history is not ready. For an existing Pi, put the physical SD-card swap before install commands. Present same-host Docker as a separate option for people who can manage its services, not the next step after a failed native install.
- iPhone and Apple Watch app, FTW Energy: https://apps.apple.com/app/ftw-energy/id6822024949
(Swedish pages use
/se/app/ftw-energy/id6822024949). App betas go through Discord. - Webapp and interactive demo: https://app.ftw.energy/
- Home Assistant app: https://github.com/srcfl/ftw/blob/master/docs/home-assistant-app.md (the button uses https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fsrcfl%2Fhome-assistant-addons)
- Linux installer: https://ftw.energy/install.sh (a redirect; see Installation copy)
- Get started: https://ftw.energy/start and https://ftw.energy/sv/start
- ChatGPT integration and its availability:
/chatgpt - Anonymous project statistics: https://stats.ftw.energy/
- FTW plugin for assistants: https://github.com/srcfl/ftw-plugin
- Discord: https://ftw.energy/discord (a redirect to https://discord.gg/UK2ygPBu8N) and
https://ftw.energy/sv/discord (the Swedish channel, https://discord.gg/25xcBzQaux).
The iPhone, Android and web apps and the box's own page link only to these two
addresses, so a new invite needs one change in
_redirects.
The home page's two forms post to /api/signup in _worker.js. It accepts
same-origin JSON only, checks the address, list and country, ignores a filled
hidden field and answers the same for a new and a known address. It then hands
the sign-up to Utskick (srcfl/utskick), our
newsletter sender, through the service binding UTSKICK, which calls Utskick's
subscribe() over RPC; the call never leaves Cloudflare and the method cannot
be reached from the internet. The site's news and gateway lists are
ftw-news and ftw-box there. The site passes the visitor's IP address as
ip, so Utskick limits sign-ups to 10 a minute per visitor; Utskick keeps no
IP address. It keeps the lists in its own EU D1 database and sends through
Amazon SES in Frankfurt. Bind UTSKICK in
production only: a preview deployment with the binding would sign people up for
real. Without the binding the endpoint answers 503 and the forms say sign-up is
closed. Test only with your own address, then unsubscribe with the link in the
first email. Each sign-up records the consent version that privacy.html#email
describes; change both together.
python3 -m http.server 8000Then open http://localhost:8000. The static server runs neither _worker.js
nor _redirects, so the sign-up forms report that sign-up is closed and
/install.sh answers 404. It does not drop .html either: open
/start.html for /start.
node --test tests/*.test.mjsFTW code uses AGPL-3.0-only with the narrow Energyplan combination permission. Commercial FTW use is allowed under the AGPL terms. The proprietary Energyplan worker is free for private household use; commercial worker use, bundling and paid services require a separate written Sourceful license. Keep product copy consistent with LICENSING.md, which also explains the separate rights in website artwork and brands.