商业产业 Hacker News AI 2026-08-30T00:33 正文 ok 411 words

Open OSCAR Server:兼容 AIM 和 ICQ 客户端的开源服务器

英文标题:🔶 Open Oscar Server: open-source server compatible with AIM and ICQ clients

Open OSCAR Server 是一款用 Go 编写的开源即时通信服务器,可兼容经典 AIM 与 ICQ 客户端。该项目提供客户端配置、编译运行指南,以及用于管理用户、会话和公共聊天室的 Management API,并附有 OpenAPI 规范。项目目前仍在积极开发中,采用 MIT 许可证,适合希望复用或研究经典 OSCAR 即时通信协议生态的开发者。原帖获 45 分、16 条评论。
打开原文相关 2 · 机会 2
media2.2 KB media3.1 KB media230.1 KB media4.1 KB media56.5 KB

中文

Open OSCAR Server 是一款使用 Go 编写的开源即时通信服务器,兼容经典 AIM 和 ICQ 客户端。

图片
上图:Pidgin 即时通信客户端已连接至 Open OSCAR Server

免责声明

本项目是一项独立的开源计划,不隶属于、未获 AOL 或 Yahoo! Inc. 认可,也与两者不存在关联。本项目完全为非商业性质,不产生任何收入,也不接受捐款。

支持以下功能:

AIM

ICQ

使用以下便捷的服务器快速入门指南之一,即可开始运行 Open OSCAR Server:

尚未安装 AIM?请查看 AIM 客户端配置指南。

……那么 ICQ 呢?请查看 ICQ 客户端配置指南。

本项目正在积极开发中,欢迎贡献!

请遵循本指南,了解如何编译和运行 Open OSCAR Server。

🌍 社区

访问 Open OSCAR Server 的 Discord 服务器,获取帮助或了解参与方式。

JetBrains 标志。

Management API 提供服务器管理功能(参见 OpenAPI 规范)。以下展示如何通过命令行运行这些命令。

请在 PowerShell 中运行这些命令,_不要_使用 Command Prompt。

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


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


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


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

此请求会列出所有已登录用户的会话。

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


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


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


curl http://localhost:8080/user


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


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


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


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

此请求会列出所有已登录用户的会话。

curl http://localhost:8080/session


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


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

Open OSCAR Server 采用 MIT 许可证。

English / 原文

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

image
Above:Pidgin IM connected to Open OSCAR Server

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

ICQ

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.

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.

JetBrains logo.

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.

Run these commands from PowerShell , not Command Prompt.

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


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


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


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

This request lists sessions for all logged in users.

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


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


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


curl http://localhost:8080/user


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


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


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


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

This request lists sessions for all logged in users.

curl http://localhost:8080/session


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


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

Open OSCAR Server is licensed under the MIT license.