get and run golangbbs (中文)
git clone https://github.com/kdhly/golangbbs.git
cd golangbbs
go build
chmod a+x golangbbs
./golangbbs
go get github.com/Sirupsen/logrus
go get github.com/gin-contrib/sessions
go get github.com/gin-gonic/gin
go get github.com/go-sql-driver/mysql
go get github.com/mattn/go-sqlite3
go get github.com/quasoft/memstore
etc
git clone https://github.com/kdhly/golangbbs.git
cd golangbbs/dist
unzip golangbbs/dist/dist.rar
windows(x64):
cd windows
copy golangbbs/sqlite.db and golangbbs/documents to this folder
run golangbbs.exe as administrator in cmd window
linux(x64):
cd linux
copy golangbbs/sqlite.db and golangbbs/documents to this folder
chmod a+x golangbbs
./golangbbs
mac(x64):
cd mac
copy golangbbs/sqlite.db and golangbbs/documents to this folder
chmod a+x golangbbs
./golangbbs
arm:
cd arm
copy golangbbs/sqlite.db and golangbbs/documents to this folder
chmod a+x golangbbs
./golangbbs
then openpage: http://127.0.0.1
you can change the IPAddr to 127.0.0.1 to visit it only on your local machine, The default database is sqlite3 , you can import .sql in golangbbs/dist/mysql directory to your mysql database and change DbType to "mysql" if you want to use mysql.
golang + gin + vue + element ui + i18n;
plug-ins: ckedit + html5player + blueimp Gallery (music and photo manager)
database: mysql or sqlite;
- Localization of all resources;
- Prevent script injections attacks, text filtering,Prevent intrusion attack,XSS attacks;
- Open and compact portable design;
- This system function was more comprehensive and useful,There are relatively complete sharing functions and attachments when publishing,multimedia capabilities,Can be used as knowledge base and personal electronic notepad and personal media center and simple bbs;
- You can set up a private blog;
- Menu and blog categories online modification;
- User information online modification;
- Article and reply online modification;
- Basic support for all kinds of mobile browsers
- Users level LV5 (score > 2999) and above can publish pictures, attachments, media, and default management user name:limon,password:password;
- Multiple administrators can be specified, and those with user allow > 100 are administrators;
- You can adjust some parameters yourself in bbs_config_main_i18n.json file,For example, to find the password, you must configure the correct email server address, SMTP User name and password, etc;
- BbsUploadPath must have read and write permission;
- The image directory you want to display should be in BbsUploadPath+"/Picture/photos", the directory name beginning with "my" is not in the list, but it can still be displayed in the URL
- Known compatible versions go 1.10 or above,gin v1.4 or above,database: mysql 5.7 or above or sqlite 3;
- There are still a few bugs and non modular content,But it doesnot affect the experience;
- Old browsers are not supported because Vue uses the ES6 Promise object feature that older browsers cannot emulate, you can seach some plugin to compatible with it;
mail: [email protected]
or visit link: http://www.golangbbs.com/?page=bbs&category=XWdNEvaL_go
If you have good projects or suggestions, we can help you realize it
@fhst, @kdhly, and all function modules used in the project structure and plug-ins; and other function module not listed;
If you like or plan to use this project,please give me a star, thank you!
If this project makes you feel good, You can donate to the following link to better support the development of this project and the team: