https://github.com/casbin/caswire
An open-source host-based anti-virus, firewall and IDS (Intrusion Detection System) platform: https://discord.gg/S5UjpzGZjN
https://github.com/casbin/caswire
antispam antivirus casbin casdoor caswire firewall host ids security
Last synced: 3 months ago
JSON representation
An open-source host-based anti-virus, firewall and IDS (Intrusion Detection System) platform: https://discord.gg/S5UjpzGZjN
- Host: GitHub
- URL: https://github.com/casbin/caswire
- Owner: casbin
- License: apache-2.0
- Created: 2023-08-20T04:20:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-20T04:28:12.000Z (about 2 years ago)
- Last Synced: 2025-06-29T06:31:05.399Z (3 months ago)
- Topics: antispam, antivirus, casbin, casdoor, caswire, firewall, host, ids, security
- Language: JavaScript
- Homepage: https://caswire.org
- Size: 513 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
📦⚡️ Caswire
An open-source logging and auditing system developed by Go and React.
## Architecture
Caswire contains 2 parts:
Name | Description | Language | Source code
----|------|----|----
Frontend | Web frontend UI for Caswire | Javascript + React | https://github.com/casbin/caswire/tree/master/web
Backend | RESTful API backend for Caswire | Golang + Beego + MySQL | https://github.com/casbin/caswire## Installation
Caswire uses Casdoor to manage members. So you need to create an organization and an application for Caswire in a Casdoor instance.### Necessary configuration
#### Get the code
```bash
go get github.com/casbin/casdoor
go get github.com/casbin/caswire
```or
```bash
git clone https://github.com/casbin/casdoor
git clone https://github.com/casbin/caswire
```#### Setup database
Caswire will store its users, nodes and topics informations in a MySQL database named: `caswire`, will create it if not existed. The DB connection string can be specified at: https://github.com/casbin/caswire/blob/master/conf/app.conf
```ini
dataSourceName = root:123@tcp(localhost:3306)/
```
Caswire uses XORM to connect to DB, so all DBs supported by XORM can also be used.#### Configure Casdoor
After creating an organization and an application for Caswire in a Casdoor, you need to update `clientID`, `clientSecret`, `casdoorOrganization` and `casdoorApplication` in app.conf.
#### Run Caswire
- Configure and run Caswire by yourself. If you want to learn more about caswire.
- Open browser: http://localhost:16001/### Optional configuration
#### Setup your Caswire to enable some third-party login platform
Caswire uses Casdoor to manage members. If you want to log in with oauth, you should see [casdoor oauth configuration](https://casdoor.org/docs/provider/oauth/overview).
#### OSS, Mail, and SMS services
Caswire uses Casdoor to upload files to cloud storage, send Emails and send SMSs. See Casdoor for more details.
## Contribute
For Caswire, if you have any questions, you can give Issues, or you can also directly start Pull Requests(but we recommend giving issues first to communicate with the community).
## License
[Apache-2.0](LICENSE)