DocLogs
DocLogs is an engineer career operating system for capturing and reusing technical work.
What it solves
Engineers do valuable work every day: incident response, CI/CD and platform debugging, automation, infrastructure changes, PR reviews, and migrations. Most of that work is forgotten when it matters most: performance reviews, promotion packets, interviews, and professional storytelling.
DocLogs helps you turn day-to-day engineering activity into durable artifacts by:
- capturing evidence automatically from git, branches, PRs, and optional histories
- summarizing weekly progress and surfacing strong stories
- generating markdown artifacts for blog posts, LinkedIn, resumes, and interview prep
- keeping model usage provider-agnostic and safe with sanitization
Use --syntax on any command for usage, options, and examples (e.g. doclog generate --syntax). Standard --help is also available.
Core commands
doclog capture- collect commits, repository activity, PR titles, tickets, and optional notes
- store structured daily entries in local storage
doclog weekly- review weekly work
- surface candidate stories worth expanding
doclog generate <type>- create reusable artifacts such as
blog,linkedin,resume,interview, orchangelog - default: saves a sanitized prompt file for manual use in Cursor or Copilot
- optional: auto-generate via logged-in Cursor CLI or GitHub Copilot CLI
- create reusable artifacts such as
doclog sanitize- sanitize captured content before any LLM request
- redact internal URLs, tokens, IP addresses, and other sensitive details
doclog publish- configure a git repo for publishing generated posts
- commit and push a post to that repo
Recommended repository structure
./
├── README.md
├── config.yaml
├── commands/
│ ├── capture.py
│ └── config.py
├── docs/
│ ├── vision.md
│ └── architecture.md
├── doclog/
│ ├── entries/
│ ├── posts/
│ └── cache/
├── prompts/
│ ├── blog.md
│ ├── linkedin.md
│ └── resume.md
Architecture overview
DocLogs keeps the capture layer local and the generation layer model-agnostic. It is intentionally not a scheduler; use OS-level schedulers like cron, systemd --user, launchd, or Task Scheduler to invoke doclog capture at reminder times.
For implementation, start by focusing on:
- evidence collection and local storage
- weekly summaries and story selection
- safe prompt generation
- provider adapters for IDE CLIs (Cursor, Copilot) and optional API providers
Getting started
Install from PyPI
pip install -U doclogs-cli==0.1.10
doclog --help
Install from source (development)
git clone https://github.com/MridulTi/DocLogs.git
cd DocLogs
python -m venv .venv
source .venv/bin/activate
pip install -e .
doclog --help
First run
Data is stored under ~/.doclog/ (entries, posts, config). On first use, a default config.yaml is created there.
To keep using a project-local folder instead:
export DOCLOG_HOME="$PWD/doclog"
doclog capture
Daily use
- Configure
~/.doclog/config.yaml(created automatically on first run). - Add a scheduler entry outside the CLI to invoke
doclog captureat your preferred check-in time. - Capture daily progress and generate reusable career artifacts from the same captured story.
Generate posts
# Default: prompt file only (paste into Cursor/Copilot chat manually)
doclog weekly
doclog generate blog -t "nginx fix"
# Auto-generate via logged-in Cursor CLI
doclog config set provider cursor
doclog generate blog -t "nginx fix"
# Or Copilot
doclog config set provider copilot
# Back to prompt-only
doclog config set provider prompt_only
# Check provider availability
doclog config
Ensure Cursor/Copilot CLI is installed and authenticated when using those providers (agent login or copilot).
Publish a post to git
Point DocLogs at a local clone of your blog/docs repo, then commit and push generated posts.
Each push copies the file under posts/YYYY-MM-DD/ (today's date) so re-publishing the same
filename on a later day does not overwrite an earlier version.
doclog publish set repo ~/projects/my-blog
# or clone from GitHub automatically:
doclog publish set repo https://github.com/MridulTi/DocLogs
doclog publish set branch main
doclog generate blog -t 1
doclog publish push --latest
Or push a specific file:
doclog publish push ~/.doclog/posts/nginx-fix-blog.md -m "Add nginx TLS post"
Publish to PyPI (GitHub Actions)
Publishing runs via GitHub Actions — no local twine upload needed.
- Configure trusted publishing on PyPI (leave Environment blank)
- Push a version tag:
git tag v0.1.10
git push origin v0.1.10
The workflow uploads to PyPI automatically.
See docs/publishing.md for full setup.
Metadata
Release files for doclogs-cli 0.1.10
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 |
|---|---|---|---|---|
| doclogs_cli-0.1.10.tar.gz | 30.4 kB | With provenance | Details for doclogs_cli-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doclogs_cli-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for doclogs_cli-0.1.10-py3-none-any.whl |
Total release size: 68.7 kB
Release files / doclogs_cli-0.1.10.tar.gz
| Download URL | doclogs_cli-0.1.10.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b499ff7373c05c78617b045a0c611bf37aef5d3f4746dcfc8c2f0f0cd7393d64
|
|
BLAKE2b-256 checksum How to use checksums |
22c0ab65d5fd2089662f3e9ecab55bbf20ae540c01ac17ba27b0a3ec4f61a56d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.
Transparency logRelease files / doclogs_cli-0.1.10-py3-none-any.whl
| Download URL | doclogs_cli-0.1.10-py3-none-any.whl |
|---|---|
| Size | 38.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b82b16e003c05b42acfdb5c1c49d87ed6067ed71b8a034de884309dc97e5d10
|
|
BLAKE2b-256 checksum How to use checksums |
7fda4cf590faf10fbca645a610b092a5d73ae0c4618703018a9c37f64287f53e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.
Transparency logSecurity for doclogs-cli 0.1.10
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for doclogs_cli-0.1.10.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.
Transparency logA 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.