Build self-contained binaries for releases #52

Closed
opened 2026-02-16 03:05:07 +03:00 by NiXTheDev · 1 comment
NiXTheDev commented 2026-02-16 03:05:07 +03:00 (Migrated from github.com)

Description

Build and distribute self-contained binaries for Linux (AppImage) and Windows (.exe) in GitHub releases.

Background

Currently users need to have Bun installed and run from source. Providing pre-built binaries would make the bot more accessible to non-technical users.

Implementation Plan

  1. Linux Binary (AppImage)

    • Use Bun's compile feature or pkg/nexe
    • Create distro-agnostic AppImage
    • Self-contained with all dependencies
    • Test on major distros (Ubuntu, Fedora, Arch)
  2. Windows Binary (.exe)

    • Portable .exe (no installer)
    • Self-contained
    • Test on Windows 10/11
  3. CI/CD Integration

    • Add build steps to release workflow
    • Build binaries on release tag creation
    • Upload to GitHub releases
    • Include in release assets
  4. Build Tools

    • Bun's native compile (bun build --compile)
    • Or pkg (vercel/pkg) if bun compile has limitations
    • Cross-compilation for Windows from Linux CI

Acceptance Criteria

  • Linux AppImage builds successfully
  • Windows .exe builds successfully
  • Binaries are self-contained (no external dependencies)
  • Binaries uploaded to GitHub releases automatically
  • Tested on target platforms
  • Documentation updated with binary download instructions

Part of Epic #38

## Description Build and distribute self-contained binaries for Linux (AppImage) and Windows (.exe) in GitHub releases. ## Background Currently users need to have Bun installed and run from source. Providing pre-built binaries would make the bot more accessible to non-technical users. ## Implementation Plan 1. **Linux Binary (AppImage)** - Use Bun's compile feature or pkg/nexe - Create distro-agnostic AppImage - Self-contained with all dependencies - Test on major distros (Ubuntu, Fedora, Arch) 2. **Windows Binary (.exe)** - Portable .exe (no installer) - Self-contained - Test on Windows 10/11 3. **CI/CD Integration** - Add build steps to release workflow - Build binaries on release tag creation - Upload to GitHub releases - Include in release assets 4. **Build Tools** - Bun's native compile (bun build --compile) - Or pkg (vercel/pkg) if bun compile has limitations - Cross-compilation for Windows from Linux CI ## Acceptance Criteria - [ ] Linux AppImage builds successfully - [ ] Windows .exe builds successfully - [ ] Binaries are self-contained (no external dependencies) - [ ] Binaries uploaded to GitHub releases automatically - [ ] Tested on target platforms - [ ] Documentation updated with binary download instructions ## Related Part of Epic #38
NiXTheDev commented 2026-02-17 06:34:15 +03:00 (Migrated from github.com)

Completed as part of #53 (0.1.10 Release). Self-contained binary builds for Linux and Windows have been merged. Binaries will be available in the GitHub release.

Completed as part of #53 (0.1.10 Release). Self-contained binary builds for Linux and Windows have been merged. Binaries will be available in the GitHub release.
Sign in to join this conversation.
No description provided.