暫無描述

Mike e64f35f883 update chat 4 月之前
.github 4718a3bc81 upgrade go deps + gh actions 7 月之前
cmd e64f35f883 update chat 4 月之前
config 937dda2a43 implement multisession support 6 月之前
docs 3d6a9f9890 zombie bug debugging 4 月之前
foodgroup e64f35f883 update chat 4 月之前
scripts 3d6a9f9890 zombie bug debugging 4 月之前
server e64f35f883 update chat 4 月之前
state e64f35f883 update chat 4 月之前
wire 569e600ebd toc2: support comma-delimited short caps 4 月之前
.gitignore dd40eaf1a5 update .gitignore 7 月之前
.goreleaser.yaml 418ebe3579 rename OOS binary 7 月之前
.mockery.yaml 82e8793f16 fix double chat signon 4 月之前
AGENTS.md faf86a2ef5 update developer documentation 4 月之前
Dockerfile 418ebe3579 rename OOS binary 7 月之前
Dockerfile.certgen 6cfd7e3f43 implement kerberos auth 1 年之前
Dockerfile.stunnel 4e9017983e fix stunnel download location 6 月之前
LICENSE 84c6909f36 fix data race in bos_service and chat_service tests 2 年之前
Makefile faf86a2ef5 update developer documentation 4 月之前
README.md d0e080a714 Update README.md 5 月之前
api.yml 0b18d2dd9e issue #64 - feedbag endpoint for adding/removing buddies 5 月之前
codecov.yml 42a19a6085 exclude webapi from code coverage report 7 月之前
docker-compose.yaml 0a8237b863 remove branding 7 月之前
go.mod 1c84b132ff feat: commit various improvements to the icq 5 月之前
go.sum 1c84b132ff feat: commit various improvements to the icq 5 月之前

README.md

Open OSCAR Server

[![codecov](https://codecov.io/gh/mk6i/open-oscar-server/graph/badge.svg?token=MATKPP77JT)](https://codecov.io/gh/mk6i/open-oscar-server) [![Discord](https://img.shields.io/discord/1238648671348719626?logo=discord&logoColor=white)](https://discord.gg/2Xy4nF3Uh9)

Open OSCAR Server is an open-source instant messaging server compatible with classic AIM and ICQ clients written in golang.

image

Disclaimer
This project is an independent, open-source initiative and is not affiliated with, endorsed by, or associated with AOL or Yahoo! Inc. This project is entirely non-commercial and does not generate any revenue or accept donations.

The following features are supported:

AIM

  • Windows AIM Clients: v1.x-v5.x, v6.x-v7.x
  • Away Messages
  • Buddy Icons (v4.x, v5.x)
  • Buddy List
  • Chat Rooms
  • Public & Private Chat Exchanges
  • Instant Messaging
  • User Profiles
  • Privacy (allow or block specific users)
  • Warning
  • User Directory Search
  • TOC Protocol Clients: Quick Buddy, gaim, TiK
  • File Sharing
    • LAN Only: Direct Connect, Get File
    • Lan/Internet: Send File

ICQ

  • Windows ICQ Clients: 2000b (more to come soon)
  • Instant Messaging
  • Profiles
  • User Search
  • Presence Statuses
  • Offline Messaging

🏁 How to Run

Get up and running with Open OSCAR Server using one of these handy server quickstart guides:

Don't have AIM installed yet? Check out the AIM Client Setup Guide.

...how about ICQ? Check out the ICQ Client Setup Guide.

🛠️ Development

This project is under active development. Contributions are welcome!

Follow this guide to learn how to compile and run Open OSCAR Server.

🌍 Community

Check out the Open OSCAR Server Discord server to get help or find out how to get involved.

👤 Management API

The Management API provides functionality for administering the server (see OpenAPI spec). The following shows you how to run these commands via the command line.

Windows PowerShell

Run these commands from PowerShell, not Command Prompt.

List Users

Invoke-WebRequest -Uri http://localhost:8080/user -Method Get

Create Users

Invoke-WebRequest -Uri http://localhost:8080/user `
  -Body '{"screen_name":"MyScreenName", "password":"thepassword"}' `
  -Method Post `
  -ContentType "application/json"

Delete Users

Invoke-WebRequest -Uri http://localhost:8080/user `
  -Body '{"screen_name": "user123"}' `
  -Method Delete `
  -ContentType "application/json"

Change Password

Invoke-WebRequest -Uri http://localhost:8080/user/password `
  -Body '{"screen_name":"MyScreenName", "password":"thenewpassword"}' `
  -Method Put `
  -ContentType "application/json"

List Active Sessions

This request lists sessions for all logged in users.

Invoke-WebRequest -Uri http://localhost:8080/session -Method Get

Create Public Chat Room

Invoke-WebRequest -Uri http://localhost:8080/chat/room/public `
  -Body '{"name":"Office Hijinks"}' `
  -Method Post `
  -ContentType "application/json"

List Public Chat Rooms

Invoke-WebRequest -Uri http://localhost:8080/chat/room/public -Method Get

macOS / Linux / FreeBSD

List Users

curl http://localhost:8080/user

Create Users

AIM
curl -d'{"screen_name":"MyScreenName", "password":"thepassword"}' http://localhost:8080/user
ICQ
curl -d'{"screen_name":"100003", "password":"thepassw"}' http://localhost:8080/user

Delete Users

curl -X DELETE -d '{"screen_name": "user123"}' http://localhost:8080/user

Change Password

curl -X PUT -d'{"screen_name":"MyScreenName", "password":"thenewpassword"}' http://localhost:8080/user/password

List Active Sessions

This request lists sessions for all logged in users.

curl http://localhost:8080/session

Create Public Chat Room

curl -d'{"name":"Office Hijinks"}' http://localhost:8080/chat/room/public

List Public Chat Rooms

curl http://localhost:8080/chat/room/public

📄 License

Open OSCAR Server is licensed under the MIT license.