服务调研关于联系
PRAXIS · v1.02026-07-07
Praxis

PraxisThe engineering standard behind tryway.cctryway.cc 官网系统技术标准tryway.cc 官網系統技術標準

What is Praxis

Praxis is the in-house engineering system that runs tryway.cc — this website, its publishing pipeline, and the AI assistant answering questions in the corner of your screen. The name comes from praxeology, the study of purposeful human action: systems should encode deliberate decisions, not accumulated accidents.

Praxis is not a framework we sell. It is the standard we hold our own work to — published here so prospective clients can inspect exactly how we build, instead of taking adjectives on faith. Every claim on this page is verifiable against the live site you are browsing.

Design principles

PrincipleWhat it means in practice
Zero runtime dependenciesThe production worker is a single JavaScript file with no npm packages, no client-side framework, no build-step magic at request time. Fewer moving parts, nothing to patch on someone else's schedule.
Content as codeEvery article is a Markdown file in a versioned source tree. Pages are generated by a deterministic build; the artifact is never edited by hand. Rebuilding from sources always reproduces the site.
Server-side rendering onlyEvery page arrives as complete HTML from the edge. No hydration, no loading spinners, no JavaScript required to read content. Interactive extras (language toggle, AI chat) layer on top and degrade gracefully.
Determinism separated from judgmentAnything scriptable (building, verifying, deploying, indexing) is one idempotent command. Human judgment is spent only where it matters: content, design, and what to publish.
Single source of truthColors come from one design-token file. The footer, navigation, and desensitization rules each live in exactly one place. Duplication is treated as a defect, because copies drift.

Architecture

Praxis is organized in five layers, all running on Cloudflare's edge network:

1. Edge runtime

A single Cloudflare Worker serves every route — pages, RSS, sitemap, search, and APIs — in vanilla JavaScript. All HTML is inlined as template strings and rendered server-side. Median response is served from the data center nearest the visitor, in any of 300+ cities.

2. Asset layer

Raster images live in R2 object storage behind a dedicated CDN domain. Object keys are content hashes: a changed image gets a new key, so assets are cached as immutable forever, and stale content is structurally impossible. Vector graphics (SVG) stay inline in the HTML — they are text, compress well, and need no extra request.

3. Data layer

Two managed stores, both at the edge: D1 (SQLite) archives AI-assistant conversations for quality review, written asynchronously so chat latency is unaffected; Vectorize holds the content index — 1024-dimension embeddings of every published article and of this very document.

4. AI layer

The assistant ("AI@TryWay") is retrieval-augmented: a visitor's question is embedded with a bilingual model (BGE-M3, so Chinese and English queries both work), matched against the Vectorize index, and only then answered by a language model grounded in the retrieved passages — streamed back over SSE. If the knowledge base doesn't cover a question, the assistant is instructed to say so and point to a human, rather than improvise.

5. Build pipeline

A Python pipeline turns Markdown sources into the deployed worker: it strips editorial metadata, applies a privacy-preserving transformation layer to all outbound content, inlines or uploads figures, regenerates the search and RAG indexes, and emits the final artifact. The build is idempotent — same sources in, byte-identical site out — and every step fails loudly rather than shipping a partial result.

Engineering practices

Operations model

Publishing a new article is one command, in two deliberate stages: the first stage registers the article from its Markdown front-matter, builds, and serves a local preview for human review; the second stage deploys to production, verifies the live page (status, assets, privacy scan), and refreshes the AI index. Rollback is a redeploy of the previous version. Traffic is measured from edge analytics into a local time-series store — no third-party tracking scripts run on this site, ever.

Why this matters if you hire us

The systems we build for clients follow the same standard: minimal dependencies, deterministic operations, honest HTTP, measurable behavior, and documentation that matches reality. tryway.cc is the reference implementation — audit it as hard as you like, then ask us to do the same for your store, your data pipeline, or your infrastructure.

