GithubHelp home page GithubHelp logo

sanix-darker / ziim Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 4.78 MB

Let your CLI find available solutions for errors / exceptions online on commands you hit, for you, no need open a Browser. and find something yourself

License: MIT License

Python 98.21% JavaScript 0.47% Shell 1.32%
stackoverflow stackoverflow-questions stackoverflow-api exceptions exception-handling exception-handler error-handling error-correcting-codes cli python javascript crawler scraper

ziim's Introduction

Ziim

Never open a Browser-tab again, copy/Paste your error/Exception to find available solutions online randomly!
Ziim will handle everything for you, directly in the CLI after catching an error!
AMAZING RIGHT ?

How it's works

Theese are steps :

  • Ziim get your error and ask you, where you want to find solution
  • You just need to enter number corresponding the forum you want to fetch answers
  • That's all, Ziim will provide you the available questions matching your error, give you the answers, votes,...

YOU GET IT ?\

No need to:

  • copy the Exception,
  • Minimize your terminal,
  • Open the browser,
  • Paste it on google or any searchEngine,
  • Open multiple tabs per result,
  • fetching where the solution of your problem could be...

Handled Forums

For Now, Ziim can find on:

  • [Done] StackOverflow
  • [Done] StackExchange
  • [Done] Codeproject
  • [Done] CodeRanch
  • [Done] SitePoint
  • [Done] Quora
  • [Done] Reddit

You will have the available list in ./parser.json

Requirements

  • Python (3.x is recommended)
  • requests
  • lxml

How to use it

Let's see some examples on how to use it :

In your code

Make sure you have installed all requirements in ./python/requirements.txt, by running :

pip3 install ziim

In the code :

# You import first Ziim Class and instantiate it
import ziim
# search_level is not required and as default it's 0
ziim = ziim.Ziim().go 

try:
    # Your code here
    test = 12/0 # This will throws an error
except Exception as es:
    # Then call ziim here
    ziim(es)

Run in the cli :

python3 -m ziim.example

As a CLI

Just hit this sample command :

# Then hit:
ziim node ./example.js

The command node ./example.js will be executed and the error will be taken to ziim, with this method you can start any kind of process in CLI and use ziimcli to fetch solutions.

Author

ziim's People

Contributors

sanix-darker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ziim's Issues

Zeus command line

My idea would be to set up a zeus command line so we can type
zeus run path/to/main/file
It executes the code and when it finds a bug it runs zeus.go(exception)
and in an interactive way it helps me to fix my bug

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.