/gblog

🎈gblog, an open-source, simple and beautiful blog built with Astro

Primary LanguageAstroMIT LicenseMIT

Gblog is an open-source, simple, and beautiful blog built with Astro.

godruoyi gblog

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.

View Live Demo

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.

gblog.mov

Deploy to Zeabur

Deploy on Zeabur

Click the button above to build your blog to Zeabur within one minute.

Deploy to Vercel

Deploy with Vercel

Build from Source

  1. Clone the gblog-template branch of this repository git clone -b gblog-template git@github.com:godruoyi/gblog.git
  2. Execute pnpm install to install dependencies.
  3. Modify the src/config.ts file to what you want.
  4. 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.