Skip to content

Releases: lopesleo/Discord-Lite

v1.4.1 - Backend Modular Architecture

Choose a tag to compare

@lopesleo lopesleo released this 29 Jan 23:29

🏗️ Major Refactoring Release

Complete backend refactoring with professional modular architecture.

✨ Highlights

  • Backend Refactoring: Transformed 1693-line monolith into 21 specialized modules (762 lines main.py)
  • Modular Architecture: Clean separation - RPC, auth, voice, Steam integration, polling, utilities
  • Performance: Better caching, optimized polling intervals, dependency injection
  • Code Quality: Build validation, type hints, comprehensive docstrings
  • Bug Fix: Resolved ModuleNotFoundError with sys.path fix
  • Documentation: ARCHITECTURE.md, REFACTOR_MIGRATION.md, verification tools

📦 Backend Modules

backend/
├── auth/           OAuth2 PKCE flow, token management
├── discord_rpc/    IPC client, protocol encoding, event processing
├── polling/        Background polling with adaptive intervals
├── steam/          Game detection, Discord activity sync
├── utils/          LRU cache, settings manager, socket finder
└── voice/          Volume conversion, voice controller, member tracking

📊 Stats

  • 32 files changed
  • 3,788 insertions(+)
  • 1,589 deletions(-)
  • 55% reduction in main.py size
  • 2,303 lines of modular backend code

🔧 Installation

Via Decky Loader (Recommended):

  1. Download Discord-Lite-v1.4.1.zip
  2. Open Decky Loader → Settings → Developer → Install from ZIP
  3. Select the downloaded ZIP file

Manual Installation:

unzip Discord-Lite-v1.4.1.zip -d ~/homebrew/plugins/DiscordLite/
sudo systemctl restart plugin_loader

🐛 Bug Fixes

  • Fixed module import errors in Decky Loader environment
  • Resolved decky dependency injection issues
  • Improved build script validation

📚 Documentation


Full Changelog: v1.4.0...v1.4.1

Built with ❤️ using Claude Code

Discord Lite v1.4.0 - Legal Docs & Version Display

Choose a tag to compare

@lopesleo lopesleo released this 24 Jan 18:11

What's New in v1.4.0

Documentation & Compliance

  • Privacy Policy: Added comprehensive privacy policy outlining data handling practices
  • Terms of Service: Added terms of service for plugin usage
  • Version Display: Plugin title now shows version number (Discord Lite v1.4.0)

Previous Updates (included since v1.3.0)

  • Professional UI Reorganization: Improved component structure and styling
  • Modular Architecture: Split monolithic index.tsx into organized modules
    • Separated API, components, hooks, styles, and translations
    • Better maintainability and code organization
  • Documentation: Added images folder structure for screenshots
  • Claude Code Attribution: Added attribution in README

Technical Changes

  • Added TypeScript JSON module resolution support
  • Improved code organization with dedicated folders for:
    • API layer (src/api/)
    • React components (src/components/)
    • Custom hooks (src/hooks/)
    • Styling (src/styles/)
    • Internationalization (src/i18n/)

Installation

  1. Download Discord-Lite-v1.4.0.zip
  2. Copy to your Steam Deck
  3. Install via Decky Loader or extract to ~/homebrew/plugins/

Built with Claude Code

Discord Lite v1.3.0 – Game Sync, Volume Fixes & UI Polish

Choose a tag to compare

@lopesleo lopesleo released this 21 Jan 13:14

v1.3.0

🇺🇸 English

  • Improved Discord RPC connection and error handling.
  • Enhanced Steam game sync: now detects and updates Discord status more reliably.
  • UI tweaks: focus states, member controls, call timer, and bilingual support.
  • New cache system for game names and Discord App IDs.
  • Fixes: Various bug fixes and performance improvements.

🇧🇷 Português

  • Melhorias na conexão RPC do Discord e tratamento de erros.
  • Sincronização de jogo Steam aprimorada: detecção e atualização do status no Discord mais confiável.
  • Ajustes na interface: estados de foco, controles de membros, cronômetro de chamada e suporte bilíngue.
  • Novo sistema de cache para nomes de jogos e App IDs do Discord.
  • Correções: Correções de bugs e melhorias de desempenho.

Discord Lite v1.2.0 - PKCE OAuth2 Security Update

Choose a tag to compare

@lopesleo lopesleo released this 19 Jan 17:06

🔒 Security & Authentication Overhaul (PKCE)

This release introduces a critical security update by implementing PKCE (Proof Key for Code Exchange), eliminating the need for a client secret and aligning with modern OAuth2 standards for public applications.

