my-repo
my-repo will locally store Stackoverflow answers, comments, ratings and personal keywords of your favorite marked questions. Only for Linux.
The idea with my-repo is so that you can save all of your favorite stackoverflow questions locally on your computer. The idea came when I was travelling by plane.
Sometimes when we (developers) travel, we might not have access to internet. At that moment we end up wishing that we somehow could have saved some of those stackoverflow favorites in our browser, just so that we could use them later. We all know that many of the Stackoverflow questions/answers are great for our development as software developers, so that is why I wanted to do something like this. So that I could work whenever and wherever I am.
Installing Dependencies
Dependencies:
- python3.5+
- pip for python3 (pip3)
- setuptools for python3 (python3-setuptools)
- requests
- requests-oauthlib
- oauthlib
- webbot
Install the following packages based on your distro:
Distro | Command |
---|---|
Fedora/CentOS/RHEL | sudo dnf install -y python3-pip python3-setuptools python3-gobject gtk3 |
Ubuntu/Linux Mint/Debian and derivatives | sudo apt install -y python3-pip python3-setuptools python3-gi python3-gi-cairo gir1.2-gtk-3.0 |
OpenSUSE/SLES | sudo zypper in -y python3-pip python3-setuptools python3-gobject python3-gobject-Gdk typelib-1_0-Gtk-3_0 libgtk-3-0 |
Arch Linux/Manjaro | sudo pacman -S python-pip python-setuptools python-gobject gtk3 |
Installing my-repo
You can either install via PIP or by cloning the repository.
Note: Make sure to run pip with sudo
sudo pip3 install my-repo-calexandru2018
To update to a new version
sudo pip3 install my-repo-calexandru2018 --upgrade
Manual Installation
-
Clone this repository
git clone https://github.com/calexandru2018/my-repo
-
Step into the directory
cd my-repo
-
Install
sudo python3 setup.py install
How to use
sudo my-repo
Not yet implemented:
- GUI
- Add own (personal) keywords
- Searching/Filter