SyncShell is just available on
PyPi and by the following command install the latest version:
$ pip install syncshell # Maybe sudo need
$ syncshell -- --help Type: Syncshell String form: <syncshell.syncshell.Syncshell object at 0x7fa35d7d87f0> Usage: syncshell syncshell auth syncshell download syncshell upload
The actual idea of SyncShell is synchronization of your devices shell history, Almost, this ability will be useful when you want to sync your office and home machines. SyncShell is just built on Github
Gist feature such that this CLI tool represents three methods to communicate with the tool.
According to Github API, you can generate a token key with
gist scope to accessing to your gists. Gists have two
secret type which syncshell while executing
syncshell upload command will use secret type to store your history file and keep them secret on Github Gist.
On the others machine, by executing
syncshell download after entering your token key and created Gist ID you can download the gist and sync your shell's history.
Gists will be secret until you don't share it with someone else, In other words, It'll be secret and safe until you only have the Github Token and Gist ID.
zshand supporting other shells is in WIP.
Before SyncShell can be useful you need to setup your Github token key:
syncshell authcommand, Enter your token key to validate and confirm it.
Now you can try to upload your shell history by the following command:
$ syncshell upload
After the uploading process, you'll take a Gist ID that by this ID and your Github token, you can download history on the others machine by executing the following command:
$ syncshell download
bashand other shells
So nice you wanna contribute to this repository. Thank you. You may contribute in several ways like:
By the following command install syncshell dependencies
$ python install -r requirements.txt
Before submiting your PR, Execute the below command to be sure about passing test cases.
$ pytest -c pytest.ini -s
The code is licensed under the MIT License. See the data's LICENSE file for more information.
Solution of Quera's Problems with different programming language and approach.
🚀 @1995parham Linux / OSx configurations files
A simple database based on json for python, Strongly typed, easy and friendly ...
A toolkit full of handy functions including most used models and utilities for deep-learning practitioners!
solve all cs Course for python
SQLAlchemy Admin for Starlette/FastAPI
Python Engineer Roadmap
a simple blog and otp Authentication with django rest framework