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,258
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
720
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,401
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
  • K3Nv2 @ K3Nv2:
    I think I did then it broke a few months later
  • Psionic Roshambo @ Psionic Roshambo:
    Used it as a web cam for a day for fun, sooo shitty it was hilarious
  • Psionic Roshambo @ Psionic Roshambo:
    I had two Ken one regular black one and a silver special edition one lol
  • K3Nv2 @ K3Nv2:
    Speaking of old stuff those green og Logitech Xbox controllers still being listed around $100
  • The Real Jdbye @ The Real Jdbye:
    eyetoy was fun yeah
  • The Real Jdbye @ The Real Jdbye:
    super basic, but the minigames were well designed
  • The Real Jdbye @ The Real Jdbye:
    i'm sure there's at least 1 emulator out there that works with it
  • Psionic Roshambo @ Psionic Roshambo:
    I had the PS3 one too and The Eye of Judgement game lol was ass
  • The Real Jdbye @ The Real Jdbye:
    i had eye toy play on ps2
  • K3Nv2 @ K3Nv2:
    Microsoft ruined it with kinect
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, PCSX2 works with any web cam and emulates the EyeToy with it
  • K3Nv2 @ K3Nv2:
    I remember mic support for the n64 being janky
  • K3Nv2 @ K3Nv2:
    Emulation wise
  • Psionic Roshambo @ Psionic Roshambo:
    I had a kinnect.... It blew rotting goat balls
  • Psionic Roshambo @ Psionic Roshambo:
    Ken amazingly DraStic microphone support works better than real hardware lol
  • Psionic Roshambo @ Psionic Roshambo:
    On a phone of course
  • Psionic Roshambo @ Psionic Roshambo:
    Also touch is better.... Well at least better than the launch DS, the lite one improved that a ton
  • K3Nv2 @ K3Nv2:
    Touch
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I really need to dig out my USB Wii sensor bar and experiment with Wii emulation and synching Wii remotes with BT lol
  • Psionic Roshambo @ Psionic Roshambo:
    Sort of redundant since I have a Wii lol
  • Psionic Roshambo @ Psionic Roshambo:
    With HDMI lol
  • K3Nv2 @ K3Nv2:
    I also have a Wii
  • K3Nv2 @ K3Nv2:
    Tomorrow be may 4th
  • Psionic Roshambo @ Psionic Roshambo:
    Getting Wiid from Street Pharmacist Mario?
  • K3Nv2 @ K3Nv2:
    1tb SD card for whatever reason
    K3Nv2 @ K3Nv2: 1tb SD card for whatever reason