secretside
Shift git commit timestamps out of work hours so your side project stays secret.
If you committed at 10:47 on a Wednesday, secretside moves it to 17:47 (or later). It also catches identity leaks — commits made with your real name or work email when you meant to use a pseudonym.
Install
pip install secretside
Or with uv:
uv tool install secretside
Note: libgit2 1.9 headers are required.
Quick start
secretside init
secretside clean --dry-run
secretside check # quick validate for use in a git hook
Commands
secretside init [repo] [--country XX] [--force] — Generate secretside.toml with jittered defaults so every project's config looks slightly different.
secretside clean [repo] [--dry-run] — Preview and apply timestamp shifts. Only touches your most recent contiguous commits. With local_only = true in your config (the default), only unpushed commits are considered/modified.
secretside inspect [repo] — Show commit time distribution and list all work-hour commits.
secretside check [repo] — Validate that no commits fall in work hours and no banned identities appear. Designed for CI or pre-push hooks.
Config
secretside init creates a secretside.toml in your repo:
holidays = "CA"
work_days = "mon-fri"
work_hours = "08:47..17:52"
night_hours = "23:12..05:44"
local_only = true
banned = [
# ["Your Real Name", "real@email.com"],
# ["Your Real Name", "work@company.com"],
]
pto = [
# "2025-02-07",
# "2025-12-24..2025-12-31",
]
| Key | Description |
|---|---|
holidays |
Country code for public holidays ("CA", "US", "GB", etc.) |
work_days |
Which days are work days ("mon-fri", "mon-thu", "mon-wed,fri") |
work_hours |
Commits in this range on work days get shifted past work_end |
night_hours |
Shifted commits avoid landing here (organic night commits are left alone) |
local_only |
Only shift commits that haven't been pushed to any remote |
banned |
Name/email pairs to flag in check — keep your real identity out of the repo |
pto |
Dates (or start..end ranges) to treat as days off |
How it works
- Only the contiguous tail of your commits is touched — other people's commits are never modified
- Weekend, holiday, and PTO commits are left alone — already safe - unless they need shifting due to overflow from a work day
- Organic night commits (you actually coded at 1am) stay put
- Chronological order is always preserved, with original time gaps maintained where possible
- History rewriting uses git-filter-repo under the hood
Development
Requires Python 3.11+ and uv.
uv sync
bin/test
uv run secretside <command>
Metadata
Release files for secretside 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| secretside-0.3.0.tar.gz | 14.8 kB | Without provenance | Details for secretside-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secretside-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for secretside-0.3.0-py3-none-any.whl |
Total release size: 34.1 kB
Release files / secretside-0.3.0.tar.gz
| Download URL | secretside-0.3.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ae961ee7d96d83885eb288d6208ef5af1c76e7e60ace14fd3aad6d604f850cc
|
|
BLAKE2b-256 checksum How to use checksums |
102fa50049266130ac32d53d3cd461b84215a9065739ba2f40f68610c75c8f19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / secretside-0.3.0-py3-none-any.whl
| Download URL | secretside-0.3.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04d46707ff5af736d02e737a3d85edfe0bc1edeb52c506bc0e68d1f7c669814d
|
|
BLAKE2b-256 checksum How to use checksums |
639c7def3b8af93974ba4ab8686f1f522f40ddfd5259bb5cebdde420ce2e4a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for secretside 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.