+
Skip to content

Legcord/Buncord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrobun Hello World

A simple Electrobun app to get you started with the framework.

What You'll See

This hello world app demonstrates:

  • Native Window: A cross-platform desktop window
  • Web-based UI: Modern HTML, CSS, and JavaScript interface
  • Simple Architecture: Clean separation between Bun process and UI

Getting Started

  1. Install dependencies:

    bun install
  2. Run in development mode:

    bun run dev
  3. Build for production:

    bun run build

Project Structure

src/
├── bun/
│   └── index.ts      # Main process - creates and manages windows
└── mainview/
    ├── index.html    # Your app's UI
    ├── index.css     # Styles
    └── index.ts      # View logic

Next Steps

Ready to build something more complex? Check out:

  • Documentation - Learn about all Electrobun features
  • Examples - See advanced features like RPC, menus, and system tray
  • GitHub - Star the repo and join the community

Add More Features

Want to extend this app? Try adding:

  • RPC communication between Bun and webview
  • Native menus and system tray
  • File dialogs and system integration
  • Multiple windows and views

Happy building! 🚀

About

Next generation Discord Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载