Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ The existing Express/PostgreSQL implementation in `auth-server/` is retained as
**Real login is not active until the separate Worker and D1 database are deployed, the `auth.ocodejs.dev` hostname is attached, and a dedicated GitHub OAuth App's client ID/secret are configured as Cloudflare Worker secrets.** PAT connection can be used after the Worker and its encryption/session secrets are configured. Never commit real credentials or put them in frontend code.


## Custom domain: ocodejs.dev
## Public URL and hosting fallback

The OCode.js CLI Hub is intended to use **https://ocodejs.dev/** as its canonical public URL. The repository publishes the `CNAME` file at the site root so GitHub Pages can associate the custom domain with this project. The `www.ocodejs.dev` hostname should resolve to the same Pages site and redirect to the apex domain. Keep the existing `app` and `mcp` subdomains on their separate services.
The canonical fallback URL for this repository is **https://ocodejs.github.io/cli-hub/**, served by GitHub Pages. The deployment workflow runs after updates to `main`; its latest deployment completed successfully.

DNS and Pages ownership must be verified before considering the custom domain live. Do not replace unrelated DNS records or the existing Worker bindings while configuring this domain.
The custom domain previously recorded in this repository conflicted with the OCodeJS domain allocation. This repository therefore does not claim or configure a custom domain. DNS records and other OCodeJS services remain untouched. Vercel is optional and is not required for the static CLI Hub site.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<meta name="theme-color" content="#000000">
<title>OCode.js CLI Hub — Developer tools</title>
<meta name="description" content="Khám phá, tìm kiếm và sử dụng các công cụ CLI/TUI dành cho developer và AI agents.">
<link rel="canonical" href="https://ocodejs.dev/">
<link rel="canonical" href="https://ocodejs.github.io/cli-hub/">
Comment thread
zskbot marked this conversation as resolved.
Resolved
Comment thread
zskbot marked this conversation as resolved.
Resolved
Comment thread
zskbot marked this conversation as resolved.
Resolved
Comment thread
zskbot marked this conversation as resolved.
Resolved
<meta property="og:type" content="website">
<meta property="og:title" content="OCode.js CLI Hub">
<meta property="og:description" content="Developer tools, terminal-first.">
<meta property="og:url" content="https://ocodejs.dev/">
<meta property="og:url" content="https://ocodejs.github.io/cli-hub/">
<style>
:root{color-scheme:dark;--bg:#05070d;--panel:#0a101c;--line:#26364f;--line-strong:#36577f;--fg:#f2f5fb;--muted:#a3afc2;--blue:#347cff;--cyan:#55c8ff;--purple:#a34cff;--yellow:#f3d44e;--pink:#e45ac8;--green:#57d6a2;--mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}
Expand Down Expand Up @@ -1815,7 +1815,7 @@ <h1>One account.<br><span>Every workflow.</span></h1>
buildNavigation();$("#nav-search")?.addEventListener("input",buildNavigation);window.addEventListener("popstate",()=>{if(location.hash.startsWith("#library=")){renderLibraryDetail(decodeURIComponent(location.hash.slice(9)),false);return}view=location.hash.startsWith("#page=")?location.hash.slice(6):"home";render()});
const CATALOG_SOURCES=[
new URL("tools.json",document.baseURI).href,
"https://ocodejs.dev/tools.json",
"https://ocodejs.github.io/cli-hub/tools.json",
"https://raw.githubusercontent.com/OCodejs/cli-hub/main/tools.json"
];
function renderCatalogError(errors){
Expand Down
Loading