{"id":31834692,"url":"https://github.com/edgeraghty/feverdream","last_synced_at":"2026-02-15T09:42:08.470Z","repository":{"id":314102438,"uuid":"1054113270","full_name":"EdGeraghty/FEVERDREAM","owner":"EdGeraghty","description":"An LLM-only Matrix Chat client #yolo","archived":false,"fork":false,"pushed_at":"2025-09-15T20:05:06.000Z","size":173626,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-12T00:25:55.860Z","etag":null,"topics":["kotlin","kotlin-multiplatform","matrix","matrix-client","yolo"],"latest_commit_sha":null,"homepage":"https://ed.geraghty.family","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdGeraghty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-09-10T11:38:16.000Z","updated_at":"2025-09-16T11:57:46.000Z","dependencies_parsed_at":"2025-09-14T12:18:04.824Z","dependency_job_id":null,"html_url":"https://github.com/EdGeraghty/FEVERDREAM","commit_stats":null,"previous_names":["edgeraghty/feverdream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EdGeraghty/FEVERDREAM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdGeraghty%2FFEVERDREAM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdGeraghty%2FFEVERDREAM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdGeraghty%2FFEVERDREAM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdGeraghty%2FFEVERDREAM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdGeraghty","download_url":"https://codeload.github.com/EdGeraghty/FEVERDREAM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdGeraghty%2FFEVERDREAM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29475142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kotlin","kotlin-multiplatform","matrix","matrix-client","yolo"],"created_at":"2025-10-12T00:22:08.343Z","updated_at":"2026-02-15T09:42:08.459Z","avatar_url":"https://github.com/EdGeraghty.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FEVERDREAM\n\nA multi-platform Matrix chat client built with Kotlin and Compose Multiplatform, featuring MSN Messenger-style separate windows and end-to-end encryption.\n\n## Features\n\n- **Multi-platform support**: Windows, Mac, Linux\n- **MSN Messenger-style UI**: Separate windows for login, room list, chat windows, and settings\n- **End-to-end encryption**: Olm/Megolm cryptographic ratchets with key backup\n- **Modular architecture**: Clean separation of crypto components (OlmMachine, KeyBackup, RoomKey management)\n- **Sync token persistence**: Efficient incremental synchronization\n- **Room encryption detection**: Automatic detection and handling of encrypted rooms\n- **Key backup and recovery**: Secure backup and restoration of encryption keys\n- **Error handling**: Robust handling of missing keys, session expiration, and network issues\n\n## Encryption\n\nThis client implements Matrix end-to-end encryption using the Olm and Megolm cryptographic ratchets via the Matrix Rust SDK.\n\n**Current Implementation:**\n\n- Uses vodozemac cryptographic library via Rust bindings (matrix-sdk-crypto)\n- Supports room encryption detection and Megolm group encryption\n- UI indicators for encrypted rooms and message status\n- Key backup functionality with recovery key generation\n- Automatic session renewal for message encryption\n- Proper handling of undecryptable historical messages\n\n**Implementation Details:** The project embeds the Matrix Rust SDK and uses Kotlin bindings for vodozemac, providing a native, high-performance cryptography implementation.\n\n## Getting Started\n\n### Prerequisites\n\n- JDK 17 or higher\n- Gradle (wrapper included)\n\n### Building\n\nOn Unix-like systems:\n\n```bash\nJAVA_HOME=/path/to/jdk17 ./gradlew build\n```\n\nOn Windows:\n\n```cmd\nset JAVA_HOME=C:\\path\\to\\jdk17\ngradlew.bat build\n```\n\n### Running\n\nOn Unix-like systems:\n\n```bash\nJAVA_HOME=/path/to/jdk17 ./gradlew run\n```\n\nOn Windows:\n\n```cmd\nset JAVA_HOME=C:\\path\\to\\jdk17\ngradlew.bat run\n```\n\n## Project Structure\n\n- `src/desktopMain/kotlin/` - Desktop-specific application code\n- `matrix-rust-sdk/` - Embedded Matrix Rust SDK for crypto operations\n- `kotlin-bindings/` - Kotlin bindings for Rust crypto libraries\n- `crypto_store/` - Local storage for encryption keys and session data\n- `build.gradle.kts` - Build configuration\n- `settings.gradle.kts` - Project settings\n\n## Architecture\n\nThe application follows a modular design with separate components for:\n\n- **OlmMachineManager**: Handles OlmMachine lifecycle and initialization\n- **KeyBackupManager**: Manages key backup operations and recovery\n- **RoomKeyManager**: Handles room key requests and sharing\n- **MessageCacheManager**: Manages message caching and retrieval\n- **SyncManager**: Handles Matrix synchronization with token persistence\n\n## Contributing\n\nThis project uses the Matrix Rust SDK for cryptographic operations. Ensure you have the necessary build tools for cross-compilation if modifying crypto components.\n\n## License\n\n[#YOLO Public License (YPL) v0.12.34-hunter.2](https://github.com/YOLOSecFW/YoloSec-Framework/blob/master/YOLO%20Public%20License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeraghty%2Ffeverdream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeraghty%2Ffeverdream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeraghty%2Ffeverdream/lists"}