Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanix-darker/ziim
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
https://github.com/sanix-darker/ziim
cli crawler error-correcting-codes error-handling exception-handler exception-handling exceptions javascript python scraper stackoverflow stackoverflow-api stackoverflow-questions
Last synced: 22 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/sanix-darker/ziim
- Owner: Sanix-Darker
- License: mit
- Created: 2019-09-11T10:19:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T14:02:52.000Z (almost 4 years ago)
- Last Synced: 2024-10-07T10:41:31.219Z (30 days ago)
- Topics: cli, crawler, error-correcting-codes, error-handling, exception-handler, exception-handling, exceptions, javascript, python, scraper, stackoverflow, stackoverflow-api, stackoverflow-questions
- Language: Python
- Homepage:
- Size: 4.67 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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]* RedditYou 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 :
```shell
pip3 install ziim
```In the code :
```python
# You import first Ziim Class and instantiate it
import ziim
# search_level is not required and as default it's 0
ziim = ziim.Ziim().gotry:
# 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 :
```shell
python3 -m ziim.example
```## As a CLI
Just hit this sample command :
```shell
# 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
- [Sanix-darker](https://github.com/sanix-darker)