Home
Softono

Hono React Ssr Shadcn Ui

Open source TypeScript
124
Stars
13
Forks
0
Issues
1
Watchers
2 months
Last Commit

 About Hono React Ssr Shadcn Ui

Template code for Honojs with React 19 with SSR, Tailwindcss 4.1, Vite 8, Shadcn-UI, i18n and a simple blog which running on Cloudflare Pages.

Platforms

Web Self-hosted Cloud

Languages

TypeScript

Need Help Installing Hono React Ssr Shadcn Ui?

We provide expert installation service for this software. Our team will install, configure, and secure Hono React Ssr Shadcn Ui on your server. plans start at just $30.

Hono React Ssr Shadcn Ui

View on GitHub

Hono,React,SSR,Shadcn/ui,Cloudflare Pages,Cursor

Hono-react-ssr-shadcn-ui

Support Tailwindcss 4.1 React 19.1 Vite 8 i18n and Cursor - The AI Code Editor

Template code for Honojs with React SSR, Shadcn-UI and a simple blog which running on Cloudflare Pages.

Online Demo

Home page: https://hono-react-ssr-shadcn-ui.pages.dev/

Blogs Page: https://hono-react-ssr-shadcn-ui.pages.dev/blogs

Develop and Deploy

Start the development server

npm install
# Start the dev server
npm run dev
# Start the client server
npm run client

Deploy to Cloudflare Pages

npm run deploy

Blog configuration

Blog Database

We use Cloudflare's KV-Namespace to store articles. You can create KV-Namespace with this command:

npx wrangler kv namespace create blog

This command will output the KV-Namespace configuration like this:

[[kv_namespaces]]
binding = "blog"
id = "8617f8968998499bb3db425063f8f11d"

Then you should copy the KV-Namespace configuration to wrangler.toml

Blog's Admin

You can change the open graph infomation of you blog server configuration, just need find these code in the index.tsx file like below:

app.route('/', createBlogServer({
  defaultOGImage: 'https://aicanvas.app/statics/uploads/1732953286728187318_blog_banner.jpg',
  blogTitle: 'Hono React Blog',
  blogDescription: 'A place to share stories about Honojs.',
  urlPrefix: 'https://hono-react-ssr-shadcn-ui.pages.dev',
  publisher: 'https://x.com/dotcopilot_ai',
}))

Then set the password of your blog's administrator, just put below environment to your .dev.vars file when it is developing mode.

BLOG_USERNAME="admin"
BLOG_PASSWORD="123456"

When you deploy the code, you should put this configurations to wrangler.toml or set from Cloudflare Page's dashboard.

Blog's Routes

For Admin: /blog/list

For Users: /blogs

Blog Example

TapAI Blog: https://tapai.aicanvas.app/blogs

Sites build with this repo?

  1. TapAI: https://tapai.aicanvas.app/, a site provide a iOS shortcut to boost your productivity, which you can use ChatGPT with TapAI to add calendar, reminder, note easily.

  2. Hichly: https://hichly.com, Hichly is the ultimate platform for sharing and refining niche ideas with community feedback to turn your concepts into reality.

  3. Dot Copilot: https://dotcopilot.ai, a non-intrusive and customizable Android AI assistant that simplifies your daily tasks. Parse receipts, manage to-dos, and more—Dot Copilot is here to help without interrupting your workflow.