RELEASE Brew.js - Make homebrew apps with JavaScript!

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by XorTroll, May 18, 2018.

  1. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    Brew.js - C++ high-level JavaScript API for Nintendo homebrew
    (Still under development) 2.0 version - everything (is going to be) remade!


    [​IMG]

    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, Oct 31, 2018 - Reason: Add 2.0 early info
    LadyApollo, ry755, Ty_ and 38 others like this.
  2. mowsie

    mowsie Advanced Member

    Newcomer
    2
    May 16, 2018
    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.
     
  3. jjbredesen

    jjbredesen Yes I am not dead.

    Member
    13
    GBAtemp Patron
    jjbredesen is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 16, 2018
    Korea, North
    Hyrule
    YES! Thank you, will this support HTML+js development?
     
    lordelan, Dr.doom, Ep8Script and 2 others like this.
  4. copycat114

    copycat114 Member

    Newcomer
    2
    Jul 17, 2015
    United States
    I'm pretty sure i'm in my house.
    oh hell yeah
     
  5. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    It doesn't support JS as in HTML, more like Node.js.
    BTW, it would be a good idea.
     
  6. jjbredesen

    jjbredesen Yes I am not dead.

    Member
    13
    GBAtemp Patron
    jjbredesen is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 16, 2018
    Korea, North
    Hyrule
    Awesome, still great. Would be amazing if we could have a "wrapper" like Cordova / Electron down the line.
     
    Ep8Script likes this.
  7. sup3rgh0st

    sup3rgh0st Top Tier Ghost

    Member
    6
    Apr 22, 2010
    United States
    Looks like a great way to get your feet wet making Homebrew games! Does it work with any Switch emulators for testing?
     
  8. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    I guess it does, you just have to add your projects to the folder the emulator has as the SD card.
    I've tested it with Yuzu and it seems to work.
     
  9. EclipseSin

    EclipseSin Ignorant Wizard

    Member
    9
    Apr 1, 2015
    United Kingdom
    221b Baker Street
    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.
     
  10. Shadowhand

    Shadowhand Slim, Alternative Dev.

    Member
    6
    Feb 27, 2016
    United Kingdom
    Ah... It's time to buy a Switch.
     
  11. normal19

    normal19 GBAtemp Regular

    Member
    4
    Aug 23, 2014
    Afghanistan
    Can you edit the yellow text, I can't read it
     
    matt! likes this.
  12. jjbredesen

    jjbredesen Yes I am not dead.

    Member
    13
    GBAtemp Patron
    jjbredesen is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 16, 2018
    Korea, North
    Hyrule
    Use dark theme
     
  13. XorTroll
    OP

    XorTroll Dev: Goldleaf, emuiibo, Brew.js...

    Member
    11
    Dec 28, 2017
    Spain
    Nowhere
    Yep, I'm using dark theme SO I didn't notice that.
     
  14. RedDucks

    RedDucks Advanced Member

    Newcomer
    2
    Apr 28, 2017
    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?
     
  15. Fadi5555

    Fadi5555 GBAtemp Regular

    Member
    4
    Jan 3, 2018
    United States
    LibNX has JIT support if that helps.
    Also can we get the advantage of vulkan api?
     
  16. Fatih120

    Fatih120 All-Loving Lover

    Member
    2
    Jan 22, 2016
    Canada
    Cornwall, Ontario
    Oh shit, sounds great! I'll totally try it out... when I'm not lazy, of course
     
  17. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    7
    Oct 6, 2013
    Australia
    Hyrule Field
    @SciresM cart dumping script with this
     
  18. Thetoto

    Thetoto GBAtemp Advanced Fan

    Member
    5
    May 10, 2018
    France
    Great. I love node.js so I'll love create homebrew with js.
     
  19. H1B1Esquire

    H1B1Esquire RxTools, the ultimate CFW machine.

    Member
    8
    Nov 2, 2016
    United States
    Earth, bro-dude.
  20. masterspike52

    masterspike52 GBAtemp Regular

    Member
    3
    Jan 25, 2017
    United States
    does it work on 5.0.x?
     
Loading...