NekoBox Save

📫 匿名提问箱 / Anonymous question box

Project README

NekoBox

匿名提问箱 / Anonymous Question Box

Go Report Card Sourcegraph DeepSource Go Report Card

简体中文 | English

Screenshot

Installation

Prerequisite

  • Go (v1.19 or higher)
  • MySQL (v5.7 or higher)
  • Redis (v6.0 or higher)

Build from source

git clone https://github.com/NekoWheel/NekoBox.git

cd NekoBox

go build -o NekoBox

Edit the configuration file

cp conf/app.sample.ini conf/app.ini

Run

./NekoBox web

Architecture

Architecture Architecture

NekoBox uses GitHub Actions for continuous integration and deployment.

When a user visit NekoBox, the request will be routed to Aliyun CDN, the CDN access logs will be collected and pushed to Aliyun simple log service (SLS) in realtime. The log data will be stored in SLS for 180 days for audit purposes.

User's profile, questions and answers will be stored in MySQL database.

User's session, CSRF token and email verification token will be stored in Redis temporarily.

The entire request and response chain will be uploaded to Uptrace for debugging purposes. The data will be stored in Uptrace for 30 days. Administrators can use the TraceID provided by users to query the specified request context.

When a user submits a question, the content of the question will be sent to Qiniu text censoring service for review. If the content is not suitable, the content will then be sent to Aliyun text censoring service for a second review. If the content still does not pass, the question will be rejected. This is because the Qiniu text censoring service is not very accurate, some non-offensive content may also be rejected by the Qiniu's service.

When a user received a new question, an email will be sent to the user's email address by Aliyun mail service (DM).

In the main page, you can check out the changelogs of NekoBox, and you can visit the sponsor page to support NekoBox at the bottom of the page. The changelogs and sponsor list are stored in a Pocketbase service which is deployed separately.

License

MIT License

Open Source Agenda is not affiliated with "NekoBox" Project. README Source: NekoWheel/NekoBox
Stars
190
Open Issues
5
Last Commit
1 month ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating