Giter Site home page Giter Site logo

termi-lua's Introduction

Termi-Lua

Lua version of Termi

Stable version 1.0.0

Build & Run

Required software:

  • Lua (minium Lua 5.1)
    • Install with sudo apt-get install lua5.4 if not already installed on GNU/Linux machine, Debian based.
  • Git
    • Install with sudo apt-get install git if not already installed on GNU/Linux machine, Debian based.
  • ANSI supported terminal
    • You can use Termi-Lua without ANSI characters but then colors and option to clear screen are unavailable; warning for Windows users, use Windows Terminal if you can.

Build & Run - macOS/BSD/(GNU/)Linux

  • Open terminal in src directory of repo and type:
$ lua main.lua

Build & Run - other platforms

  • Change name of platform in utils.lua
  • Open terminal in src directory and run lua executable with argument: main.lua

Advantages and cons over Termi's C++ version

Advantages

  1. Less resources intensive
  2. Easier to port (filesys commands might be broken, see CONTRIBUTING.md)

Cons

  1. Less commands
  2. Slower development

Advantages/Cons

it can be for someone advantage or cons for other

  1. Does not have own terminal window

Users which use(d)/ported Termi-Lua

termi-lua's People

Contributors

andrej123456789 avatar endermanpc avatar stjepanbm1 avatar

Stargazers

 avatar

termi-lua's Issues

Termi-Lua.Opencalc issues and enhancements

Enhancement: Add separates functions to do their own work, for example Calculator's function when people call the calculator command
Enhancement: Termi-Lua.Opencalc, Termi-Lua.OpenGeocalc: Print when asking about numbers.

Enhancement: Create a command-list variable (array), when user enter a command, just check if the command exist in the command list.
Issue: Termi-Lua.AllCommands: Response if user put in the unexpected value

image

Hope this can improves the project!

Make it active ;) and fix some issues

I have reviewed the Termi-Lua code and I see some cons of the function.

The way to run commands is passive, means you have registered commands in main.lua file can be run. Why don't check for function/{input}.lua file instead of it?

Also Termi-Lua has some problem with the command line because some code is not properly run. This is the screenshot
image
I entered invalid commands and it doesn't say anything

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.