Colubrina/README.md

97 lines
2.9 KiB
Markdown
Raw Permalink Normal View History

2022-06-05 22:58:18 +10:00
# Colubrina
![Wakatime](https://wakatime.troplo.com/api/badge/Troplo/interval:any/project:Colubrina?label=wakatime)
2022-07-29 19:04:37 +10:00
2022-07-30 20:48:49 +10:00
You can try a public instance of Colubrina at [colubrina.troplo.com](https://colubrina.troplo.com/).
2022-07-29 21:58:49 +10:00
This is currently beta software, and may not work as expected. Please file an issue if you encounter any.
2022-07-29 23:07:51 +10:00
Colubrina is a simple self-hostable chatting platform written in Vue, and Vuetify for the frontend, and Node.js, Sequelize and Socket.io for the backend.
2022-07-29 20:34:27 +10:00
### Checklist
- [x] Messaging
- [x] Authentication
- [x] Admin panel
2022-07-29 21:26:18 +10:00
- [x] CLI
2022-07-30 15:14:26 +10:00
- [x] (partially complete) Scroll up to see more messages/jump to searched message
2022-07-29 20:34:27 +10:00
- [x] User profile cards
- [x] Group creation and modification
2022-07-29 21:26:18 +10:00
- [x] Direct message groups
2022-07-29 20:34:27 +10:00
- [x] Friending
- [x] Searching
2022-07-29 21:51:12 +10:00
- [x] Friend nicknames
- [x] Embeds & MediaProxy
2022-07-29 21:31:42 +10:00
- [ ] Clean-up/refactor code
2022-07-29 22:03:45 +10:00
- [x] Mobile responsiveness/compatibility
2022-07-31 14:56:43 +10:00
- [x] Email verification
2023-02-11 20:37:30 +11:00
- [x] Password resetting
2022-07-31 18:42:36 +10:00
- [x] Channel message pins
- [x] Read receipts
2022-07-29 20:34:27 +10:00
2022-08-14 22:51:41 +10:00
<img src="https://i.troplo.com/i/cb08c414644d.png" alt="Chat" width="45%"></img>
<img src="https://i.troplo.com/i/9e5beb241d19.png" alt="Friends" width="45%"></img>
<img src="https://i.troplo.com/i/a0459cbfd312.png" alt="Chat with AMOLED theme" width="45%"></img>
<img src="https://i.troplo.com/i/48f5e875d455.png" alt="Chat with profile card and light theme" width="45%"></img>
2022-07-29 20:34:27 +10:00
## Backend setup
First, configure a database and user (MariaDB strongly recommended) for Colubrina.<br>
2022-07-29 23:26:46 +10:00
Please navigate to the `backend` folder and run `yarn`.<br>
Then navigate to the `cli` folder, and run the following commands:
2022-07-29 20:34:27 +10:00
```
yarn
```
to install dependencies, and then
```
node .
```
which should result in an interactive CLI prompt looking like the following:
```
Troplo/Colubrina CLI
Colubrina version 1.0.1
Failed to check for updates, ensure you are connected to the internet, and services.troplo.com is whitelisted behind any potential firewalls.
? Please select an option (Use arrow keys)
Setup
Create user
Run migrations
Update/create config file
Check for updates
Build frontend for production
Exit
```
2022-07-29 21:26:18 +10:00
Select setup, and go through the steps.<br>After completing the initial setup, you may run `yarn build` in the frontend folder, or select "Build frontend for production" in the CLI.<br>
2022-07-29 20:34:27 +10:00
The backend service can now be started with `node .` in the `backend` folder which will run on port `23998`.
2022-07-29 21:26:18 +10:00
A systemd service example config file can be found at `colubrina.service`, and an `nginx.conf` example.
2022-07-29 20:34:27 +10:00
## Frontend setup
2022-06-05 22:58:18 +10:00
Rename .env.example to .env and fill it out with your own information.
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn build
```
### Lints and fixes files
```
yarn lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
#### View the Colubrina license in the LICENSE file.