Casnode is an open-source forum (BBS) software developed in Go and React, QQ group: 555019739
Go to file
Non-Official NPM Mirror Bot 7d2b83e129
update https://registry.npm.taobao.org to https://registry.npmmirror.com (#411)
Co-authored-by: NPM Mirror Bot <npmmirror@localhost>
2022-02-12 11:50:19 +08:00
.github/workflows fix: Fix Crowdin failing (#375) 2021-10-10 18:55:02 +08:00
casdoor Improve error handling for TestSyncAvatars(). 2021-12-02 15:37:57 +08:00
conf Improve app.conf 2021-11-22 20:06:59 +08:00
controllers Hide embed topics for tab page, use "EmbedBot" name. 2022-01-21 12:43:16 +08:00
dictionary Add topic management 2020-09-29 02:42:36 +08:00
discuzx Add extra info to Tab too. 2021-12-05 00:20:53 +08:00
i18n Improve translation. 2021-12-28 21:43:45 +08:00
object Fix crash in GetTopicWithAvatar(). 2022-01-30 00:17:59 +08:00
routers Fix AutoSigninFilter. 2021-11-25 13:16:10 +08:00
service Fix bug in SendEmail(). 2021-12-09 11:30:44 +08:00
swagger feat: add comments to categorize apis for swagger (#389) 2021-12-06 18:27:23 +08:00
util Add translation code. 2021-12-01 23:44:45 +08:00
web Add SilentSignin. 2022-01-23 13:04:14 +08:00
.gitattributes Detect as Go. 2021-11-25 09:59:43 +08:00
.gitignore Add account API. 2020-06-09 12:22:44 +08:00
Dockerfile update https://registry.npm.taobao.org to https://registry.npmmirror.com (#411) 2022-02-12 11:50:19 +08:00
LICENSE Initial commit 2020-05-29 10:45:59 +08:00
README.md Improve README. 2021-12-28 21:17:37 +08:00
Tag_test.go Migrate beego back from v2 to v1. 2021-08-26 00:22:28 +08:00
docker-compose.yml Improve docker-compose.yml 2021-10-28 23:50:26 +08:00
go.mod Use auth.UpdateUserForColumns(). 2021-12-12 00:49:15 +08:00
go.sum Use auth.UpdateUserForColumns(). 2021-12-12 00:49:15 +08:00
main.go Improve proxy code. 2021-09-06 01:19:10 +08:00

README.md

📦 Casnode

An open-source forum (BBS) software developed by Go and React.

semantic-release docker pull casbin/casnode GitHub Workflow Status (branch) GitHub Release Docker Image Version (latest semver)

Go Report Card license GitHub issues GitHub stars GitHub forks Crowdin

Online demo

Deployed site: https://forum.casbin.com/

Architecture

Casnode contains 2 parts:

Name Description Language Source code
Frontend Web frontend UI for Casnode Javascript + React https://github.com/casbin/casnode/tree/master/web
Backend RESTful API backend for Casnode Golang + Beego + MySQL https://github.com/casbin/casnode

Installation

Casnode uses Casdoor to manage members. So you need to create an organization and an application for Casnode in a Casdoor instance.

Necessary configuration

Get the code

go get github.com/casbin/casnode
go get github.com/casdoor/casdoor

or

git clone https://github.com/casbin/casnode
git clone https://github.com/casdoor/casdoor

Setup database

Casnode will store its users, nodes and topics informations in a MySQL database named: casnode, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/casnode/blob/master/conf/app.conf

dataSourceName = root:123@tcp(localhost:3306)/

Casnode uses XORM to connect to DB, so all DBs supported by XORM can also be used.

Run casnode

Optional configuration

Setup your forum to enable some third-party login platform

Casnode uses Casdoor to manage members. If you want to log in with oauth, you should see casdoor oauth configuration.

OSS, Mail, and SMS services

Casnode uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.

Github corner

We added a Github icon in the upper right corner, linking to your Github repository address. You could set ShowGithubCorner to hidden it.

Configuration:

export const ShowGithubCorner = true

export const GithubRepo = "https://github.com/casbin/casnode" //your github repository