BetaX Blog is an open-source, dynamic blogging platform written in Go. Its lightweight design makes it ideal for personal blogs or small communities.
The entire application is packaged into a single binary that weighs only 17MB, ensuring quick deployment and minimal resource usage.
At the same time using interface data caching and PWA technology (need to configure HTTPS) to improve access speed and reduce resource overhead.
However, BetaX Blog is still a dynamic blog, for higher performance and efficiency, please deploy with CDN.
- 📄 Markdown Support: Write your posts using Markdown for easy formatting.
- 🌕 Dark Mode: Built-in dark mode for comfortable reading in low-light environments.
- ⏫ Image Upload: Directly upload images to your posts.
- 🧠 AI Summarization: Automatically generate summaries for your articles using AI.
- 🔗 GitHub Integration: Authenticate users via GitHub for seamless login and user management.
- ☁️ WebDAV Synchronization: Supports synchronization of database and resource files via WebDAV every 4 hours.
- ⏬️ PWA Support: PWAs provide a better experience for visitors when accessing over HTTPS and help reduce the number of requests.
- linux: Currently only supports Linux systems
- curl: Used for downloading installation packages
Execute the ⬇️ command in the terminal
bash -c "$(curl -fsSL https://betax.dev/sc/blog.sh)"
Please download the corresponding installation package in the releases on devices that can be connected to the internet.
Then download this script. Upload the script and installation package together to the same directory on the server.
Execute the script and select Install BetaX Blog (Offline)
.
- Clone this repository:
git clone https://github.com/skye-z/betax-blog.git cd betax-blog
- Build the application:
CGO_ENABLED=0 go build -o betax-blog -ldflags '-s -w'
- Start the server:
./betax-blog
In principle, it is not recommended to directly modify the configuration file, as the modification requires a restart of the service to take effect
Suggest modifying the configuration in the management backend.
- Visit
http://localhost:9800
(use--port
to specify the port) to access the blog. - Complete initialization configuration
- Bind Github account
We welcome contributions! Please follow these guidelines:
- Fork the project.
- Create a feature branch (
git checkout -b feature/amazing-feature
). - Commit your changes (
git commit -m 'Add some amazing feature'
). - Push to the branch (
git push origin feature/amazing-feature
). - Open a pull request.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.