|
|
2 лет назад | |
|---|---|---|
| cmd | 2 лет назад | |
| oscar | 2 лет назад | |
| server | 2 лет назад | |
| .mockery.yaml | 2 лет назад | |
| LICENSE | 2 лет назад | |
| README.md | 2 лет назад | |
| api.yml | 2 лет назад | |
| go.mod | 2 лет назад | |
| go.sum | 2 лет назад |
Retro AIM Server is a server implementation of the OSCAR protocol that supports AIM versions 5.0-5.9.
Retro AIM Server requires go 1.21.
Server configuration is set through environment variables. The following are the most useful configs:
| Env Variable | Description |
|---|---|
OSCAR_HOST |
The hostname that the server should bind to. If exposing to the internet, use the public IP. |
DISABLE_AUTH |
If true, auto-create screen names at login and skip the password check. Useful for development purposes. |
DB_PATH |
The path to the SQLite database. |
LOG_LEVEL |
Set logging granularity. Possible values: trace, debug, info, warn, error |
DISABLE_AUTH=true \
OSCAR_HOST=192.168.64.1 \
DB_PATH=./aim.db \
go run ./cmd/main.go
User management is done through a REST API.
curl http://localhost:8080/user
curl -d'{"screen_name":"myScreenName", "password":"thepassword"}' http://localhost:8080/user