Metadata-Version: 2.4
Name: rewind-timeline
Version: 0.1.4
Summary: Linux timeline collector and monitoring tool
Author: DarkGlitch
License-Expression: MIT
Project-URL: Homepage, https://github.com/LaVenganzaDelLadron/
Project-URL: Repository, https://github.com/LaVenganzaDelLadron/rewind.git
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psutil>=5.9.0
Requires-Dist: watchdog>=4.0.0
Dynamic: license-file

# Rewind

**Rewind** is a Linux Time Machine that records important system events and allows users to revisit what happened on their machine.

It helps answer questions such as:

* What changed yesterday?
* Why did my system become slow?
* Which package was installed?
* Which service stopped?
* What commands did I run?
* Which files were modified?

Rewind stores these events locally in a SQLite database and provides a simple command-line interface for exploring the system timeline.

---

## Features

* Package monitoring (Pacman support)
* Service monitoring
* Performance monitoring
* Shell history tracking
* File change monitoring
* Timeline search
* Daily activity reports
* System statistics

---

## Project Structure

```text
rewind/
├── collect.py
├── rewind.py
├── database.py
│
├── collectors/
│   ├── files.py
│   ├── packages.py
│   ├── performance.py
│   ├── services.py
│   └── shell.py
│
├── commands/
│   ├── search.py
│   ├── stats.py
│   ├── today.py
│   └── yesterday.py
│
└── rewind.db
```

---

## Requirements

* Python 3.8+
* Linux
* systemd
* SQLite

How to install:

```bash
pip install rewind-timeline
```

---

## Commands

### View today's events

```bash
rewind.py today
```

### View yesterday's events

```bash
rewind.py yesterday
```

### Search the timeline

```bash
rewind.py search nginx
```

### View statistics

```bash
rewind.py stats
```

### Show help

```bash
rewind.py help
```

---

## Example

```text
$ rewind.py today

Rewind - 2026-06-27

[08:32:10] [PACKAGE] Installed nginx
[09:15:22] [FILE] Modified /etc/ssh/sshd_config
[11:10:33] [PERFORMANCE] CPU usage reached 95%
[13:00:17] [SERVICE] nginx.service restarted
[13:01:55] [SHELL] sudo systemctl restart nginx
```

---

## Rewind

<p align="center">
  <img src="images/image1.png" alt="Rewind Banner" width="800">
</p>

---

<p align="center">
  <img src="images/image2.png" alt="Rewind Banner" width="800">
</p>

---

<p align="center">
  <img src="images/image3.png" alt="Rewind Banner" width="800">
</p>

**Rewind** is a Linux Time Machine that records important system events...


## Database

Rewind stores events inside a local SQLite database.

Location:

```text
~/.rewind.db
```

Schema:

```sql
CREATE TABLE events (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    timestamp TEXT NOT NULL,
    category TEXT NOT NULL,
    title TEXT NOT NULL,
    details TEXT
);
```

---


#E# Tracks:

* created files
* modified files
* deleted files

---

---

## License

MIT License

---

## Author

Created by DarkGlitch.

Rewind aims to become a personal timeline for Linux systems.
