





Gblog is an open-source, simple, and beautiful blog built with Astro.
Gblog is a blog template designed for those who are unable or unwilling to write frontend code. All you need to do is find an interesting Tailwind CSS template from elsewhere and paste it into Gblog, and it will function seamlessly. Additionally, you can customize your own blog without to write any JavaScript code.
Features
- 🐈 Simple And Beautiful
- 🖥️️ Responsive And Light/Dark mode
- 🐛 SiteMap & RSS Feed
- 🐝 Category and Timeline Support
- 🍋 Google Analytics & Google Structured Data
- 🐜 SEO and Responsiveness
- 🪲 Markdown And MDX
- 🏂🏾 Page Compression & Image Optimization
Make Your Own
You can use this template directly to build your own blog in four different ways.
https://github.com/godruoyi/gblog/assets/16079222/773cd885-d4b7-482d-818f-566606e70b90
Deploy to Zeabur
Click the button above to build your blog to Zeabur within one minute.
Deploy to Vercel
Build from Source
- Clone the
gblog-template
branch of this repositorygit clone -b gblog-template [email protected]:godruoyi/gblog.git
- Execute
pnpm install
to install dependencies. - Modify the
src/config.ts
file to what you want. - Execute
pnpm run dev
: Starts a local development server with hot reloading enabled.
Build from Astro Template(coming soon)
pnpm create astro@latest -- --template godruoyi/gblog
Development Commands
With dependencies installed, you can utilize the following npm scripts to manage your project’s development lifecycle:
pnpm run dev
: Starts a local development server with hot reloading enabled.pnpm run preview
: Serves your build output locally for preview before deployment.pnpm run build
: Bundles your site into static files for production.
For detailed help with Astro CLI commands, visit Astro’s documentation.
Thanks
Thanks https://github.com/mearashadowfax/ScrewFast, The majority of the code for this project comes from ScrewFast.
License
This project is released under the MIT License. Please read the LICENSE file for more details.