Project ideas from Hacker News discussions.

Ghostling

📝 Discussion Summary (Click to expand)

Top Themes in the Discussion

# Theme Supporting Quote
1 Cross‑platform binary resource embedding – surprise at finally having a portable way to embed binary data in source code. "I’m somewhere between horrified and impressed, in that I feel we’ve finally discovered a cross platform binary resource embedding solution." – vintagedave
2 Various ways to generate C arrays from binaries – discussion of tools like xxd, objcopy, CMake scripts, and libraries such as LIEF. "You can use xxd from the vim package to generate these. You'll find out pretty quickly that this is only suitable for small resources: gcc and clang blow up in both time and space on very large literal arrays." – electroly
3 Ghostty and terminal‑app UI concepts – interest in using Ghostty/libghostty to package TUIs as native desktop apps and the debate over tabs vs. window‑manager handling. "I use libghostty for Trolley[0], which packages TUIs as desktop apps, like Electron does for web apps." – oDot

The summary is intentionally concise, highlighting the three most recurring ideas and backing each with a direct, attributed quotation.


🚀 Project Ideas

ResourceEmbed CLI#Summary

  • A lightweight CLI that embeds arbitrary binary files (images, fonts, data) into C/C++ source using modern techniques (C23 #embed, objcopy, bin2header) and generates header files ready for inclusion.
  • Eliminates manual header generation, reduces build friction, and provides size budgets & warnings.

Details

Key Value
Target Audience C/C++ developers building cross‑platform applications that need to ship embedded assets (fonts, icons, sample data).
Core Feature Automatic asset → header conversion, size‑limit enforcement, fallback to objcopy, support for #embed, CI integration scripts.
Tech Stack Rust 1.78+, CMake for project integration, optional Python wrapper for CI.
Difficulty Medium
Monetization Revenue-ready: SaaS CI‑service tier ($9/mo per repo)

Notes

  • HN users repeatedly lament the manual “bin2header.cmake” workflow and the lack of a unified tool; this solves that pain directly.
  • Could spark discussion about best practices for resource embedding and size‑aware builds.

GhosttyDesktop Packager

Summary

  • A turnkey service that packages Ghostty‑based terminal TUIs into native desktop applications for Windows, macOS, and Linux, handling bundling, signing, and auto‑updates.
  • Turns a single‑file TUI into a distributable .exe/.app/.deb with zero UI toolkit overhead.

Details| Key | Value |

|-----|-------| | Target Audience | Indie developers and hobbyists building text‑based UI tools who want a polished desktop distribution. | | Core Feature | One‑click packaging CLI, auto‑generated installers, built‑in code signing for macOS/Windows, optional Electron‑free distribution. | | Tech Stack | Go backend, libghostty, FLTK wrapper, GitHub Actions for CI/CD. | | Difficulty | High | | Monetization | Revenue-ready: Subscription $15/mo for cloud build minutes and private repo access |

Notes

  • Commenters expressed excitement about “packaging TUIs as native desktop apps”; this directly fulfills that wish and could generate community contributions.
  • Potential for discussion on cross‑platform UI distribution models.

ResourceSize Analyzer#Summary

  • A web‑based analyzer that scans C/C++ source files for embedded binary arrays, reports byte size, compression ratio, and suggests optimizations (objcopy, compression, external assets).
  • Helps prevent accidental source bloat from large embedded resources.

Details

Key Value
Target Audience Developers integrating large assets (fonts, textures) into source code and concerned about compile‑time and binary size.
Core Feature Upload repository, get size breakdown per asset, receive compression recommendations, export optimized embed snippets.
Tech Stack Node.js + React frontend, WebAssembly for fast scanning, optional CLI wrapper.
Difficulty Low
Monetization Hobby

Notes

  • The discussion highlighted worries about “size explosion” with large literal arrays; this tool directly addresses that concern and could be shared on HN for feedback.
  • Offers practical utility for CI pipelines and code‑review processes.

Read Later