🚀 Auto Daily Log is a VS Code extension designed specifically for developers. It automatically extracts Git commit history and code diffs, leveraging Large Language Models (LLMs) to generate professional daily work logs with one click. It also supports physical snapshot archiving for changed code files, ensuring every line of your output is fully traceable.
✨ Core Features
🧠 LLM Smart Summarization: Supports any OpenAI-compatible API to generate logs, automatically summarizing "Daily Workload" and "Technical Implementation Details" based on Commits and Diffs.
⚡ Native Streaming Response: The log generation process displays typing effects in real-time, eliminating boring loading times.
🔄 Multi-Day Batch Pipeline: When you select "This Week" or a custom multi-day range, the system automatically splits it into independent daily tasks. It generates daily snapshot folders and queries the LLM day-by-day, eventually assembling a clean and continuous Weekly Report for you!
🖱️ One-Click Operation: Built-in [Today], [Yesterday], and [This Week] buttons in the panel save you from annoying calendar clicks. Features native streaming interruption [🛑 Stop Generation] and [👁️ Preview Markdown] with split-screen rendering support.
📁 Precise Physical Snapshot Archiving: Automatically exports and backups the changed files within a specified time range (split by day) for completely offline viewing and security auditing.
🛡️ Minimalist & Precise Filtering (Minimatch): Supports configuring advanced Glob matching patterns to automatically filter out meaningless diffs like package-lock.json or binary images, significantly saving LLM tokens and analysis time.
🔐 End-to-End Security: LLM API Keys are securely encrypted and stored locally using VS Code's official SecretStorage, guaranteeing no key leakage.
🚀 Quick Start
Install and Open: Click the Source Control (Git branch icon) in the VS Code sidebar. A new collapsed panel named "Auto Daily Log" will appear at the bottom. (Tip: You can drag its title bar directly to the main activity bar on the left to make it an independent entry!)
Initial Configuration: Click the [🤖 Configure LLM Parameters] button in the panel. Follow the prompts to enter your LLM API endpoint, model name, and API Key to securely complete the setup with one click.
Select Time and Generate: Click "Today", "This Week", or custom intervals, then click [🚀 Generate Log & Archive]. Sit back and enjoy the beautifully formatted work log automatically completed by the LLM.
⚙️ Advanced Configuration
To customize advanced behaviors, you can modify them via Settings (Ctrl+, => search auto-daily-log):
api.endpoint: LLM API endpoint address.
api.model: Specified processing model (e.g., gpt-4o, deepseek-chat, or claude-3.5-sonnet).
git.author: Filter commits by a specific developer (leave empty to intelligently extract the current developer's commits).
git.excludePatterns: Trash content files to exclude from snapshot backups and Diff extraction (supports Glob patterns like **/*.lock).
storage.exportDir: Physical storage path for snapshots, supports relative paths to local workspace or absolute hard drive paths (default .work_logs).
template.prompt: Highly customizable underlying prompt template sent to the LLM.
template.format: Custom output field format you expect (e.g., workload, tech summaries; this variable gets injected into the Prompt).
🛡️ Data & Security Notice
💡 Friendly Reminder: If you have not configured an external absolute path, the default file snapshots are stored in the .work_logs folder within your project. Please make sure to add it to your project's .gitignore file to avoid circular pollution of your repository.