4
0

Тайлбар байхгүй

Mike c5bdd2c41d document keyword setup 1 жил өмнө
.github b4e8f88d90 chores 2 жил өмнө
cmd 92c37bc0e7 implement ODir food group / user directory search 1 жил өмнө
config c5bdd2c41d document keyword setup 1 жил өмнө
docs c5bdd2c41d document keyword setup 1 жил өмнө
foodgroup f2d49493eb fix ODir bugs 1 жил өмнө
scripts bb42dce23c load env file at application startup 1 жил өмнө
server f2d49493eb fix ODir bugs 1 жил өмнө
state f2d49493eb fix ODir bugs 1 жил өмнө
wire 92c37bc0e7 implement ODir food group / user directory search 1 жил өмнө
.gitignore 3a41734424 ignore .DS_Store 2 жил өмнө
.goreleaser.yaml 279504a7a4 replace native sqlite driver with pure go driver 1 жил өмнө
.mockery.yaml 92c37bc0e7 implement ODir food group / user directory search 1 жил өмнө
LICENSE 84c6909f36 fix data race in bos_service and chat_service tests 2 жил өмнө
Makefile 279504a7a4 replace native sqlite driver with pure go driver 1 жил өмнө
README.md 92c37bc0e7 implement ODir food group / user directory search 1 жил өмнө
api.yml 92c37bc0e7 implement ODir food group / user directory search 1 жил өмнө
codecov.yml b4e8f88d90 chores 2 жил өмнө
go.mod 7425ba0b61 upgrade sqlite dependency 1 жил өмнө
go.sum 7425ba0b61 upgrade sqlite dependency 1 жил өмнө

README.md

Retro AIM Server

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

Retro AIM Server is an instant messaging server that revives AOL Instant Messenger (and ICQ!) clients from the 2000s.

screenshot of retro aim server running next to AIM

The following features are supported:

AIM

  • Windows AIM Clients: v2.x, v3.x, v4.x, v5.x
  • Away Messages
  • Buddy Icons (v4.x, v5.x)
  • Buddy List
  • Chat Rooms
  • Public & Private Chat Exchanges
  • Instant Messaging
  • User Profiles
  • Blocking (v3.5+)
  • Visibility Toggle / Idle Notification
  • Warning
  • User Directory Search

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 Retro AIM 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 Retro AIM Server.

🌍 Community

Check out the Retro AIM 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

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

Create Category

curl -d'{"name": "Programming Languages"}' http://localhost:8080/directory/category

Create Keyword

curl -d'{"category_id": 1, "name": "c++"}' http://localhost:8080/directory/keyword

Get Directory Categories

curl http://localhost:8080/directory/category

Get Directory Keywords by Category

curl http://localhost:8080/directory/category/1/keyword

Delete Directory Category

curl -X DELETE http://localhost:8080/directory/category/1

Delete Directory Keyword

curl -X DELETE http://localhost:8080/directory/keyword/2

🔗 Acknowledgements

  • aim-oscar-server is another cool open source AIM server project.
  • NINA Wiki is an indispensable source for figuring out the OSCAR API.
  • libpurple is also an invaluable OSCAR reference (especially version 2.10.6-1).

📄 License

Retro AIM Server is licensed under the MIT license.