mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e4fe69ac91 | 2 years ago | |
---|---|---|
.github | 2 years ago | |
cache | 2 years ago | |
cmd/generate | 2 years ago | |
conf | 2 years ago | |
config | 2 years ago | |
consts | 2 years ago | |
dal | 2 years ago | |
doc | 2 years ago | |
event | 2 years ago | |
handler | 2 years ago | |
injection | 2 years ago | |
log | 2 years ago | |
model | 2 years ago | |
release/systemd | 2 years ago | |
resources | 2 years ago | |
service | 2 years ago | |
template | 2 years ago | |
util | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
LICENSE.md | 2 years ago | |
README.md | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 2 years ago | |
table.sql | 2 years ago |
README.md
Sonic [ˈsɒnɪk] ,Sonic is a Go Blogging Platform. Simple and Powerful.
English | 中文
📖 Introduction
Sonic means as fast as sound speed. Like its name, sonic is a high-performance blog system developed using golang
Thanks Halo project team,this project is inspired by Halo. Front end project fork from Halo
🚀 Features:
- Support multiple types of databases: SQLite、MySQL(TODO: PostgreSQL)
- Small: The installation file is only 10mb size
- High-performance: Post details page can withstand 900qps(Enviroment: Intel Xeon Platinum 8260 4C 8G ,SQLite3)
- Support changing theme
- Support Linux、Windows、Mac OS. And Support x86、x64、Arm、Arm64、MIPS
- Object storage(MINIO、Google Cloud、AWS、AliYun)
🎊 Preview
🧰 How to install
Download the latest installation package
Please pay attention to the operating system and instruction set
wget https://github.com/go-sonic/sonic/releases/download/v1.0.0/sonic-linux-64.zip -O sonic.zip
Decompression
unzip sonic.zip
Launch
cd sonic
./sonic -config conf/config.yaml
Initialization
The default port is 8080
Open http://ip:port/admin#install
Next, you can access sonic through the browser.
The URL of the admin console is http://ip:port/admin
TODO
- i18n
- PostgreSQL
- Better error handling
- Plugin(base on Wasm)
- Use new web framework(Hertz)
📄 License
Source code in sonic
is available under the MIT License.