(Extremely) Experimental Versia implementation written in Go
Find a file
2024-08-22 23:05:37 +02:00
config refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
ent refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
internal refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
pkg refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
scripts chore: init 2024-08-13 01:18:14 +02:00
web chore: init 2024-08-13 01:18:14 +02:00
.dockerignore refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
.env refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
.gitignore refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
compose.yml refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
Dockerfile refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
entsqlite.go chore: init 2024-08-13 01:18:14 +02:00
fiber_error_handler.go chore: init 2024-08-13 01:18:14 +02:00
go.mod chore: init 2024-08-13 01:18:14 +02:00
go.sum chore: init 2024-08-13 01:18:14 +02:00
LICENSE chore: init 2024-08-13 01:18:14 +02:00
main.go refactor!: working WD-4 user discovery 2024-08-22 23:05:37 +02:00
README.md docs: add note about API stability and contribution 2024-08-22 23:05:30 +02:00

Versia-Go

Versia-Go is a experimental implementation of the (not yet renamed :P) Versia protocol written in Go.

Compatibility level: Lysand 3.1 (sort of)

⚠️ This project is still in development and is not ready for production use. In this phase no pull requests will be accepted and code may often break.

Developing

Requirements

  • Go 1.22.5+
  • Docker + Docker Compose v2

Running

git clone https://github.com/lysand/versia-go.git
cd versia-go

docker compose up -d nats

touch .env.local
# Add the changed variables from .env to .env.local

go run .

TODO

  • Notes
    • API
      • Allow choosing the publishing user
    • Federating notes
  • Follows
    • API
    • Automatic follows for public users
    • Unfollows (scheduled for Lysand Working Draft 4)
      • API
  • Users
    • API
      • Create user
    • Lysand API
      • Get user (from local)
      • Webfinger
      • Inbox handling
        • Federated notes
        • Federated unfollows
        • Federated follows
    • Receiving federated users
  • Web
  • Extensions
    • Emojis

License

Versia-Go is licensed under the GNU Affero General Public License v3.0.

See LICENSE for more information.

This project might get relicensed to a different license in the future.