{"id":23527096,"url":"https://github.com/buntralino/buntralino-client","last_synced_at":"2026-05-18T03:10:11.372Z","repository":{"id":267761731,"uuid":"902271728","full_name":"buntralino/buntralino-client","owner":"buntralino","description":"Neutralino.js library for Buntralino. Buntralino unites Bun and Neutralino.js to make a simpler, lighter alternative to Electron and NW.js. Use Neutralino.js API at client and send harder tasks to Bun while keeping your development process easy.","archived":false,"fork":false,"pushed_at":"2025-02-09T07:13:48.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T10:21:20.609Z","etag":null,"topics":["bun","cross-platform","cross-platform-development","neutralino","xpda"],"latest_commit_sha":null,"homepage":"https://buntralino.github.io/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buntralino.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-12-12T08:44:29.000Z","updated_at":"2025-04-27T19:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e9ba0a8-dcc7-445f-bd69-8cbb9dfedeea","html_url":"https://github.com/buntralino/buntralino-client","commit_stats":null,"previous_names":["cosmomyzrailgorynych/buntralino-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buntralino/buntralino-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buntralino%2Fbuntralino-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buntralino%2Fbuntralino-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buntralino%2Fbuntralino-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buntralino%2Fbuntralino-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buntralino","download_url":"https://codeload.github.com/buntralino/buntralino-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buntralino%2Fbuntralino-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007064,"owners_count":26084230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bun","cross-platform","cross-platform-development","neutralino","xpda"],"created_at":"2024-12-25T20:11:59.007Z","updated_at":"2025-10-11T11:45:40.513Z","avatar_url":"https://github.com/buntralino.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Buntralino logo](https://buntralino.github.io/Buntralino.png)\n\n# Buntralino library for the Neutralino side\n\nBuntralino unites Bun and Neutralino.js to make a simpler, lighter alternative to Electron and NW.js. Use Neutralino.js API at client and send harder tasks to Bun while keeping your development process easy.\n\nBuntralino is a hybrid app development framework that lets you use web technologies (HTML, CSS, JavaScript, TypeScript) to make desktop apps. Buntralino applications work by creating a Bun application that launches and manages Neutralino.js windows. Neutralino.js windows can exchange information with Bun and each other in a client-server model through websockets, with you using a nice promise-based API. Bun is a faster alternative to Node.js or Deno, while Neutralino.js uses native OS' browser and augments it with native functions.\n\n## Usage\n\n```sh\nbun install --save buntralino-client # or use your package manager of choice\n```\n\n```typescript\nimport * as buntralino from 'buntralino-client'; // Automatically connects to Bun!\n\n// Wait till the connection to Bun is up\nawait buntralino.ready;\n\n// Call a method added on Bun side with buntralino.registerMethod\nconst updates = await buntralino.run('loadUpdates');\n\n// Call a method with options (must be a JSON-serializable object)\nawait buntralino.run('downloadFile', {\n    src: 'https://secret.bunnies.io/builds/windows.exe',\n    dest: 'dependencies/secretBunnies.exe'\n});\n\n// Send an event to all Neutralino instances\nbuntralino.broadcast('eventName', {\n    customData: 'moo'\n});\n// Send an event to a specific Neutralino window\nbuntralino.sendEvent('main', 'loginSuccessful', {\n    username: 'Doofus3000'\n});\n\n// Listen to events through Neutralino API:\nNeutralino.events.on('loginSuccessful', e =\u003e {\n    const {username} = e.detail;\n    console.log(`Logged in as ${username}!`);\n});\n\nsetTimeout(() =\u003e {\n    // Close ALL windows and exit the Buntralino app\n    buntralino.shutdown();\n}, 10_000);\n```\n\n## Development\n\n```sh\ngit clone https://github.com/CosmoMyzrailGorynych/buntralino-client.git\ncd ./buntralino-client\nbun install\n# And you're ready to code! Use `bun run build` to compile sources.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuntralino%2Fbuntralino-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuntralino%2Fbuntralino-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuntralino%2Fbuntralino-client/lists"}