Commit Graph
45 Commits
Author SHA1 Message Date
tonymandClaude Fable 5.1 59ed6a5951 feat(otm): shared OTM login look, ported verbatim (0.4.2)
Build / Build and release (push) Failing after 1s
Port OTM_LOGIN_CSS + the otm-login markup structure from
@otm/account-panel otm-login-core.ts 0.44.0 verbatim into
login_page() (brand "13ft" / "Read the article without the cruft.",
accent --otm-accent:#b5562a copper, otherwise the module's neutral
ink defaults). Still OTM-only (no "Other ways to sign in"), fail-closed
503 copy + reasons + tides beacon unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LCQmFvKshyAJsE8C3B5ET
2026-10-19 00:21:58 -05:00
tonymandClaude Fable 5.1 9b37dd5f2b feat(otm): sign-in page onto the shared OTM standard (0.4.1)
Build / Build and release (push) Failing after 15s
Restyle login_page to the platform standard: brand (name + tagline)
above one centered card, "Sign in with OTM" as the full-width primary
button, and a muted Face ID/Touch ID/passkey helper line under it.
13ft has no local accounts, so there's no "Other ways to sign in"
step. The fail-closed "isn't wired to OTM yet" 503 copy and the tides
beacon are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LCQmFvKshyAJsE8C3B5ET
2026-10-18 23:32:37 -05:00
tonymandClaude Fable 5.1 71abf89784 feat: Sign in with OTM, health, changelog, tides beacon, Ideas — first OTM release (0.4.0)
Build / Build and release (push) Failing after 19s
app/otm.py is the Python port of pickup's ticket verifier (HS256, mandatory
exp, audience check, alg only read to reject, never raises) plus a signed
session cookie and an in-memory single-use jti guard. portable.py gates every
route but PUBLIC_PATHS behind a session and fails CLOSED (503) with no secret
— it is a fetch proxy. /api/health reports the version, /changelog renders
CHANGELOG.md, the footer carries version/sign-out/Ideas, tides beacon from
TIDES_HOST/TIDES_SITE_ID. Dockerfile: OTM labels + HEALTHCHECK. 17 tests.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LCQmFvKshyAJsE8C3B5ET
2026-10-18 22:22:27 -05:00
Wasi Master d03b120c41 Fix Freedium fallback for the current mirror layout
Build / Build and release (push) Failing after 5m53s
freedium.cfd no longer resolves, and freedium-mirror.cfd has been
rewritten as a SvelteKit app that renders the post inside <main> rather
than the old <div id="main-content">. The content check therefore
rejected every mirror response, so Medium articles always fell through
to the archive fallbacks.

Accept either marker, and reject the mirror's error pages explicitly:
they return HTTP 200 with a streamed error payload and ship an empty
<article> skeleton, so <article> alone does not prove a post rendered.

Also fix an unrelated crash in process_html_document that blocked this
path (and every page with an inline script): get_text() has no "default"
keyword, so it raised TypeError.

Closes #49
2026-09-18 03:29:28 +06:00
Wasi Master d7505d639a Improve challenge detection 2026-07-18 16:59:03 +06:00
Wasi Master f789fdcfd4 Fix for sites that have a base tag 2026-07-12 21:47:11 +06:00
Wasi Master 06746d6017 Add a favicon to pages 2026-07-12 21:18:36 +06:00
Wasi Master 9069a1cf33 Fix for news24 2026-07-12 21:18:33 +06:00
Wasi Master 48bfa0f9d3 Add page cache and browser history support
Now pressing back works and it uses the article/ path instead of rewriting dom
2026-07-12 20:40:07 +06:00
Wasi Master 05fa7f695e Add a better theme toggle 2026-07-12 20:02:30 +06:00
moduvoice 161c291e51 i18n: add Korean (ko) locale
Adds app/locales/ko.json with a natural Korean translation of all 25
UI strings, matching the exact key structure of en.json, and lists
ko under the Built-in locales section of the README.
2026-07-11 22:12:47 +07:00
Wasi Master e513a8d190 Fix for seattle times
Closes https://github.com/wasi-master/13ft/issues/34
2026-05-15 05:21:21 +06:00
Wasi Master 0df86cfc2b Use query param for /status and unquote URL for vercel support
Change the /status endpoint to accept the target URL via a query parameter instead of a path component. Update client-side EventSource to call /status?url=... and import urllib.parse.unquote to decode the incoming URL. Return a 400 error when the url param is missing. This avoids routing/encoding issues with encoded URLs.
2026-05-15 05:07:30 +06:00
Xabi 66fa9d53e5 Create eu.json
Add Basque localisation
2026-05-14 14:11:15 +02:00
Wasi Master 006373619e Add few more locales 2026-05-12 00:59:46 +06:00
copilot-swe-agent[bot]andwasi-master 1cefe387ab rebase localization onto latest main
Agent-Logs-Url: https://github.com/wasi-master/13ft/sessions/85227ed8-0556-4ae4-a47b-92bfed6cfe67

Co-authored-by: wasi-master <63045920+wasi-master@users.noreply.github.com>
2026-05-11 18:48:53 +00:00
copilot-swe-agent[bot]andwasi-master 9f851e3207 rebase localization onto latest main
Agent-Logs-Url: https://github.com/wasi-master/13ft/sessions/85227ed8-0556-4ae4-a47b-92bfed6cfe67

