Lightweight library for accessing currently opened tabs in Google Chrome / Chromium
Clone or download
loganek Merge pull request #2 from loganek/mkolny/travis-button
add travis-ci build button to a readme file
Latest commit cdf7d24 Oct 3, 2017

Build Status


Build Status

Lightweight library for getting information about open/active tabs in Google Chrome and Chromium web browser


Example below demonstrates how to print all open tabs in the Google Chrome browser.

auto session_path = ChromieTabs::PathUtils::get_current_session_path(
ChromieTabs::SessionAnalyzer analyzer{ChromieTabs::SessionReader(session_path)};

std::cout << "Tabs:" << std::endl;
for (auto wnd_id : analyzer.get_window_ids())
    for (const auto& navigation : analyzer.get_window_navigation_entries(wnd_id))
        std::cout << "   [Window " << wnd_id << "] Url: " << navigation.url << std::endl;

Full example can be found here: chromietabs-example


  1. Download the sources:

a) latest git-master version:

$ git clone
$ cd chromietabs

b) latest release: sources

  1. Compile the project
$ mkdir build
$ cd build
$ cmake ..
$ make


Documentation for the latest version of the library can be found here: master documentation. Documentation for all available releases can be found here: documentation.


Please fork the parent repository and contribute back using pull requests. Features can be requested using issues. All code, comments, and critiques are greatly appreciated.


This project is developed under MIT license. See LICENSE file for more details.