Homebrew RELEASE Brew.js - Make homebrew apps with JavaScript!

XorTroll

Switching between my 2DS and my Switch
OP
Developer
Joined
Dec 28, 2017
Messages
642
Trophies
1
Location
Nowhere
Website
github.com
XP
4,229
Country
Spain
Brew.js - C++ high-level JavaScript API for Nintendo homebrew
(Still under development) 2.0 version - everything (is going to be) remade!


Doxygen.Logo.png


Brew.js is a C++ API for evaluating plain JavaScript (not Node.js or PegaSwitch) within C++, for various Nintendo platforms.

- Currently supported platforms: Nintendo DS, Nintendo 3DS, Nintendo Switch
  • Current content
- Brew.js API: C++ libraries to execute JavaScript within any C++ application or program (stable, some not working stuff, modules are WIP)
- Brew.js interpreter: a GUI front-end for executing JavaScript. (still undeveloped)
- Brew.js link: a PC client and Homebrew server to interpretate JavaScript code, like in Node.js CLI. (only Switch, and still very WIP)

Each platform has different exclusive modules(for instance ctr/sf2d for 3DS, ntr for DS, nx/pegaswitch for Switch...)

The current state of the project is unreleased. Latest release is 1.0, although it was released like 3 months ago.
2.0 is only early commits, and so much stuff needs to be done. Check the projects section on GitHub for more information.

As soon as the development gets closer to a release, more information will be added here.
As you can see, there are also graphical improvements, as the logo has changed (thanks to @EmperorX for the awesome new logo design)
Thanks for the current support, guys! The best is still coming soonTM!

GitHub project: https://github.com/XorTroll/Brew.js
Webpage (API documentation): https://xortroll.github.io/Brew.js

Enjoy scripting!

Copyright © 2018, by XorTroll
 
Last edited by XorTroll, , Reason: Add 2.0 early info

mowsie

Well-Known Member
Newcomer
Joined
May 16, 2018
Messages
70
Trophies
0
Age
34
XP
220
Country
United States
Sick, I'm all over this. I have a ton of snippets from old homebrew I made I'd love to bring to Switch. I will be testing this when I get back from the office for sure.
 

EclipseSin

Ignorant Wizard
Member
Joined
Apr 1, 2015
Messages
2,063
Trophies
1
Age
35
Location
221b Baker Street
XP
1,737
Country
United Kingdom
Brew.js - Make homebrew apps with JavaScript!

39009792


Hello everybody!
(for those who came here from the 3dJS project, this is that project's evolution)

- About this project

Brew.js consists on a number of interpreters (and I also plan to develop app makers) to develop and run JS apps, supporting plain JS and also supporting native platform functions, to develop real homebrew apps.

- API and JS source

I'm trying to add everything I can from libnx libraries. For the moment, these is the support the API has:
Switch: console printing, input detecting, image loading (only bitmaps, still experimental), accessing Switch's data (only a few things for the moment)...

- Support info

For the moment, only Switch is supported.
Support is planned for GBA, NDS, 3DS, GameCube, Wii and Switch.

- Using the interpreter

A project is a folder containing JS files.
The sources are loaded in alphabetical order, no matter the name they have.
[Switch] Save projects here: "sdmc:/switch/Brew.js/<yourproject>".

(no more platforms for the moment)

- Documentation and examples

You have the documentation and the examples in the release ZIP.

- Download and repository

Current release version: 0.1
This project is open-source, hosted at a GitHub organisation: https://github.com/BrewJS
[Switch] Releases: https://github.com/BrewJS/Switch/releases

Enjoy!
Copyright © 2018, by XorTroll
Does this mean what I think it means, seeing as js stuff already exists due to pegaswitch. It'd be easier than converting some stuff.
 

RedDucks

Well-Known Member
Newcomer
Joined
Apr 28, 2017
Messages
95
Trophies
0
Age
25
XP
717
Country
United States
Awesome! Been messing around with PyNX lately as I have an idea for a homebrew app, might give it a go using this as well!

Quick question though: I’ve noticed that you’re supporting some really old consoles, even back to the GBA. Any reason why WiiU support is not planned? Feels a bit odd. Also any plans to add support for non-Nintendo consoles?
 

Fadi5555

Well-Known Member
Member
Joined
Jan 3, 2018
Messages
499
Trophies
0
Age
35
XP
2,392
Country
United States
Brew.js - Make homebrew apps with JavaScript!

39009792


Hello everybody!
(for those who came here from the 3dJS project, this is that project's evolution)

- About this project

Brew.js consists on a number of interpreters (and I also plan to develop app makers) to develop and run JS apps, supporting plain JS and also supporting native platform functions, to develop real homebrew apps.

- API and JS source

I'm trying to add everything I can from libnx libraries. For the moment, these is the support the API has:
Switch: console printing, input detecting, image loading (only bitmaps, still experimental), accessing Switch's data (only a few things for the moment)...

- Support info

For the moment, only Switch is supported.
Support is planned for GBA, NDS, 3DS, GameCube, Wii and Switch.

- Using the interpreter

A project is a folder containing JS files.
The sources are loaded in alphabetical order, no matter the name they have.
[Switch] Save projects here: "sdmc:/switch/Brew.js/<yourproject>".

(no more platforms for the moment)

- Documentation and examples

You have the documentation and the examples in the release ZIP.

- Download and repository

Current release version: 0.1
This project is open-source, hosted at a GitHub organisation: https://github.com/BrewJS
[Switch] Releases: https://github.com/BrewJS/Switch/releases

Enjoy!
Copyright © 2018, by XorTroll
LibNX has JIT support if that helps.
Also can we get the advantage of vulkan api?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @Psionic Roshambo, Thats pretty cool.