Coder Social home page Coder Social logo

keneepatel / piston-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shivansh-007/piston-cli

0.0 0.0 0.0 1.09 MB

A universal shell supporting 36+ languages, in terminal code editor with syntax highlight, code compiler (36+ languages). It can run code from pastebin links and files too.

Home Page: https://pypi.org/project/piston-cli/

License: MIT License

Python 95.39% Shell 4.61%

piston-cli's Introduction

Piston CLI

A cli tool which uses the piston api, developed by Engineerman and his team to compile over 35 languages instantly. Accepts files, paste.pythondiscord.com links and input.

Installation

With pip

# Installing the package
pip3.8 install piston-cli -U
# Help Command
piston -h

With Nix/NixOS

Add this to your configuration.nix

  environment.systemPackages = with pkgs; [
     piston-cli
  ];

Or if you're using home-manager

  home.packages = with pkgs; [
     piston-cli
  ];

And finally using nix-env or nix profile

# using nix-env
nix-env -i piston-cli
# using nix profile (in nixUnstable)
nix profile install nixpkgs#piston-cli

For Arch/ArchBased

With yay
yay piston-cli
With paru
paru piston-cli

Or any AUR helper you use with doesn't matter. You get the point.

Example usage

Default

example usage

Shell

example shell usage

File

example file usage

Link

example link usage

Languages

piston --list

How to run it? (Contributing)

# This will install the development and project dependencies.
pipenv sync --dev

# This will install the pre-commit hooks.
pipenv run precommit

# Optionally: run pre-commit hooks to initialize them.
# You can start working on the feature after this.
pipenv run pre-commit run --all-files

# Run it
pipenv run start

Contributing

You can comment on the issues you would like to work on.

piston-cli's People

Contributors

ethancedwards8 avatar h4cky54ck avatar keneepatel avatar renovate-bot avatar shivansh-007 avatar supermazingcoder avatar theonlyonewhocanhelps avatar

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.