Co-authored-by: wasi-master <63045920+wasi-master@users.noreply.github.com>
2026-05-11 18:43:54 +00:00
copilot-swe-agent[bot]andwasi-master e7669b7e08 feat: make UI strings localisable via LOCALE environment variable
Agent-Logs-Url: https://github.com/wasi-master/13ft/sessions/3b6e6061-c4d2-4aa1-879b-8526ccd3b1db

Co-authored-by: wasi-master <63045920+wasi-master@users.noreply.github.com>
2026-05-11 18:41:32 +00:00
copilot-swe-agent[bot]andwasi-master fc9559ad8b Apply all review comments from PR #43
Agent-Logs-Url: https://github.com/wasi-master/13ft/sessions/62de0c61-bb98-4941-9db2-3e6b22b08033

Co-authored-by: wasi-master <63045920+wasi-master@users.noreply.github.com>
2026-05-11 18:28:53 +00:00
Wasi Master e8d4393ea5 Merge branch 'main' into feat/status-page-and-bypass-fallbacks 2026-05-12 00:06:04 +06:00
Wasi Master 7ab30974b7 Remove index and rely on only portable.py 2026-05-11 23:59:32 +06:00
Jan R. SeylerandClaude Opus 4.7 f0a12864ec Add loading status page and multi-source bypass fallbacks
Replaces the previous synchronous form-POST flow (which left users
staring at a white screen for the duration of the upstream fetch)
with an SSE-driven status page that shows real-time progress through
each stage of the bypass attempt.

Bypass pipeline:
- Direct fetch with Googlebot UA (unchanged for non-Medium URLs)
- Detect Cloudflare-style anti-bot challenge pages in the response
- Fallback 1: Freedium (freedium-mirror.cfd, then freedium.cfd) for
  medium.com hosts — short-circuited before direct fetch since
  Cloudflare consistently blocks the Googlebot UA from non-Google IPs
- Fallback 2: archive.org Wayback Machine snapshot
- Fallback 3: archive.today / archive.ph / archive.is / archive.li
  mirrors (all four tried in sequence)
- Surface a clear error if every source fails

UI:
- Animated step list with spinner / checkmark per stage
- Progress bar and elapsed-time counter
- Honest error box with retry button instead of a blank page

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 15:00:00 +02:00
dablenparty 53cf57ec60 Add gunicorn production server 2025-10-01 12:00:35 -04:00
dablenparty 71bfa80778 Format files 2025-10-01 11:34:07 -04:00
Wasi Master cbb40f9e94 Autofocus on input field
Closes https://github.com/wasi-master/13ft/issues/31
2024-10-27 15:57:11 +06:00
Wasi Master 40b1d9aa95 Fix Placeholder Chrome Version in User-Agent
Closes https://github.com/wasi-master/13ft/issues/22
2024-08-20 20:03:04 +06:00
Wasi Master f68c29a1dc Update portable.py 2024-08-14 15:49:18 +06:00
Wasi Master cbb1e8568d Remove debug prints 2024-08-14 15:44:06 +06:00
Wasi Master ffefe1193b Fix relative links
Closes https://github.com/wasi-master/13ft/issues/10
2024-08-14 15:40:07 +06:00
Wasi Master 1a75fe508b Some UI Improvements 2024-08-14 14:49:47 +06:00
Wasi Master d89e451405 Add dark mode to portable.py 2024-08-14 13:38:33 +06:00
Wasi Master 8c65983dad Add dark mode
Closes https://github.com/wasi-master/13ft/issues/20
2024-08-14 13:35:52 +06:00
Wasi Master d7260ebd7c Format files 2024-08-14 13:17:52 +06:00
Wasi Master c641ec68d9 Merge pull request #19 from luizpicolo/main
Improve UI
2024-08-14 12:58:13 +06:00
Luiz F. Picolo 73b410fc3e Added restart and remove desnecessary version 2024-08-05 21:56:54 -04:00
Luiz F. Picolo a3e2a5c896 Fixed top position 2024-08-05 21:43:46 -04:00
Luiz F. Picolo a941346fde Improve UI 2024-07-09 18:29:27 -04:00
Joao620 4e4404ff79 infer the url protocol 2024-05-01 19:44:41 -03:00
Wasi Master dab9b712a4 Edit duplicate requirements.txt 2023-11-02 00:17:41 +06:00
Wasi Master 5caa9afb28 Fix screenshots 2023-10-31 23:50:37 +06:00
Wasi Master f02ca7e961 Revert requirements.txt 2023-10-31 21:57:06 +06:00
Justin Paul 69544ada63 Update portable.py 2023-10-31 09:28:13 -04:00
Justin Paul 32cde2f385 Update portable.py
listen on all interfaces
2023-10-31 09:25:14 -04:00
Justin Paul 0ad0e3e341 Update requirements.txt
forgot to readd requests to requirements file
2023-10-31 09:16:14 -04:00
Justin Paul 11d13ae0ef dockerized 2023-10-31 09:11:54 -04:00