kautolog


Namekautolog JSON
Version 1.1.12 PyPI version JSON
download
home_pageNone
SummaryKali/Linux auto-logging of all terminal sessions using script(1), with optional tmux, logrotate, and rclone sync.
upload_time2025-08-17 01:33:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords kali linux logging terminal script tmux logrotate rclone
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # kautolog

[![PyPI version](https://img.shields.io/pypi/v/kautolog.svg)](https://pypi.org/project/kautolog/)

Auto-log **everything you see** in every terminal tab on Kali/Linux using `script(1)`. Captures prompt, commands, output, ANSI colors, and ncurses apps with optional timing/replay, tmux per-pane logs, logrotate, and rclone cloud sync.

## Install

Recommended:

```bash
pipx install kautolog
kautolog install
```

With extras:

```bash
kautolog install --with-tmux --with-sync remote:terminal-logs --interval 10
```

This will:

- Hook into both `~/.bashrc` and `~/.zshrc` for Zsh and Bash auto-logging.
- Install kautolog-replay script into `~/.local/bin`.

## Replaying logs

To replay a session with timing:

```bash
kautolog replay ~/terminal-logs/2025/08/10/kali-33608-203123
```

To instantly dump the log without delay:

```bash
kautolog replay -i ~/terminal-logs/2025/08/10/kali-33608-203123
```

## Uninstall

```bash
kautolog uninstall
```

Removes all shell hooks and scripts cleanly.

If you installed using pipx:

```bash
pipx uninstall kautolog
```

## Log Format

Logs are saved to:

```bash
~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.log
~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.timing
```

If `--with-tmux` is used, each tmux pane logs independently.

## License

The scripts and documentation in this project are released under the [MIT License](https://github.com/marksowell/kautolog/blob/main/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kautolog",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "kali, linux, logging, terminal, script, tmux, logrotate, rclone",
    "author": null,
    "author_email": "Mark Sowell <mark@marksowell.com>",
    "download_url": "https://files.pythonhosted.org/packages/b2/58/5c5b3b1be97bd6f1ade2c3f52020a95f3868a30287725a0b4d2c4d2d969a/kautolog-1.1.12.tar.gz",
    "platform": null,
    "description": "# kautolog\n\n[![PyPI version](https://img.shields.io/pypi/v/kautolog.svg)](https://pypi.org/project/kautolog/)\n\nAuto-log **everything you see** in every terminal tab on Kali/Linux using `script(1)`. Captures prompt, commands, output, ANSI colors, and ncurses apps with optional timing/replay, tmux per-pane logs, logrotate, and rclone cloud sync.\n\n## Install\n\nRecommended:\n\n```bash\npipx install kautolog\nkautolog install\n```\n\nWith extras:\n\n```bash\nkautolog install --with-tmux --with-sync remote:terminal-logs --interval 10\n```\n\nThis will:\n\n- Hook into both `~/.bashrc` and `~/.zshrc` for Zsh and Bash auto-logging.\n- Install kautolog-replay script into `~/.local/bin`.\n\n## Replaying logs\n\nTo replay a session with timing:\n\n```bash\nkautolog replay ~/terminal-logs/2025/08/10/kali-33608-203123\n```\n\nTo instantly dump the log without delay:\n\n```bash\nkautolog replay -i ~/terminal-logs/2025/08/10/kali-33608-203123\n```\n\n## Uninstall\n\n```bash\nkautolog uninstall\n```\n\nRemoves all shell hooks and scripts cleanly.\n\nIf you installed using pipx:\n\n```bash\npipx uninstall kautolog\n```\n\n## Log Format\n\nLogs are saved to:\n\n```bash\n~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.log\n~/terminal-logs/YYYY/MM/DD/hostname-PID-TIMESTAMP.timing\n```\n\nIf `--with-tmux` is used, each tmux pane logs independently.\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](https://github.com/marksowell/kautolog/blob/main/LICENSE)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Kali/Linux auto-logging of all terminal sessions using script(1), with optional tmux, logrotate, and rclone sync.",
    "version": "1.1.12",
    "project_urls": {
        "Homepage": "https://github.com/marksowell/kautolog",
        "Issues": "https://github.com/marksowell/kautolog/issues"
    },
    "split_keywords": [
        "kali",
        " linux",
        " logging",
        " terminal",
        " script",
        " tmux",
        " logrotate",
        " rclone"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "36481e98b237308d87b820b26328fdcb72472beebd0766783f247491d2cdf180",
                "md5": "a927383778a3ad5dc3086d9a9bd99f77",
                "sha256": "77d66de26d9a3012eb7ff9973fc88c14202726b89134edb8878a07c355d9a381"
            },
            "downloads": -1,
            "filename": "kautolog-1.1.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a927383778a3ad5dc3086d9a9bd99f77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10609,
            "upload_time": "2025-08-17T01:33:47",
            "upload_time_iso_8601": "2025-08-17T01:33:47.126093Z",
            "url": "https://files.pythonhosted.org/packages/36/48/1e98b237308d87b820b26328fdcb72472beebd0766783f247491d2cdf180/kautolog-1.1.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b2585c5b3b1be97bd6f1ade2c3f52020a95f3868a30287725a0b4d2c4d2d969a",
                "md5": "454128acebf1a72da575916cc58210ab",
                "sha256": "c00ea41c86c41f6d9684a7d475837cda73470b0b82d91710ea546e52e540e722"
            },
            "downloads": -1,
            "filename": "kautolog-1.1.12.tar.gz",
            "has_sig": false,
            "md5_digest": "454128acebf1a72da575916cc58210ab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8997,
            "upload_time": "2025-08-17T01:33:48",
            "upload_time_iso_8601": "2025-08-17T01:33:48.409735Z",
            "url": "https://files.pythonhosted.org/packages/b2/58/5c5b3b1be97bd6f1ade2c3f52020a95f3868a30287725a0b4d2c4d2d969a/kautolog-1.1.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-17 01:33:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marksowell",
    "github_project": "kautolog",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "kautolog"
}
        
Elapsed time: 1.60360s