# Open Tab Tracker
This tool tracks the count of open tabs you have, and plots them over time.
When I'm working on a problem, or exploring a new idea, I'll open a new browser window and start searching. I'll discover related ideas that I should look into, new things to learn, and often, _more problems_ to work on. I thought it would be neat to be able to display this data visually.
This is what my open tab chart looked like while I was working on this project. You can see the points in time where I solved a problem I was working on _(sharp decrease in open tabs)_, and the points where I discovered new problems to solve _(sharp increase in open tabs)_.
![](images/finished-project.png)
## Installation
This package has not been released anywhere, so you'll have to run it by cloning the git repo:
```bash
$ git clone git@github.com:alichtman/open_tab_tracker.git
$ cd open_tab_tracker
$ pip3 install .
$ open-tab-tracker --install
$ open-tab-tracker --graph
```
## Usage
```bash
$ open-tab-tracker --help
Usage: open-tab-tracker [OPTIONS]
Open Tab Tracker
Options:
-a, --add-datapoint Add a datapoint
-i, --install Install in crontab to run at startup
--drop-database Drop the database
--graph Opens the graph in a browser
--print-db Print the database
--uninstall Uninstall from crontab
-v, --version Print the version
-h, -help, --help Show this message and exit.
See the project homepage for more details:
https://github.com/alichtman/open_tab_tracker
```
## Support
| OS | Firefox | Chrome / Chromium | Safari |
|--------- |----------------- |------------------- |----------------- |
| Linux | :white_check_mark: | :x: | :x: |
| macOS | :white_check_mark: | :x: | :x: |
| Windows | :x: | :x: | :x: |
## Technical Details
- Data is stored in a `sqlite3` database at `$XDG_DATA_HOME/open_tab_tracker.db`.
- Firefox tab counts are derived from your firefox profile session backup recovery files. You can read the implementation details in [`browsers/firefox.py`](https://github.com/alichtman/open_tab_tracker/blob/main/open_tab_tracker/browsers/firefox.py).
Raw data
{
"_id": null,
"home_page": null,
"name": "open-tab-tracker",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "browser,chrome,firefox,tab,tracking",
"author": null,
"author_email": "Aaron Lichtman <aaronlichtman@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/30/27/d86e94cdd75faa6bf0726f204d520bae2dd567012dbf9585ddfc2bc2043f/open_tab_tracker-0.0.1.tar.gz",
"platform": null,
"description": "# Open Tab Tracker\n\nThis tool tracks the count of open tabs you have, and plots them over time.\n\nWhen I'm working on a problem, or exploring a new idea, I'll open a new browser window and start searching. I'll discover related ideas that I should look into, new things to learn, and often, _more problems_ to work on. I thought it would be neat to be able to display this data visually.\n\nThis is what my open tab chart looked like while I was working on this project. You can see the points in time where I solved a problem I was working on _(sharp decrease in open tabs)_, and the points where I discovered new problems to solve _(sharp increase in open tabs)_.\n\n![](images/finished-project.png)\n\n## Installation\n\nThis package has not been released anywhere, so you'll have to run it by cloning the git repo:\n\n```bash\n$ git clone git@github.com:alichtman/open_tab_tracker.git\n$ cd open_tab_tracker\n$ pip3 install .\n$ open-tab-tracker --install\n$ open-tab-tracker --graph\n```\n\n## Usage\n\n```bash\n$ open-tab-tracker --help\nUsage: open-tab-tracker [OPTIONS]\n\n Open Tab Tracker\n\nOptions:\n -a, --add-datapoint Add a datapoint\n -i, --install Install in crontab to run at startup\n --drop-database Drop the database\n --graph Opens the graph in a browser\n --print-db Print the database\n --uninstall Uninstall from crontab\n -v, --version Print the version\n -h, -help, --help Show this message and exit.\n\n See the project homepage for more details:\n https://github.com/alichtman/open_tab_tracker\n\n```\n\n## Support\n\n| OS | Firefox | Chrome / Chromium | Safari |\n|--------- |----------------- |------------------- |----------------- |\n| Linux | :white_check_mark: | :x: | :x: |\n| macOS | :white_check_mark: | :x: | :x: |\n| Windows | :x: | :x: | :x: |\n\n## Technical Details\n\n- Data is stored in a `sqlite3` database at `$XDG_DATA_HOME/open_tab_tracker.db`.\n- Firefox tab counts are derived from your firefox profile session backup recovery files. You can read the implementation details in [`browsers/firefox.py`](https://github.com/alichtman/open_tab_tracker/blob/main/open_tab_tracker/browsers/firefox.py).\n",
"bugtrack_url": null,
"license": null,
"summary": "Graphs how many open tabs you have in your browsers.",
"version": "0.0.1",
"project_urls": {
"Issue Tracker": "https://github.com/alichtman/open_tab_tracker/issues",
"Source Code": "https://github.com/alichtman/open_tab_tracker"
},
"split_keywords": [
"browser",
"chrome",
"firefox",
"tab",
"tracking"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "caa682ce2d4df14741d6e2d9121a0f8875535c58ad18e0050b045b2b710ec435",
"md5": "5a925514b305c44922b6861e63579735",
"sha256": "5336ca1575e0fbe60a82e68b17eab6e495da0baa53b990766da96882e4d1982c"
},
"downloads": -1,
"filename": "open_tab_tracker-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5a925514b305c44922b6861e63579735",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 19570,
"upload_time": "2023-09-24T11:45:09",
"upload_time_iso_8601": "2023-09-24T11:45:09.294734Z",
"url": "https://files.pythonhosted.org/packages/ca/a6/82ce2d4df14741d6e2d9121a0f8875535c58ad18e0050b045b2b710ec435/open_tab_tracker-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3027d86e94cdd75faa6bf0726f204d520bae2dd567012dbf9585ddfc2bc2043f",
"md5": "34ee7d5833e494c4a0ca3d710624f46b",
"sha256": "fe22a519d1fd59c118efcba10478891e6e0c28f3807385eb6dd1beb17485a3d5"
},
"downloads": -1,
"filename": "open_tab_tracker-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "34ee7d5833e494c4a0ca3d710624f46b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 8583,
"upload_time": "2023-09-24T11:45:07",
"upload_time_iso_8601": "2023-09-24T11:45:07.522587Z",
"url": "https://files.pythonhosted.org/packages/30/27/d86e94cdd75faa6bf0726f204d520bae2dd567012dbf9585ddfc2bc2043f/open_tab_tracker-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-24 11:45:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alichtman",
"github_project": "open_tab_tracker",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "open-tab-tracker"
}