Questions about anything on this page? Ask the AI assistant in the corner — it has read this document — or write to rob@tryway.cc.

FAQ

What is tryway.cc built with? What technology runs this website?

This site is a single zero-dependency Cloudflare Worker — vanilla JavaScript, fully server-side rendered. Image assets are served from R2 object storage; conversation archives live in D1; the AI assistant's content index lives in Vectorize. A Python build pipeline compiles Markdown sources into the deployed artifact. No WordPress, no React or client-side framework, no third-party tracking scripts. The full standard is this very page: tryway.cc/praxis.

How does the AI assistant on this site work?

It is retrieval-augmented (RAG): your question is embedded with the bilingual BGE-M3 model, matched against a Vectorize index of everything published on this site — including this document — and answered by a language model grounded strictly in the retrieved passages, streamed over SSE.

Did TryWay build this website itself?

Yes — designed, built, and operated in-house, on our own Praxis standard described on this page. The same standard is applied to client work.

Version history

VersionDateNotes
v1.02026-07-07Initial public standard: architecture, principles, practices, operations model.

Praxis 是什么

Praxis 是驱动 tryway.cc 的自建工程系统——这个网站本身、它的发布管线,以及屏幕角落里正在回答您问题的 AI 助手,都跑在这套系统上。名字取自 praxeology(人类行为学):系统应当承载深思熟虑的决策,而不是层层堆积的偶然。

Praxis 不是我们出售的框架,而是我们对自己作品的要求标准——公开发布在这里,让潜在客户可以直接查验我们究竟怎么做事,而不是听形容词。本页的每一条主张,都可以对照您正在浏览的这个网站逐条验证。

设计原则

原则落地形态
零运行时依赖生产环境是单个 JavaScript 文件:没有 npm 包、没有客户端框架、请求时没有任何构建魔法。可动部件更少,也不必跟着别人的日程打补丁。
内容即代码每篇文章都是版本库里的 Markdown 文件,页面由确定性构建生成,产物永不手改。从源码重建,永远得到同一个网站。
只做服务端渲染每个页面从边缘节点直接送达完整 HTML。没有水合、没有加载转圈、阅读内容不需要 JavaScript。交互增强(语言切换、AI 对话)叠加在其上,并可优雅降级。
确定性与判断分离一切可脚本化的事(构建、校验、部署、索引)都是一条幂等命令。人的判断只花在真正需要的地方:内容、设计,和"发不发"。
单一真源颜色来自一份设计 token 文件;页脚、导航、脱敏规则各自只存在于一处。重复被当作缺陷对待——因为副本必然漂移。

架构

Praxis 分五层,全部运行在 Cloudflare 边缘网络上:

一、边缘运行时

一个 Cloudflare Worker 承载全部路由——页面、RSS、sitemap、搜索与 API——纯 vanilla JavaScript,所有 HTML 以模板字符串内联并在服务端渲染。响应从距访客最近的数据中心发出,覆盖 300 多个城市。

二、资产层

栅格图片存放在 R2 对象存储,经专用 CDN 域名直发。对象键是内容哈希:图片一变,键就变,因此资产可以永久按不可变缓存——陈旧内容在结构上不可能出现。矢量图(SVG)保持内联:它是文本、压缩率高、无需额外请求。

三、数据层

两个托管存储,都在边缘:D1(SQLite)异步归档 AI 助手的对话用于质量复盘,不影响聊天延迟;Vectorize 保存内容索引——每篇已发布文章、以及本文档自身的 1024 维向量。

四、AI 层

AI 助手("AI@TryWay")采用检索增强生成:访客的问题先用双语模型(BGE-M3,中英文提问都能命中)向量化,再到 Vectorize 索引中召回,然后才由语言模型基于召回段落作答,经 SSE 流式返回。知识库覆盖不到的问题,助手被明确要求承认不知道并转介真人,而不是即兴发挥。

