Git Product home page Git Product logo

jssh's Introduction

.           ✦             ˚              *                   .
              .            ✦              ‍ ‍ ‍ ‍             ,  
.            .   ゚      .         
      ,      .                                  ☀️         ✦ 
                                        .           .        .     
                                                                  
           ✦       ,       spaceship go brrrr 🚀        ,    ‍ ‍ ‍ ‍          .        
    .                                            ˚       ,         
                              .                      .        .    
           *            ✦                                          .   
               .           .        .     🌑                  
 ˚                    ゚     .               .      🌎 ‍  ‍ ‍ ‍ ‍ ‍ ‍ ,        
        * .                    .           ✦                    
   *                        .                                 ✦           .

jssh's People

Contributors

dependabot[bot] avatar lcfyi avatar shreyansk2000 avatar tenvolin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

tenvolin

jssh's Issues

some dependencies can be devDependencies

Hello there and nice repo!

I noticed that your package.json's dependencies include webpack (plugins, loaders, etc.) and eslint packages. I'm not familiar with your build and deployment process, but I know that those tend to be devDependencies. Is this intentional?

Allow commands to accept input

Currently, commands are one-and-done, so you can't write an interactive script, for example. Unfortunately, the enter key is pretty tightly bound to processing commands.

Suggested Fix
Add a placeholder function that's called on the enter key that's changed whenever you enter a function body and swapped again when it returns, sort of like a context switch in a CPU.

Add the ability to search through suggestions based on a prefix.

An extension of #26.

zsh-autosuggestions allows you to type a prefix to search for suggestions based on that prefix; for example, if you type h then navigate using the up and down arrows, you can iterate through the command history that started with h.

This isn't a hard change, each TrieNode just has to support an ordered history of characters rather than the latest character that particular node has seen.

Add aliases.

So I can stop typing hue lights all on every morning.

Add a cors bypass.

cors-anywhere no longer serves public traffic effectively; in light of this change, add a proxy using Netlify Functions to add CORS headers on particular requests.

Make commands cancellable.

Currently, some commands aren't cancellable (eg. when it's in the middle of a request). Allow the commands to exit properly.

math.js may return 'undefined' values

This crashes the program.

Reproduction
The input "math eval('#')" kills the js.

Proposed fix
Add a check for undefined output values, and throw a new error if that's the case.

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.