🛡️ Security Improvements

  • PKCE Implementation: Transitioned the OAuth2 flow to use Proof Key for Code Exchange. This standard is significantly more secure for installed apps (mobile/desktop).
  • No More Client Secret: Completely removed CLIENT_SECRET from the source code/binary. The application now functions strictly as a public client.

🛠️ Technical Enhancements

  • Optimized OAuth2 Flow: Authorization now utilizes code challenge/verifier instead of hardcoded credentials.
  • Enhanced Logging: Added comprehensive and descriptive error messages during the authentication process to aid debugging.
  • Deployment Script: Introduced deploy.ps1 for automated builds.
    • Supports automatic deployment.
    • Adds support for remote installation directly to the Steam Deck.

🐛 Bug Fixes

  • ZIP Structure: Fixed an issue where files were not in the root of the archive, ensuring correct installation.
  • Credential Cleanup: Patched potential credential leaks by removing legacy implementation details.

📦 Compatibility

  • Discord API: Fully compatible with the latest secure public app guidelines.
  • Steam Deck: Improved installation reliability and script execution.

⚠️ Migration Notes / Breaking Changes

For existing users:

  1. Install the new version normally.
  2. Action Required: You must re-authenticate with Discord upon first launch. The move to PKCE requires a fresh authorization token.


🔒 Melhorias de Segurança e Autenticação (PKCE)

Esta versão traz uma atualização crítica de segurança com a implementação do PKCE (Proof Key for Code Exchange), eliminando a necessidade de client secrets e adequando o plugin aos padrões modernos do Discord para aplicativos públicos.

🛡️ Segurança

  • Implementação PKCE: A autenticação OAuth2 agora utiliza o padrão PKCE, que é muito mais seguro para aplicações instaladas (desktop/mobile).
  • Remoção do Client Secret: O CLIENT_SECRET foi totalmente removido do código-fonte. O plugin agora opera como uma aplicação pública legítima.

🛠️ Melhorias Técnicas

  • Novo Fluxo OAuth2: O processo de autorização agora usa code challenge/verifier, eliminando credenciais hardcoded.
  • Logs Melhorados: Mensagens de erro mais descritivas e logs detalhados durante a autenticação.
  • Script de Deploy: Adicionado o deploy.ps1 para automação.
    • Suporte a deploy automático.
    • Suporte a instalação remota diretamente no Steam Deck.

🐛 Correções de Bugs

  • Estrutura do ZIP: Corrigido um problema onde os arquivos não ficavam na raiz do arquivo compactado, o que impedia a instalação correta.
  • Limpeza de Credenciais: Resolvidos potenciais vazamentos de credenciais no código antigo.

📦 Compatibilidade

  • Discord API: Compatível com as práticas de segurança mais recentes para Apps Públicos.
  • Steam Deck: Deploy simplificado e mais confiável.

⚠️ Notas de Migração

Para usuários existentes:

  1. Instale a nova versão normalmente.
  2. Ação Necessária: Será preciso reautenticar com o Discord. A melhoria de segurança exige um novo token de autorização.

Discord Lite v1.1.0

Choose a tag to compare

@lopesleo lopesleo released this 19 Jan 05:54

What's New

  • Game Activity Sync: Discord status now shows the Steam game you are playing, with official art and App ID.
  • Performance improvements: Reduced background CPU usage and battery drain.
  • Persistent caching: Discord App IDs are now cached on disk for faster game detection.
  • Bugfixes: SSL errors fixed, status text improved, and more.

Discord Lite (Deckord) v1.0.0 - Full Voice Chat Integration

Choose a tag to compare

@lopesleo lopesleo released this 19 Jan 03:02

🎮 Discord Lite for Steam Deck

Complete Discord voice chat integration for Steam Deck via Decky Loader.

✨ Features

  • 🎤 Full voice chat controls (mute, deafen, join/leave)
  • 🔊 Per-user volume control with memory
  • 📢 Server and channel browsing
  • 👥 Member list with speaking indicators
  • ⏱️ Call timer
  • 🔔 Toast notifications for voice events
  • 🔗 Auto-connect option
  • 🌐 Multi-language support (EN/PT)

📋 Requirements

  • Steam Deck with Decky Loader
  • Discord desktop app (Flatpak recommended)

🚀 Installation

  1. Download Discord-Lite-v1.0.0.zip
  2. Extract to ~/homebrew/plugins/
  3. Restart Decky Loader

📖 Usage

See README.md for detailed instructions.