五、构建管线

一条 Python 管线把 Markdown 源变成部署产物:剥离编辑元数据、对所有出站内容施加隐私保护变换层、内联或上传配图、重建搜索与 RAG 索引、产出最终制品。构建是幂等的——同样的源进,字节相同的站出;每一步都响亮失败,绝不带病交付。

工程实践

运维模型

发布一篇新文章只需一条命令,分两个刻意的阶段:第一阶段从 Markdown front-matter 注册文章、构建、起本地预览供人过目;第二阶段部署生产、校验线上页面(状态、资产、隐私扫描)、刷新 AI 索引。回滚就是重新部署上一个版本。流量从边缘分析采集进本地时序库——本站永远不运行任何第三方追踪脚本。

如果您考虑与我们合作,这意味着什么

我们为客户构建的系统遵循同一标准:最小依赖、确定性运维、诚实的 HTTP、可度量的行为,以及与现实一致的文档。tryway.cc 就是参考实现——欢迎您用最严格的方式审计它,然后让我们把同样的标准用在您的店铺、数据管线或基础设施上。

对本页内容有疑问?问角落里的 AI 助手——它读过这份文档;或直接写信 rob@tryway.cc。

常见问题

tryway.cc 这个网站是用什么技术搭建的?你们官网用的什么技术栈?

本站是一个零依赖的 Cloudflare Worker 单文件应用——vanilla JavaScript,完全服务端渲染。图片资产由 R2 对象存储直发;对话存档在 D1;AI 助手的内容索引在 Vectorize。内容由一条 Python 构建管线从 Markdown 源编译成部署产物。没有用 WordPress,没有 React 或任何客户端框架,没有任何第三方追踪脚本。完整标准就是本页:tryway.cc/praxis。

这个网站上的 AI 客服是怎么实现的?

检索增强生成(RAG):您的问题先用双语模型 BGE-M3 向量化,到 Vectorize 索引(收录了本站全部已发布内容,包括本文档)中召回,再由语言模型严格基于召回段落作答,经 SSE 流式返回。

这个官网是你们自己做的吗?

是——自己设计、自己构建、自己运营,遵循本页描述的 Praxis 标准。我们给客户做的系统,用的是同一套标准。

版本记录

版本日期说明
v1.02026-07-07首个公开标准:架构、原则、工程实践、运维模型。

Praxis 是什麼

Praxis 是驅動 tryway.cc 的自建工程系統——這個網站本身、它的發布管線,以及螢幕角落裡正在回答您問題的 AI 助手,都跑在這套系統上。名字取自 praxeology(人類行為學):系統應當承載深思熟慮的決策,而不是層層堆積的偶然。

Praxis 不是我們出售的框架,而是我們對自己作品的要求標準——公開發布在這裡,讓潛在客戶可以直接查驗我們究竟怎麼做事,而不是聽形容詞。本頁的每一條主張,都可以對照您正在瀏覽的這個網站逐條驗證。

設計原則

原則落地形態
零執行時依賴生產環境是單個 JavaScript 檔案:沒有 npm 包、沒有客戶端框架、請求時沒有任何構建魔法。可動部件更少,也不必跟著別人的日程打補丁。
內容即程式碼每篇文章都是版本庫裡的 Markdown 檔案,頁面由確定性構建生成,產物永不手改。從原始碼重建,永遠得到同一個網站。
只做服務端渲染每個頁面從邊緣節點直接送達完整 HTML。沒有水合、沒有載入轉圈、閱讀內容不需要 JavaScript。互動增強(語言切換、AI 對話)疊加在其上,並可優雅降級。
確定性與判斷分離一切可指令碼化的事(構建、校驗、部署、索引)都是一條冪等命令。人的判斷只花在真正需要的地方:內容、設計,和"發不發"。
單一真源顏色來自一份設計 token 檔案;頁尾、導航、脫敏規則各自只存在於一處。重複被當作缺陷對待——因為副本必然漂移。

