Giter VIP home page Giter VIP logo

jshero-app's Introduction

js hero

jshero

Experimental js console for  (why?)

This app is under development, for fun, still there are a lot of limitations, among which, but not limited to the following:

  • requires node installed
  • there's no code assistance neither transpilation
  • if u see the herojs central spinner for unexpectedly too long, quit and restart (the script content u were editing can anyway be found on /Applications/jshero.app/Contents/Resources/app/.webpack/main/native_modules/jsheroScript.js); I still could not reproduce it exactly, thus I do not know the cause (only happens in the shipped app, not in the dev one). If happens and you have some time/love to give back then please file an issue on github putting as much informations as possible for me to try reproduce & fix it 👍
  • (BOM) window.fetch is blocked (cors) .... I still have to find the time to find a solution. Heeeeelp me plz!!!

...what should work properly:

  • console.log is the way to get some output
  • all global modules are accessible with CommonJS (require) from your home directory (since 0.0.9).
  • double click on the top bar to maximize the window (ok ...not exactly a feature 🤦 )
  • choose among many light & dark themes (all those shipped with codemirror + x)
  • shortcuts:
    •  + r: execute the current script
    •  + backspace: reset the current script content.
    •  + n: clear the content and forget about the current file if any.
    •  + o: open an existing file selecting from your filesystem
    •  + s: save the current script
    •  + shift + s: save a copy of the current script naming it as you want
    •  + b: toggle on/off the webview
    •  + m: create & copy the code in the clipboard as a <details> markdown friendly snippet
    •  + y: create & copy to the clipboard a bookmarklet which executes the code in the editor
    • plus all sublime bindings
  • about the webview:
    • in your script window will refer exactly to the webview global scope, some limitations (e.g. cors)
    • first toggle the webview on, then execute the script

There are other problems but to some extent it is usable and will get better soon 👍

download

After downloading be sure to open just the first time as follows:

a screenshot

then click open (might happen that the open button is not visible, in that case discard and try another time from the contextual menu open it)

a screenshot


a screenshot


a screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.