{"id":50896158,"url":"https://github.com/thomas-vilte/dave-go","last_synced_at":"2026-06-16T00:02:53.347Z","repository":{"id":350951389,"uuid":"1206414627","full_name":"thomas-vilte/dave-go","owner":"thomas-vilte","description":"Bring Discord DAVE end-to-end encryption to Go with a native, godave-compatible implementation.","archived":false,"fork":false,"pushed_at":"2026-06-13T05:58:09.000Z","size":210,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T07:22:25.805Z","etag":null,"topics":["cryptography","discord","e2ee","end-to-end-encryption","go","mls"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomas-vilte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-09T22:26:43.000Z","updated_at":"2026-06-13T05:58:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thomas-vilte/dave-go","commit_stats":null,"previous_names":["thomas-vilte/dave-go"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/thomas-vilte/dave-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-vilte%2Fdave-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-vilte%2Fdave-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-vilte%2Fdave-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-vilte%2Fdave-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomas-vilte","download_url":"https://codeload.github.com/thomas-vilte/dave-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-vilte%2Fdave-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34385031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","discord","e2ee","end-to-end-encryption","go","mls"],"created_at":"2026-06-16T00:02:52.066Z","updated_at":"2026-06-16T00:02:53.285Z","avatar_url":"https://github.com/thomas-vilte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dave-go\n\n[![Release](https://img.shields.io/github/v/release/thomas-vilte/dave-go?sort=semver)](https://github.com/thomas-vilte/dave-go/releases)\n[![License](https://img.shields.io/github/license/thomas-vilte/dave-go)](https://github.com/thomas-vilte/dave-go/blob/main/LICENSE)\n[![Go Reference](https://pkg.go.dev/badge/github.com/thomas-vilte/dave-go.svg)](https://pkg.go.dev/github.com/thomas-vilte/dave-go)\n[![CI](https://github.com/thomas-vilte/dave-go/actions/workflows/go.yml/badge.svg)](https://github.com/thomas-vilte/dave-go/actions/workflows/go.yml)\n\n`dave-go` is a pure Go DAVE implementation targeting the `github.com/disgoorg/godave.Session` interface.\n\nI originally started this while trying to get the MLS pieces needed for DAVE working in pure Go, and it ended up growing into a standalone implementation. It is built on top of [`github.com/thomas-vilte/mls-go`](https://github.com/thomas-vilte/mls-go).\n\n## Status\n\nIt is working and already usable, but I still consider it early and there are a few rough edges I want to clean up over time.\n\n## Install\n\n```bash\ngo get github.com/thomas-vilte/dave-go\n```\n\nFor a tagged version:\n\n```bash\ngo get github.com/thomas-vilte/dave-go@v0.1.0\n```\n\n## Usage\n\nUse the session implementation anywhere a `godave.SessionCreateFunc` is expected:\n\n```go\nimport (\n\t\"github.com/disgoorg/disgo/voice\"\n\t\"github.com/thomas-vilte/dave-go/session\"\n)\n\nvoice.WithDaveSessionCreateFunc(session.New)\n```\n\nThere is also a small `disgo` voice example in [`examples/voice`](https://github.com/thomas-vilte/dave-go/tree/main/examples/voice).\n\n## Packages\n\n- [`session`](https://pkg.go.dev/github.com/thomas-vilte/dave-go/session): `godave.Session` implementation\n- [`mediakeys`](https://pkg.go.dev/github.com/thomas-vilte/dave-go/mediakeys): sender key derivation and ratchets\n- [`frame`](https://pkg.go.dev/github.com/thomas-vilte/dave-go/frame): DAVE frame encrypt/decrypt logic\n- `codecs`: codec-aware frame transforms used by the session layer\n\n## References\n\n- [`godave`](https://github.com/disgoorg/godave)\n- [`mls-go`](https://github.com/thomas-vilte/mls-go)\n- [Go package docs](https://pkg.go.dev/github.com/thomas-vilte/dave-go)\n- [`session` package docs](https://pkg.go.dev/github.com/thomas-vilte/dave-go/session)\n- [RFC 9420](https://www.rfc-editor.org/rfc/rfc9420.html)\n\n## Notes\n\n- the example streams Opus frames from a local `.dca` file\n- some internal comments may still be cleaned up over time\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-vilte%2Fdave-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-vilte%2Fdave-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-vilte%2Fdave-go/lists"}