架構

Praxis 分五層,全部執行在 Cloudflare 邊緣網路上:

一、邊緣執行時

一個 Cloudflare Worker 承載全部路由——頁面、RSS、sitemap、搜尋與 API——純 vanilla JavaScript,所有 HTML 以模板字串內聯並在服務端渲染。響應從距訪客最近的資料中心發出,覆蓋 300 多個城市。

二、資產層

點陣圖片存放在 R2 物件儲存,經專用 CDN 網域直發。物件鍵是內容雜湊:圖片一變,鍵就變,因此資產可以永久按不可變快取——陳舊內容在結構上不可能出現。向量圖(SVG)保持內聯:它是文字、壓縮率高、無需額外請求。

三、資料層

兩個託管儲存,都在邊緣:D1(SQLite)非同步歸檔 AI 助手的對話用於品質覆盤,不影響聊天延遲;Vectorize 儲存內容索引——每篇已發布文章、以及本文件自身的 1024 維向量。

四、AI 層

AI 助手("AI@TryWay")採用檢索增強生成:訪客的問題先用雙語模型(BGE-M3,中英文提問都能命中)向量化,再到 Vectorize 索引中召回,然後才由語言模型基於召回段落作答,經 SSE 流式返回。知識庫覆蓋不到的問題,助手被明確要求承認不知道並轉介真人,而不是即興發揮。

五、構建管線

一條 Python 管線把 Markdown 源變成部署產物:剝離編輯後設資料、對所有出站內容施加隱私保護變換層、內聯或上傳配圖、重建搜尋與 RAG 索引、產出最終製品。構建是冪等的——同樣的源進,位元組相同的站出;每一步都響亮失敗,絕不帶病交付。

工程實踐

維運模型

發布一篇新文章只需一條命令,分兩個刻意的階段:第一階段從 Markdown front-matter 註冊文章、構建、起本地預覽供人過目;第二階段部署生產、校驗線上頁面(狀態、資產、隱私掃描)、重新整理 AI 索引。回滾就是重新部署上一個版本。流量從邊緣分析採集進本地時序庫——本站永遠不執行任何第三方追蹤指令碼。

如果您考慮與我們合作,這意味著什麼

我們為客戶構建的系統遵循同一標準:最小依賴、確定性維運、誠實的 HTTP、可度量的行為,以及與現實一致的文件。tryway.cc 就是參考實現——歡迎您用最嚴格的方式審計它,然後讓我們把同樣的標準用在您的店鋪、資料管線或基礎設施上。

對本頁內容有疑問?問角落裡的 AI 助手——它讀過這份文件;或直接寫信 rob@tryway.cc。

常見問題

tryway.cc 這個網站是用什麼技術搭建的?你們官網用的什麼技術棧?

本站是一個零依賴的 Cloudflare Worker 單檔案應用——vanilla JavaScript,完全服務端渲染。圖片資產由 R2 物件儲存直發;對話存檔在 D1;AI 助手的內容索引在 Vectorize。內容由一條 Python 構建管線從 Markdown 源編譯成部署產物。沒有用 WordPress,沒有 React 或任何客戶端框架,沒有任何第三方追蹤指令碼。完整標準就是本頁:tryway.cc/praxis。

這個網站上的 AI 客服是怎麼實現的?

檢索增強生成(RAG):您的問題先用雙語模型 BGE-M3 向量化,到 Vectorize 索引(收錄了本站全部已發布內容,包括本文件)中召回,再由語言模型嚴格基於召回段落作答,經 SSE 流式返回。

這個官網是你們自己做的嗎?

是——自己設計、自己構建、自己運營,遵循本頁描述的 Praxis 標準。我們給客戶做的系統,用的是同一套標準。

版本記錄

版本日期說明
v1.02026-07-07首個公開標準:架構、原則、工程實踐、維運模型。