설명 없음

Mike 7751efa580 reorganize mock files 2 년 전
cmd 063b0be139 move chat OService logic into separate handlers 2 년 전
oscar dff8044fb5 test and refactor Buddy 2 년 전
server 7751efa580 reorganize mock files 2 년 전
.mockery.yaml 7751efa580 reorganize mock files 2 년 전
README.md f738e09970 Update README.md 2 년 전
api.yml 3ad366ec91 implement user management API 2 년 전
go.mod 999dd2ee65 implement unit tests for SendAndReceiveChannelMsgTohost 2 년 전
go.sum 999dd2ee65 implement unit tests for SendAndReceiveChannelMsgTohost 2 년 전

README.md

goaim

goaim is a server implementation of the OSCAR protocol that supports AIM versions 5.0-5.9.

How to run

goaim requires go 1.21.

Configuration

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.

Starting Up

DISABLE_AUTH=true \
OSCAR_HOST=192.168.64.1 \
DB_PATH=./aim.db \
go run ./cmd/main.go

User Management

User management is done through a REST API.

List Users

curl http://localhost:8080/user

Create Users

curl -d'{"screen_name":"myScreenName", "password":"thepassword"}' http://localhost:8080/user