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.
 
 
 
Go to file
dependabot[bot] 57899d58cf chore(deps): bump gorm.io/plugin/dbresolver from 1.3.0 to 1.4.0
Bumps [gorm.io/plugin/dbresolver](https://github.com/go-gorm/dbresolver) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/go-gorm/dbresolver/releases)
- [Commits](https://github.com/go-gorm/dbresolver/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: gorm.io/plugin/dbresolver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
.github fix: release workflow 2 years ago
cache init 2 years ago
cmd/generate init 2 years ago
conf init 2 years ago
config feat: docker 2 years ago
consts feat: fix param post status convert error 2 years ago
dal perf: use global gen.Query 2 years ago
doc doc: contributing 2 years ago
event fix: register theme resources static file 2 years ago
handler fix(comment): fix update post commentStatus error 2 years ago
injection init 2 years ago
log init 2 years ago
model fix(comment): fix comment query param when select 2 years ago
release/systemd chore: bug report template & systemd service 2 years ago
resources fix: pagination 2 years ago
scripts feat: docker 2 years ago
service fix(comment): fix delete comment batch error 2 years ago
template fix: pagination 2 years ago
util init 2 years ago
.gitignore fix: register theme resources static file 2 years ago
.gitmodules fix: replace submodule url 2 years ago
CONTRIBUTING.md doc: create contribution document 2 years ago
Dockerfile fix: docker file 2 years ago
LICENSE.md doc: LICENSE 2 years ago
README.md doc: contributing 2 years ago
go.mod chore(deps): bump gorm.io/plugin/dbresolver from 1.3.0 to 1.4.0 2 years ago
go.sum chore(deps): bump gorm.io/plugin/dbresolver from 1.3.0 to 1.4.0 2 years ago
main.go feat: redirect to install 2 years ago
table.sql fix: sqlite 2 years ago

README.md

Sonic [ˈsɒnɪk] ,Sonic is a Go Blogging Platform. Simple and Powerful.

GitHub release GitHub All Releases Docker pulls GitHub last commit
Telegram Channel

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 2500 QPS(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

Default Theme

Console

🧰 Install

Download the latest installation package

Please pay attention to the operating os and instruction set and the version

wget https://github.com/go-sonic/sonic/releases/download/v1.0.3/sonic-linux-amd64.zip -O sonic.zip

Decompression

unzip -d sonic 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

Docker

See: https://hub.docker.com/r/gosonic/sonic

Theme ecology

Theme URL
Anatole https://github.com/go-sonic/default-theme-anatole
Journal https://github.com/hooxuu/sonic-theme-Journal

TODO

  • i18n
  • PostgreSQL
  • Better error handling
  • Plugin(base on Wasm)
  • Use new web framework(Hertz)

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

Special thanks to Evan(evanzhao@88.com), who designed the logo

📄 License

Source code in sonic is available under the MIT License.