1
0

Compare commits

..

1390 Commits

Author SHA1 Message Date
34731c4e26 Ensure all settings are saved independently and alert on errors 2026-09-17 01:48:20 +02:00
22ea72bccc Simplify pushToGitea logic by removing dirty worktree check 2026-07-16 16:01:08 +02:00
56397d11e2 Update version number and improve commit rewriting logic 2026-07-16 15:37:46 +02:00
2e082a4bca feat(core): Improve stability, logging, and LLM context handling 2026-07-12 14:10:13 +02:00
09349a9477 Update README and dependencies for Auto-Git v1.0.7 2026-07-12 14:10:13 +02:00
a967587181 auto-git:
[change] index.html
 [change] renderer.js
 [change] settings.html
 [change] src-tauri/src/main.rs
 [change] tauriBridge.js
2026-07-12 12:19:00 +02:00
f047d61731 Improve button container layout in renderer and add unit test for preserving commit identities after rewording. 2026-07-12 11:28:42 +02:00
f087e13267 Refactor: Enhance manual content rewrite job reliability
Improves error handling for LLM message generation by checking Ollama status and logging failures.
Also updates progress reporting and refines the identification of commits outside current history.
2026-07-12 11:28:14 +02:00
ce73d0273a Improve reword_commits_sequentially robustness by verifying commit hash before interactive rebase 2026-07-12 11:26:49 +02:00
6bf77cebab Format HashMap::insert call for better readability 2026-07-12 11:26:49 +02:00
d6dc207f2c Test: Add unit tests for git workflow, commit message validation, and temporary repository setup 2026-07-12 11:26:04 +02:00
8769d32855 Refactor: Improves error handling syntax, cleans up option binding, and fixes return type consistency in src-tauri/src/main.rs 2026-07-12 11:25:32 +02:00
a0cb179d6e Implement progress tracking and detailed error handling during content rewriting 2026-07-12 11:25:12 +02:00
9412fb7036 Standardize and improve individual commit rewrite triggering using dedicated function 2026-07-12 11:25:02 +02:00
1887ee7a41 Feat: Add LLM-powered commit rewording and rewrite queue management 2026-07-12 11:24:51 +02:00
ade0f2dcbd Feature: Add 'Rewrite pending' button next to folder title 2026-07-12 11:24:28 +02:00
89a3b47948 Feature: Add API support for rewriting specific or pending commits 2026-07-12 11:23:59 +02:00
82914e969d Refactor candidate collection in run_manual_rewrite_job to use dedicated filtering for hashes lacking identity mapping 2026-07-12 11:23:50 +02:00
b73af714a5 feat(git): Implement manual and bulk rewrite of git commit messages via LLM 2026-07-12 11:23:35 +02:00
39fdfb5cac Add utility functions for fetching, mapping, and reporting commit identities 2026-07-12 11:22:32 +02:00
ca8527ac85 Emit 'repo-updated' event after saving application store 2026-07-12 11:22:32 +02:00
23e08b4162 Improve reliability of LLM commit rewriting by adding message validation and enhancing retry candidate collection. 2026-07-12 11:21:51 +02:00
498fb0112b Feat(llm): Implement LLM integration for automated commit message generation and validation 2026-07-12 11:21:32 +02:00
975561f83e Enhance commit listing to track queued hashes, calculate pending rewrite count, and check against current history. 2026-07-12 11:21:23 +02:00
a972396412 Implement utilities for analyzing commit history and determining pending rewrites 2026-07-12 11:21:09 +02:00
1db2a401b8 Add tracking fields for commit rewriting status 2026-07-12 11:21:09 +02:00
72fa7026bf Improve Git integration: Add dirty worktree validation for pushes, enhance initial repo setup by auto-generating .gitignore rules, and refactor Gitea API error handling. 2026-07-12 11:04:43 +02:00
0fc4ea8da0 Update gitignore to exclude app build files 2026-05-06 05:28:59 +02:00
1d630c488f Update gitignore to exclude temporary files 2026-05-06 05:24:37 +02:00
4e772d7b44 auto-git:
[change] .gitignore
2026-05-06 05:23:20 +02:00
daeb1655ab Test: Add unit test for processing hashes in newest-first order 2026-05-06 05:23:02 +02:00
06a9d5d0d4 Refactor hash resolution logic to ensure correct chronological ordering of commits 2026-05-06 05:22:53 +02:00
0b8fcbadbc Update application icon assets for all platforms 2026-05-04 22:15:23 +02:00
7aa122f749 Added dist/to .itignore 2026-05-04 22:06:41 +02:00
82281239e2 Remove squash feature and simplify push button text 2026-05-04 21:53:56 +02:00
0dcc24f173 Enhance Ollama integration via API and update settings UI 2026-05-04 21:50:46 +02:00
0e12ac604e auto-git:
[add] scripts/
 [add] src-tauri/
 [add] tauriBridge.js
 [change] .gitignore
 [change] README.md
 [change] index.html
 [change] package.json
 [change] renderer.js
 [change] settings.html
 [unlink] editor-reword.js
 [unlink] main.js
 [unlink] preload.js
 [unlink] rebase-sequence-windows.js
2026-05-04 21:33:17 +02:00
82d9c45bda auto-git:
[change] index.html
 [change] main.js
 [change] preload.js
 [change] renderer.js
 [change] settings.html
2026-05-04 20:46:51 +02:00
Victor Giers
2ae1255629 Add theme validation and update settings.html accordingly 2025-12-12 11:34:52 +01:00
Victor Giers
37f12638b8 Remove redundant theme change event emission in main.js 2025-12-12 11:34:52 +01:00
Victor Giers
5474bfe44a Refactor theme handling in main.js 2025-12-12 11:33:20 +01:00
Victor Giers
672bb86307 Handle legacy theme settings and validation in main.js 2025-12-12 11:33:10 +01:00
Victor Giers
7d2a746eaa Initialize theme and skymode settings in main.js 2025-12-12 11:33:10 +01:00
Victor Giers
5246f56aa8 Add skymode event handling in preload.js 2025-12-12 11:33:10 +01:00
Victor Giers
07aa6ede4c Update preload.js to support new theme system with legacy sky mode compatibility 2025-12-12 11:32:42 +01:00
Victor Giers
45bfc8c23c Simplify and update theme options in settings.html 2025-12-12 11:32:15 +01:00
Victor Giers
a4ba98f2ac Update settings.html to include theme setting 2025-12-12 11:32:15 +01:00
Victor Giers
27890eb55e Update settings to use theme selection and apply theme class 2025-12-12 11:31:44 +01:00
Victor Giers
f87aded9c7 Refactor theme handling in settings.html 2025-12-12 11:31:38 +01:00
Victor Giers
3824543efb Refactor settings.html theme classes and add grey theme 2025-12-12 11:31:02 +01:00
Victor Giers
54b8b4c5cd Update renderer.js to use currentTheme for text color 2025-12-12 11:31:02 +01:00
Victor Giers
849ff08d61 Add grey theme and update theme handling in renderer.js 2025-12-12 11:30:40 +01:00
Victor Giers
3d72ac6d35 Enhance commit rewording logic with debugging and error handling 2025-12-08 14:33:56 +01:00
Victor Giers
50f842fffb Simplify error handling in runLLMCommitRewrite 2025-12-08 14:33:48 +01:00
Victor Giers
d615bd0df0 auto-git:
[change] main.js
2025-12-08 14:15:35 +01:00
Victor Giers
d4162c37d6 auto-git:
[change] main.js
2025-12-08 14:13:40 +01:00
Victor Giers
2eb45ac67f auto-git:
[change] main.js
2025-12-08 14:11:23 +01:00
Victor Giers
ddf534e72b auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
bade8c3c09 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
09c6ef5041 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
f52eb353ab auto-git:
[change] main.js
 [change] preload.js
 [change] renderer.js
2025-12-08 14:11:15 +01:00
Victor Giers
27ad9225e9 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
b10e8e2126 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
789a8c0129 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
a30328d219 auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
81185ffc9a auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
0224a1cb8c auto-git:
[change] main.js
2025-12-08 14:11:15 +01:00
Victor Giers
4c7823ea7a auto-git:
[change] main.js
2025-12-08 12:27:13 +01:00
Victor Giers
5b367ca08a Add recovery logic for stuck rewrite flag in main.js 2025-12-08 12:27:13 +01:00
Victor Giers
b19d5632fd Remove rewrite-trigger.txt file 2025-12-08 12:19:23 +01:00
Victor Giers
a504bc3b25 auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:42 +01:00
Victor Giers
2f159affb4 auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:42 +01:00
Victor Giers
2c969a971c auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:42 +01:00
Victor Giers
8500cb2bd7 Expand content in rewrite-trigger.txt 2025-12-07 23:14:42 +01:00
Victor Giers
1b271e12a4 auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:27 +01:00
Victor Giers
bed4c79c5b auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:27 +01:00
Victor Giers
ccd52e2655 Update rewrite-trigger.txt with multiple lines for testing 2025-12-07 23:14:27 +01:00
Victor Giers
4a91b4ddce auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:14:02 +01:00
Victor Giers
dd42885945 Restore initial content to rewrite-trigger.txt 2025-12-07 23:14:02 +01:00
Victor Giers
400222a7f0 auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:13:38 +01:00
Victor Giers
8f044501bd Trim repeated lines in rewrite-trigger.txt 2025-12-07 23:13:38 +01:00
Victor Giers
a72d8d3e1c auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:13:04 +01:00
Victor Giers
38a5c9d94e auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:13:04 +01:00
Victor Giers
a2ef40b674 Update rewrite-trigger.txt with minor changes 2025-12-07 23:13:04 +01:00
Victor Giers
035b0131ad auto-git:
[change] main.js
2025-12-07 23:11:21 +01:00
Victor Giers
9cf980a3c3 Skip auto-commit if rewrite/rebase is in progress for the folder 2025-12-07 23:11:21 +01:00
Victor Giers
938e7e151c Simplify rewrite-trigger.txt content 2025-12-07 23:02:47 +01:00
Victor Giers
8a1c659b0e auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:01:04 +01:00
Victor Giers
5db41a2e4d auto-git:
[change] rewrite-trigger.txt
2025-12-07 23:01:04 +01:00
Victor Giers
719f624c9b Remove content from rewrite-trigger.txt 2025-12-07 23:01:04 +01:00
Victor Giers
b52a0b8504 Append more content to rewrite-trigger.txt 2025-12-07 22:59:27 +01:00
Victor Giers
da29c63e32 auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:58:23 +01:00
Victor Giers
52f045ca64 Remove content from rewrite-trigger.txt 2025-12-07 22:58:23 +01:00
Victor Giers
9ed3ae0d40 auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:58:13 +01:00
Victor Giers
f5dc2683cd auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:58:13 +01:00
Victor Giers
f211e80fa1 auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:58:13 +01:00
Victor Giers
0a82fc7499 auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:58:13 +01:00
Victor Giers
f7b3b4bd04 Simplify rewrite-trigger.txt 2025-12-07 22:58:13 +01:00
Victor Giers
ad8b063c08 auto-git:
[change] rewrite-trigger.txt
2025-12-07 22:57:44 +01:00
Victor Giers
3ce410fc4d Extend rewrite-trigger.txt with multiple lines 2025-12-07 22:57:44 +01:00
Victor Giers
05e2ed2060 Update rewrite-trigger.txt with second line 2025-12-07 22:57:44 +01:00
Victor Giers
4536810ecb Add rewrite-trigger.txt 2025-12-07 22:57:44 +01:00
Victor Giers
9e708b731c Add llmBuffer and rewriteInProgress fields to folder object in main.js 2025-12-07 22:56:03 +01:00
Victor Giers
cb83f14453 Enhance runLLMCommitRewrite logic in main.js 2025-12-07 22:54:40 +01:00
Victor Giers
7a4622ad4a Add check for rewriteInProgress in main.js 2025-12-07 22:54:40 +01:00
Victor Giers
6a0c2787fa Enhance autoCommit function with rewrite buffer and progress tracking 2025-12-07 22:54:15 +01:00
Victor Giers
58e79310cc Add rewriteInProgress and llmBuffer to store and folder objects 2025-12-07 22:54:05 +01:00
Victor Giers
4b330d0a7f Add rebase check and abort functionality in autoCommit and commitCurrentFolder 2025-12-07 22:50:03 +01:00
Victor Giers
3b5fc1c8c1 Update buildTrayMenu to check for .git directory 2025-11-27 11:49:44 +01:00
Victor Giers
c508800f83 Add .gitignore default entries and skip initial commit check 2025-11-27 11:45:57 +01:00
Victor Giers
f38af64e40 Enable push button only if there are commits in the repository 2025-11-27 11:40:45 +01:00
Victor Giers
9bf17a7eac Ensure initial commit is created during Git repo initialization 2025-11-27 11:40:45 +01:00
Victor Giers
f2037299e2 Fix typo in renderer.js 2025-11-27 11:37:51 +01:00
Victor Giers
64afe101f3 auto-git:
[change] main.js
2025-11-27 11:36:36 +01:00
Victor Giers
afa4aa722e auto-git:
[change] main.js
2025-11-27 11:36:28 +01:00
Victor Giers
b819b2978a auto-git:
[change] renderer.js
2025-11-27 11:36:21 +01:00
Victor Giers
633769e664 auto-git:
[change] renderer.js
2025-11-27 11:36:13 +01:00
Victor Giers
793d2824c3 auto-git:
[change] index.html
 [change] renderer.js
2025-11-27 11:36:03 +01:00
Victor Giers
ded66cd8c1 auto-git:
[change] main.js
 [change] preload.js
2025-11-27 11:35:53 +01:00
Victor Giers
a593be06dd auto-git:
[change] main.js
2025-11-27 11:35:44 +01:00
Victor Giers
3109f02cb7 auto-git:
[change] main.js
2025-11-27 11:35:21 +01:00
Victor Giers
c6fcf26734 auto-git:
[change] main.js
2025-11-27 11:35:17 +01:00
Victor Giers
c10fafb4fa Update file monitoring to ignore additional directories and implement file limit check 2025-11-27 11:27:52 +01:00
Victor Giers
511eef1e55 auto-git:
[change] main.js
2025-11-27 11:21:11 +01:00
Victor Giers
419eb2c525 Enhance animeCat.js with bubble hide timeout and pointer events adjustments 2025-11-26 17:39:34 +01:00
ab8ee2c361 Enhance macOS dock icon handling and error resilience in main.js 2025-09-12 22:46:14 +02:00
e5ad9d0edb Add platform-specific icon resolution and set app icons for Windows/Linux during development 2025-09-12 22:44:20 +02:00
f125f1618d Refactor file watcher to support .gitignore and ignore node_modules 2025-06-05 17:40:12 +02:00
8c744bda82 auto-git:
[change] main.js
2025-06-04 15:22:00 +02:00
4ff83d63e7 Refactor autoCommit function to improve branch handling and commit logic 2025-06-04 15:21:44 +02:00
5647c1ea66 Refactor autoCommit function to handle multiple file chunks and improve commit logic 2025-06-04 15:21:21 +02:00
6706ad75f8 Add constant for max files per commit in main.js 2025-06-04 15:08:08 +02:00
db115e6fb3 Remove uncaughtException handling and defaultMaxListeners in main.js and renderer.js 2025-06-04 14:49:41 +02:00
3a2cdeccde auto-git:
[change] renderer.js
2025-06-04 14:48:14 +02:00
cbd8cc228e auto-git:
[change] main.js
2025-06-04 14:47:24 +02:00
8f6d8f2e51 auto-git:
[change] index.html
2025-06-02 23:25:10 +02:00
c8b3c10f8f auto-git:
[change] index.html
2025-06-02 23:24:45 +02:00
d87d05a006 auto-git:
[change] README.md
2025-06-02 00:21:33 +02:00
5e144c0244 Update Windows icon asset 2025-06-02 00:21:33 +02:00
d2aa10e0a7 Update README with installation instructions 2025-06-01 23:46:23 +02:00
5d59715ebd Fix order of gitignore entry 2025-06-01 23:46:23 +02:00
760c655d5c Rename and fix file extension for rebase sequence script 2025-06-01 23:29:45 +02:00
6565a6838b Add script to reword first commit in rebase sequence on Windows 2025-06-01 23:27:45 +02:00
66346d56b3 Update API endpoint to use localhost for all network requests 2025-06-01 23:26:41 +02:00
e16d45c64f Clarify Gitea API-Key purpose in README 2025-06-01 14:09:08 +02:00
5070765c24 Add Gitea API-Key setting to README 2025-06-01 14:09:08 +02:00
5218d2a940 Correct Auto-Git references in README 2025-06-01 14:09:08 +02:00
05c6eb8202 Update theme description in README 2025-06-01 14:09:08 +02:00
1b79d97142 Update README with new features and author information 2025-06-01 14:07:24 +02:00
5dc07a42bf Update README.md with detailed GitCat application information and features 2025-06-01 14:04:31 +02:00
855d353237 auto-git:
[change] README.md
 [change] animeCat.js
 [change] index.html
 [change] main.js
 [change] package.json
 [change] preload.js
 [change] settings.html
2025-06-01 13:58:00 +02:00
a539bedbbd Update repository description and fetch updated clone URL in main.js 2025-06-01 12:28:59 +02:00
26a6463c25 Refactor code structure for generateRepoDescription function 2025-06-01 12:26:55 +02:00
6a360256f3 Refactor push-to-gitea handler to include LLM-generated description and improve error handling 2025-06-01 12:25:20 +02:00
24a2d51868 auto-git:
[change] main.js
2025-06-01 12:24:50 +02:00
b4d902a1db auto-git:
[change] main.js
2025-06-01 12:22:02 +02:00
42b847cc11 Add node-fetch dependency for HTTP requests in main.js 2025-06-01 12:22:02 +02:00
dd22549b8a Implement push-to-Gitea functionality in main.js 2025-06-01 12:18:45 +02:00
41507997fd Add pushToGitea function to preload.js 2025-06-01 12:18:45 +02:00
58b5d9680d Implement push functionality for selected folder in renderer.js 2025-06-01 12:17:45 +02:00
9a528e671c Add push button to renderer.js 2025-06-01 12:17:45 +02:00
f211556f20 Add push button for Gitea in index.html 2025-06-01 12:17:16 +02:00
b7eed581cb Update README.md with new project description and features 2025-06-01 12:09:22 +02:00
3e259ce7de Refactor renderer.js to improve code organization and readability 2025-06-01 12:06:41 +02:00
a4fe460719 auto-git:
[change] renderer.js
2025-06-01 12:03:56 +02:00
0e5b175202 Remove unused code in renderer.js 2025-06-01 12:02:45 +02:00
1196038b08 Move README generation logic to renderer.js 2025-06-01 12:01:30 +02:00
8424543569 Update .gitignore to exclude additional build artifacts and IDE files 2025-06-01 11:59:37 +02:00
9d081114b4 Fix typo in watcher ignore pattern 2025-06-01 11:59:37 +02:00
8b15b09246 Remove unused code in main.js 2025-06-01 11:52:06 +02:00
6a83d22888 Remove unused code in main.js 2025-06-01 11:51:46 +02:00
05b81dfff7 auto-git:
[change] main.js
2025-06-01 11:51:43 +02:00
1bb3e06989 Remove unused code from main.js 2025-06-01 11:51:38 +02:00
b21163455b auto-git:
[change] main.js
2025-06-01 11:51:29 +02:00
ac76f3dcd3 auto-git:
[change] main.js
2025-06-01 11:51:14 +02:00
2e1c1a580c auto-git:
[change] main.js
2025-06-01 11:50:49 +02:00
5278c5cd7d auto-git:
[change] main.js
2025-06-01 11:50:14 +02:00
7c0bf17101 auto-git:
[change] main.js
2025-06-01 11:50:06 +02:00
656a850baa Refactor commit message rewording logic in main.js 2025-06-01 11:49:28 +02:00
9a50124b10 Add script to rewrite commit messages and update gitignore 2025-06-01 11:47:01 +02:00
dab6c42e6d Remove unused code from main.js 2025-06-01 11:46:55 +02:00
12cd409616 Refactor and enhance commit logic with error handling and additional logging 2025-06-01 10:52:24 +02:00
37b86a740c Add function to stream README using LLM 2025-06-01 10:50:37 +02:00
73237093d9 Remove unused function streamLLMREADME from main.js 2025-06-01 10:50:25 +02:00
9d57c5f2ac Add cat stream functionality in main.js 2025-06-01 10:50:22 +02:00
b7d1b96598 Remove cat stream logic from main.js 2025-06-01 10:50:14 +02:00
ff9ec031bf auto-git:
[change] main.js
2025-06-01 10:46:45 +02:00
1a6ce43e47 auto-git:
[change] main.js
2025-06-01 10:46:32 +02:00
d0ecf32e81 auto-git:
[change] main.js
2025-06-01 09:46:53 +02:00
8e420cc40b auto-git:
[change] main.js
2025-06-01 09:46:46 +02:00
59ceaa13ae auto-git:
[change] main.js
2025-06-01 09:46:37 +02:00
b45223799f auto-git:
[unlink] modules/constants.js
 [unlink] modules/git.js
 [unlink] modules/ipc-handlers.js
 [unlink] modules/llm.js
 [unlink] modules/readme-gen.js
 [unlink] modules/store.js
 [unlink] modules/tray.js
 [unlink] modules/utils.js
 [unlink] modules/watcher.js
 [unlink] modules/window.js
2025-06-01 09:44:58 +02:00
d640044dc3 auto-git:
[change] main.js
2025-06-01 09:43:47 +02:00
b6ff68e0cd auto-git:
[change] main.js
2025-06-01 09:43:30 +02:00
f21a16d0ba auto-git:
[change] main.js
2025-06-01 09:43:26 +02:00
03778c3e40 auto-git:
[change] main.js
2025-06-01 09:43:23 +02:00
deb3109f91 auto-git:
[change] main.js
2025-06-01 09:43:13 +02:00
1f8fee03fd auto-git:
[change] modules/tray.js
2025-06-01 09:42:54 +02:00
fe0d2a9526 auto-git:
[change] main.js
2025-06-01 09:42:48 +02:00
1c30ab5c8d auto-git:
[change] modules/store.js
2025-06-01 09:42:07 +02:00
091f21453d auto-git:
[change] main.js
2025-06-01 09:41:12 +02:00
e94ba62da0 auto-git:
[change] modules/store.js
2025-06-01 09:41:10 +02:00
f020e295cf auto-git:
[add] modules/constants.js
 [unlink] modules/NewFile.txt
2025-06-01 09:40:06 +02:00
5d95db0632 auto-git:
[add] modules/utils.js
 [unlink] modules/NewFile-1.txt
2025-06-01 09:39:58 +02:00
eb3328d98e auto-git:
[add] modules/NewFile-1.txt
2025-06-01 09:38:38 +02:00
7c880f203e auto-git:
[add] modules/NewFile.txt
2025-06-01 09:38:38 +02:00
86728afa15 auto-git:
[add] modules/ipc-handlers.js
 [unlink] modules/NewFile.txt
2025-06-01 09:38:38 +02:00
e9b63d35bd Add NewFile.txt 2025-06-01 09:38:38 +02:00
aabc8ecee5 Rename NewFile-1.txt to readme-gen.js 2025-06-01 09:38:38 +02:00
21f770bff8 Rename NewFile-2.txt to llm.js 2025-06-01 09:38:38 +02:00
9e329ffd64 Rename NewFile-3.txt to watcher.js 2025-06-01 09:38:38 +02:00
14ef364d5a Rename NewFile-4.txt to git.js 2025-06-01 09:38:38 +02:00
56c111956c Rename NewFile-5.txt to window.js 2025-06-01 09:38:38 +02:00
f468b734e3 Rename NewFile.txt to tray.js 2025-06-01 09:38:38 +02:00
2aef31a423 Add NewFile-5.txt 2025-06-01 09:38:38 +02:00
29a34e5a92 Add NewFile-4.txt 2025-06-01 09:38:38 +02:00
a1e6d5d009 Add NewFile-3.txt 2025-06-01 09:38:38 +02:00
d119dd2086 Add NewFile-2.txt 2025-06-01 09:38:38 +02:00
66ca26639d auto-git:
[add] modules/NewFile-1.txt
2025-06-01 09:37:27 +02:00
e8e41fba22 auto-git:
[add] modules/NewFile.txt
2025-06-01 09:37:25 +02:00
e4cf924cd6 auto-git:
[add] modules/store.js
 [unlink] modules/NewFile.txt
2025-06-01 09:37:23 +02:00
0a177f1cae auto-git:
[add] modules/NewFile.txt
2025-06-01 09:37:17 +02:00
7bdd7344fb auto-git:
[change] README.md
2025-06-01 09:33:39 +02:00
9e509fae9e Add function to get relevant files based on size and gitignore rules 2025-06-01 09:30:19 +02:00
cb1f7aa8fd auto-git:
[change] main.js
2025-06-01 09:30:14 +02:00
85d4f2afb5 Add more new lines in main.js 2025-06-01 09:29:37 +02:00
7421fed020 Add new lines in main.js 2025-06-01 09:29:37 +02:00
cc6869c3d0 Add queue processing logic to main.js 2025-06-01 08:17:05 +02:00
42e823b59f auto-git:
[change] main.js
2025-06-01 08:16:54 +02:00
4571fb003d auto-git:
[change] main.js
2025-06-01 08:16:38 +02:00
386edf80d4 auto-git:
[change] main.js
2025-06-01 08:16:37 +02:00
90a7998596 auto-git:
[change] main.js
2025-06-01 08:16:29 +02:00
ed2da5ba5b auto-git:
[change] main.js
2025-06-01 08:16:13 +02:00
a9870e7198 auto-git:
[change] README.md
2025-06-01 08:15:00 +02:00
c27f3b8bf0 Add IPC handlers for configuration settings 2025-06-01 08:12:13 +02:00
101694e4c6 auto-git:
[change] main.js
2025-06-01 08:12:09 +02:00
7202f24e42 Add IPC handlers for various settings 2025-06-01 08:11:50 +02:00
734139c810 Remove unused IPC handlers in main.js 2025-06-01 08:11:44 +02:00
459ceb89ad Add IPC handlers for configuration settings 2025-06-01 08:11:14 +02:00
3b5d584ed8 auto-git:
[change] main.js
2025-06-01 08:11:09 +02:00
21aced34a1 auto-git:
[change] main.js
2025-06-01 08:10:38 +02:00
f8c68a034b auto-git:
[change] main.js
2025-06-01 08:10:28 +02:00
7173cc4504 auto-git:
[change] main.js
2025-06-01 08:10:03 +02:00
30b67da24d Refactor monitoring logic to use queues and debouncing 2025-06-01 08:08:50 +02:00
8daf1f0fc6 auto-git:
[change] README.md
2025-06-01 07:26:39 +02:00
832a32a490 auto-git:
[change] README.md
2025-06-01 07:26:39 +02:00
6848ec97be Update README.md with new features and improved content structure 2025-06-01 07:26:39 +02:00
ec2512421f Update README.md with new structure and content 2025-06-01 07:20:29 +02:00
4d73330e2f Refactor file handling in main.js to include content and relevance score 2025-06-01 07:17:52 +02:00
8d5c57dcd0 Refactor getFileRelevanceScore function to include content analysis for better relevance scoring 2025-06-01 07:17:43 +02:00
fefd2f4393 auto-git:
[add] README.md
2025-06-01 07:12:00 +02:00
b837c6664f Add 'ignore' package for file filtering in main.js 2025-06-01 07:12:00 +02:00
cbd48f6710 Refactor file relevance scoring and sorting logic in main.js 2025-06-01 07:08:20 +02:00
8d8cf0ff11 Refactor file collection logic to ignore .gitignore rules 2025-06-01 07:06:29 +02:00
8459d0d689 Remove .gitignore from ignored names list in main.js 2025-06-01 07:01:47 +02:00
5445aab3a8 Update .gitignore and refactor auto-commit logic in main.js 2025-06-01 06:57:13 +02:00
35c270490f Update .gitignore and package.json with additional ignored files and dependencies 2025-06-01 06:47:58 +02:00
90bb154620 auto-git:
[change] main.js
2025-06-01 06:46:31 +02:00
357861d3b6 Refactor addMatchingFilesToGitignore function to handle file patterns and update gitignore accordingly 2025-06-01 06:46:22 +02:00
c8f1e53a7a Add placeholder comment for auto-generated code in main.js 2025-06-01 06:46:22 +02:00
228d85738c Add function to ensure files are ignored in .gitignore 2025-06-01 06:45:34 +02:00
178dd49f48 auto-git:
[change] main.js
2025-06-01 06:40:08 +02:00
a1b8881ff6 auto-git:
[change] main.js
2025-06-01 06:38:39 +02:00
3d1f0af17d auto-git:
[change] main.js
2025-06-01 06:32:39 +02:00
8cb03fcecf auto-git:
[change] main.js
2025-06-01 06:31:21 +02:00
6f098b7906 Refactor watcher logic to ignore empty or relative paths 2025-06-01 06:28:22 +02:00
449df51642 Add ignored file patterns for various project types 2025-06-01 06:25:14 +02:00
86704d72fe Add 'ignore' package to main.js 2025-06-01 06:23:37 +02:00
18a243b44a Refactor and enhance auto-git functionality with .gitignore handling 2025-06-01 06:22:14 +02:00
52180fad62 Add unhandled rejection handler in main.js 2025-06-01 06:20:51 +02:00
0d9f97f7f2 auto-git:
[change] main.js
2025-06-01 06:20:10 +02:00
101796d944 auto-git:
[change] main.js
2025-06-01 06:17:39 +02:00
288a5eab06 Add debug functionality to monitor script 2025-06-01 06:15:45 +02:00
875328f16c Revert debug functionality removal 2025-06-01 06:11:33 +02:00
cc419fd8d8 Add debug functionality and ignore module 2025-06-01 06:11:33 +02:00
df0342c3c3 Refactor and enhance gitignore handling in auto-git script 2025-06-01 06:06:18 +02:00
fff9c19736 Remove node_modules and .git from watcher ignore list in main.js 2025-06-01 06:04:24 +02:00
6c456e2da2 Enable README creation and proper initial commit in auto-git 2025-06-01 05:55:38 +02:00
9afbe177d7 auto-git:
[change] main.js
2025-06-01 05:54:38 +02:00
4f6c072dd6 Comment out README.md creation in auto-git script 2025-06-01 05:54:38 +02:00
cbb8df4376 Fix trailing whitespace in main.js 2025-06-01 05:51:52 +02:00
616d67d607 Add comprehensive ignore list and auto-commit functionality with .gitignore updates 2025-06-01 05:50:27 +02:00
b01a9106d6 Refactor streamLLMREADME function to merge with streamLLMCommit 2025-06-01 05:42:38 +02:00
1772e9d53b Increase settings window width and add placeholder code blocks 2025-06-01 05:37:16 +02:00
8530100019 Add multiple empty lines and a comment in main.js 2025-05-31 20:57:35 +02:00
3c1123da19 Remove unnecessary comments from main.js 2025-05-31 20:57:35 +02:00
49a12ee763 Add comment in main.js 2025-05-31 20:57:35 +02:00
824d8edde3 Add comment in main.js 2025-05-31 20:57:35 +02:00
d6b8629fe2 Remove unused code from main.js 2025-05-31 20:57:16 +02:00
c78708c4c2 Add empty lines and comment block at the end of main.js 2025-05-31 20:57:10 +02:00
6608a055a4 Update folder path in repo-updated event 2025-05-31 20:57:10 +02:00
12ae6dab42 Add empty lines in main.js 2025-05-31 20:54:47 +02:00
26575e0616 Comment out unused code in main.js 2025-05-31 20:54:47 +02:00
afdfd71648 Remove redundant code in main.js 2025-05-31 20:54:47 +02:00
d59ea7ac3f Add empty comment block in main.js 2025-05-31 20:53:43 +02:00
460c5d1e79 Add notification on repo update 2025-05-31 20:53:43 +02:00
9c309b8f18 Comment out unused code in main.js 2025-05-31 20:50:12 +02:00
a4956b3488 Remove unused code from main.js 2025-05-31 20:48:53 +02:00
7f50bb9b23 Re-add commented-out code in main.js 2025-05-31 20:48:39 +02:00
0e3888686c Comment out unused code in main.js 2025-05-31 20:48:39 +02:00
628e4efa9f Add event listener for 'repo-updated' in renderer.js 2025-05-31 20:48:39 +02:00
47653d989e Remove commented-out code in preload.js 2025-05-31 20:48:39 +02:00
52cd13a50f Add multiple test comments in main.js 2025-05-31 20:47:13 +02:00
a1280f10b8 Add test comment in main.js 2025-05-31 20:47:13 +02:00
c47888c96e Refactor: Comment out unused code in main.js 2025-05-31 20:46:26 +02:00
6b3d03b593 Add missing newline at the end of renderer.js 2025-05-31 20:44:14 +02:00
81ce25268b Comment out ipcRenderer.on('repo-updated' in preload.js 2025-05-31 20:44:14 +02:00
36cd56404b Comment out watchRepo calls in main.js 2025-05-31 20:44:14 +02:00
a3b1df65db Remove unused event listener in renderer.js 2025-05-31 20:42:46 +02:00
45a9e28e37 auto-git:
[change] main.js
2025-05-31 19:41:57 +02:00
65b7d86595 auto-git:
[change] main.js
2025-05-31 19:38:10 +02:00
344210ee3c auto-git:
[change] main.js
2025-05-31 19:37:44 +02:00
9facff792d auto-git:
[change] main.js
2025-05-31 19:37:11 +02:00
e36e7ee661 auto-git:
[change] main.js
2025-05-31 19:31:57 +02:00
541a3ab4bc auto-git:
[change] main.js
2025-05-31 19:30:50 +02:00
5001f7a098 auto-git:
[change] main.js
2025-05-31 19:29:26 +02:00
07d7ac0cbd Add new function StreamLLMREADME for generating README content using LLM 2025-05-31 19:28:16 +02:00
536c817ec5 auto-git:
[change] main.js
2025-05-31 19:24:35 +02:00
dad4eb36b0 auto-git:
[change] index.html
2025-05-31 19:21:37 +02:00
40e55c1446 Add file size and type filters for directory content retrieval 2025-05-31 19:20:37 +02:00
ed1a8f6209 Add README generation functionality to renderer.js 2025-05-31 19:19:32 +02:00
1a125dc530 Comment out unused import in main.js 2025-05-31 19:18:16 +02:00
a69a632dfe Refactor README generation logic in main.js 2025-05-31 19:16:47 +02:00
724d1d0494 Add auto-generated README functionality 2025-05-31 19:16:34 +02:00
d40973def8 Add IPC handler for checking README existence 2025-05-31 19:16:27 +02:00
9e57545ac7 Add hasReadme and generateReadme methods to preload.js 2025-05-31 19:14:57 +02:00
d53771e89d Refactor README button logic 2025-05-31 19:14:57 +02:00
1275fc73bc Fix path concatenation in renderer.js 2025-05-31 19:13:45 +02:00
6e09f25dd6 Fix path concatenation in renderer.js 2025-05-31 19:13:45 +02:00
f69977de11 auto-git:
[change] renderer.js
2025-05-31 19:11:39 +02:00
34527fc8db auto-git:
[change] renderer.js
2025-05-31 19:11:20 +02:00
0187affedd auto-git:
[change] renderer.js
2025-05-31 19:10:50 +02:00
e922eeb9da Comment out unnecessary code in renderer.js 2025-05-26 22:57:36 +02:00
9ecaa8943f Add README button logic to renderer.js 2025-05-26 22:57:35 +02:00
447d157ed6 Add 'Generate README' button to index.html 2025-05-26 22:55:48 +02:00
cec9b33cd1 Further reduce right margin of .paw-queued class by 10px 2025-05-26 22:26:18 +02:00
1af71dfb95 Reduce right margin of .paw-queued class by 10px 2025-05-26 22:26:18 +02:00
c639d61eac Adjust right margin of .paw-queued class 2025-05-26 22:26:18 +02:00
de4bfe2f99 auto-git:
[change] index.html
2025-05-26 22:25:07 +02:00
a72bc99b36 auto-git:
[change] index.html
2025-05-26 22:24:57 +02:00
42205c9bc2 auto-git:
[change] index.html
2025-05-26 22:24:44 +02:00
aed313eab8 auto-git:
[change] index.html
2025-05-26 22:24:37 +02:00
3fae08bc32 auto-git:
[change] index.html
2025-05-26 22:24:22 +02:00
8191b0b533 auto-git:
[change] index.html
2025-05-26 22:24:14 +02:00
4f707e9db1 auto-git:
[change] index.html
2025-05-26 22:24:06 +02:00
51050d8b9c auto-git:
[change] index.html
2025-05-26 22:23:55 +02:00
a79a6aa154 auto-git:
[change] index.html
2025-05-26 22:23:41 +02:00
ed55b42586 auto-git:
[change] index.html
2025-05-26 22:23:31 +02:00
397170381a Add margin to pagination element in renderer.js 2025-05-26 22:23:26 +02:00
e12115f68e Update margin of border-t in index.html 2025-05-26 22:23:26 +02:00
5b49fdea1e auto-git:
[change] renderer.js
2025-05-26 22:21:40 +02:00
8b9afeed80 Correct typo in pagination class 2025-05-26 22:21:40 +02:00
90a426aede Remove vertical padding from pagination 2025-05-26 22:21:40 +02:00
e674eb5e97 Add padding to pagination 2025-05-26 22:21:40 +02:00
325445f6b0 Increase pagination margin 2025-05-26 22:21:40 +02:00
58e8a1839a Fix pagination class 2025-05-26 22:21:40 +02:00
14e7e051a1 Adjust move threshold for cat interaction 2025-05-26 22:12:20 +02:00
4ea44240bc Refactor pagination logic in renderer.js 2025-05-26 22:08:07 +02:00
f0ce11cef6 Fix text color in renderer.js based on theme 2025-05-26 22:07:12 +02:00
4b2989a3ae Refactor renderer.js to update text colors based on sky mode and time of day 2025-05-26 22:05:43 +02:00
d1df6d2bae Comment out title update interval in renderer.js 2025-05-26 22:01:09 +02:00
e6c24feea9 Fine-tune heart emitter position further in animeCat.js 2025-05-26 21:56:41 +02:00
af2c8f160c Adjust heart emitter position in animeCat.js 2025-05-26 21:56:41 +02:00
4dc2409438 Remove commented-out getCommits method from preload.js 2025-05-26 21:45:41 +02:00
76c9999cee Add getAllCommitHashes method to preload.js 2025-05-26 21:45:41 +02:00
1118af8111 Add new endpoint to retrieve all commit hashes from a Git repository 2025-05-26 21:44:30 +02:00
e0343bdb54 Refactor commit pagination and logic in renderer.js 2025-05-26 21:43:37 +02:00
3e8d1ef293 Fix typo in renderer.js 2025-05-26 21:27:01 +02:00
7f3be380d0 Refactor code to dynamically determine commit page based on HEAD if no specific page is provided 2025-05-26 21:25:01 +02:00
a856b99a74 Comment out unused getCommits function in preload.js 2025-05-26 21:24:38 +02:00
b662ba971e Improve pagination display in renderer.js 2025-05-26 21:14:38 +02:00
3b5d009207 Add function to get commit page for hash and update renderContent call 2025-05-26 21:12:09 +02:00
b7e808adec Fix typo in CSS keyframes declaration 2025-05-26 21:08:31 +02:00
985954e474 auto-git:
[change] preload.js
2025-05-26 21:01:04 +02:00
d81cd8cd50 Revert pagination default page change in renderer.js 2025-05-26 21:00:31 +02:00
5a84b5db02 Fix pagination default page in renderer.js 2025-05-26 21:00:31 +02:00
e7a8d95ff9 Add event listeners for pagination buttons in renderer.js 2025-05-26 20:59:08 +02:00
0d6d663883 Refactor pagination in renderer.js to support page parameter 2025-05-26 20:56:56 +02:00
58b9632fb1 auto-git:
[change] renderer.js
2025-05-26 20:54:56 +02:00
2060f4a7c4 Refactor get-commits handler to support pagination in main.js 2025-05-26 20:52:05 +02:00
258ae92be0 Fix redundant closeDropdown call in renderer.js 2025-05-26 20:52:05 +02:00
67b9850ee7 Revert isIgnored function to original implementation 2025-05-26 20:41:46 +02:00
7bebfafa5a Fix unnecessary parentheses in isIgnored function 2025-05-26 20:41:46 +02:00
ce33c3d8f1 Refactor isIgnored function to use IGNORED_NAMES 2025-05-26 20:41:46 +02:00
3464119588 auto-git:
[change] main.js
2025-05-26 20:37:01 +02:00
90d10fa4cb Update visibility condition for 'Open Folder' menu item 2025-05-26 20:36:52 +02:00
523ce91120 Fix typo in label for copying folder path 2025-05-26 20:36:52 +02:00
41b73d9372 auto-git:
[change] main.js
2025-05-26 20:35:32 +02:00
e5fce2e7d5 Fix issue with dropdown rendering in renderer.js 2025-05-26 20:27:05 +02:00
144b2e89eb Add IPC handler for retrieving selected folder sync data 2025-05-26 20:22:00 +02:00
42595ad74b Add context menu for files in tree view 2025-05-26 20:20:38 +02:00
5e318a1c51 Implement tree context menu functionality in renderer.js 2025-05-26 20:20:22 +02:00
779729d8f9 Add new API methods for context menu and selected item retrieval in preload.js 2025-05-26 20:20:22 +02:00
f48757b510 Add debug log for selected path in renderer.js 2025-05-26 20:11:45 +02:00
73c407669b Fix redundant semicolon in debug log 2025-05-26 20:08:52 +02:00
68014938a7 Add debug log for folder tree 2025-05-26 20:08:52 +02:00
8a079d8e1e Remove commented-out code in main.js 2025-05-26 19:41:38 +02:00
aa189e0956 Remove redundant store set call in main.js 2025-05-26 19:39:45 +02:00
beb5488310 Remove unused rotation logic from renderer.js 2025-05-26 19:37:23 +02:00
8b74c6a575 auto-git:
[change] renderer.js
2025-05-26 12:06:05 +02:00
e776dce19a Adjust paw rotation range in renderer.js 2025-05-26 12:06:05 +02:00
ec5dc20fdf Adjust right position of paw-queued class in index.html 2025-05-26 12:04:22 +02:00
cac328a39c auto-git:
[change] index.html
2025-05-26 12:02:48 +02:00
93d280af5e auto-git:
[change] index.html
2025-05-26 12:02:39 +02:00
a245ef756b auto-git:
[change] index.html
2025-05-26 12:02:20 +02:00
5d4474153c Adjust paw-queued position in index.html 2025-05-26 12:02:20 +02:00
59acfb3966 Update paw-queued class in renderer.js 2025-05-26 12:02:20 +02:00
2b60896072 Fix minor CSS syntax error in index.html 2025-05-26 11:59:54 +02:00
78f20efe2f auto-git:
[change] index.html
2025-05-26 11:58:36 +02:00
d96c9339d2 Remove comment from index.html 2025-05-26 11:58:12 +02:00
c26db47a7f Add paw-queued class for styling 2025-05-26 11:56:26 +02:00
c9fd27f883 auto-git:
[change] index.html
2025-05-26 11:56:17 +02:00
f6ebab9209 auto-git:
[change] index.html
2025-05-26 11:55:41 +02:00
ac7556dcad Update top value for .paw-queued class in index.html 2025-05-26 11:48:28 +02:00
455ca46c90 Add absolute positioning and adjust top value for .paw-queued class 2025-05-26 11:48:28 +02:00
99a274a0b1 Remove redundant padding from .paw-queued class 2025-05-26 11:46:26 +02:00
382e7e3965 Update CSS for .paw-queued class 2025-05-26 11:46:26 +02:00
bacc3bafa3 Replace right and top with padding-right and padding-top in paw-queued class 2025-05-26 11:45:10 +02:00
e0e267b616 Add right and top positioning to paw-queued class 2025-05-26 11:45:10 +02:00
8d9fbdb0ec Remove opacity from paw-queued class 2025-05-26 11:45:10 +02:00
b3cde48c5c Remove paw-queued styles from index.html 2025-05-26 11:43:58 +02:00
9dd07a32a7 Remove paw icon and hover effects from renderer.js 2025-05-26 11:43:58 +02:00
01f3089c8d Refactor commit queue check to use startsWith 2025-05-26 11:43:16 +02:00
8b97b9c2b4 Add debug log for commit hash length 2025-05-26 11:43:16 +02:00
20cf3ca46c Fix minor formatting issue in renderer.js 2025-05-26 11:40:28 +02:00
f1e6288121 auto-git:
[change] renderer.js
2025-05-26 11:39:01 +02:00
dbc36a6475 Add debug log for queued commits in renderer.js 2025-05-26 11:38:57 +02:00
9df94340ce Add position:relative to list item in renderer.js 2025-05-26 11:36:26 +02:00
59403c2952 Fix syntax error in renderer.js 2025-05-26 11:36:26 +02:00
ba357fba7b Fix syntax error in renderer.js 2025-05-26 11:36:26 +02:00
4ce89cbf5a auto-git:
[change] renderer.js
2025-05-26 11:34:46 +02:00
713856eac1 auto-git:
[change] renderer.js
2025-05-26 11:34:08 +02:00
624baf0cc9 Add paw icon for queued items in commit list 2025-05-26 11:32:42 +02:00
e5e5acc012 Reduce chance of salto in joy animation to 20% 2025-05-26 11:24:19 +02:00
f685a45996 Rename and update cat paw image 2025-05-26 11:18:48 +02:00
66256e7834 Add cat paw image 2025-05-26 11:18:48 +02:00
821db5c68c Fix typo in renderer.js 2025-05-26 11:08:17 +02:00
98fd0c66da auto-git:
[change] renderer.js
2025-05-26 11:06:57 +02:00
6b6c12e297 auto-git:
[change] renderer.js
2025-05-26 11:06:47 +02:00
9c20c1688f auto-git:
[change] renderer.js
2025-05-26 11:06:37 +02:00
486240f516 auto-git:
[change] renderer.js
2025-05-26 11:06:29 +02:00
fb75cd58f0 auto-git:
[change] renderer.js
2025-05-26 11:06:17 +02:00
c5ec3bae23 auto-git:
[change] renderer.js
2025-05-26 11:06:11 +02:00
a576c7199e Fix typo and update commit color thresholds in animeCat.js 2025-05-26 11:05:50 +02:00
e5f1a39dbc Adjust commit color thresholds and update commits today count in renderer.js 2025-05-26 11:05:50 +02:00
a3cd970e9c Update commits today count in renderer.js 2025-05-26 11:05:50 +02:00
1e8344416e auto-git:
[change] renderer.js
2025-05-26 11:04:34 +02:00
610b59a070 auto-git:
[change] renderer.js
2025-05-26 11:04:27 +02:00
aaf85e9fd6 Initialize commitsToday variable in renderer.js 2025-05-26 11:04:20 +02:00
e6ded61bb0 Swap order of text-shadow properties in index.html 2025-05-26 11:04:20 +02:00
32d1500dd4 Adjust text-shadow property in index.html 2025-05-26 11:04:20 +02:00
d05aa5674d auto-git:
[change] index.html
2025-05-26 11:03:08 +02:00
28fa20bffc auto-git:
[change] index.html
2025-05-26 11:03:01 +02:00
1b6cb7bd9b auto-git:
[change] index.html
2025-05-26 11:02:50 +02:00
125f07e012 auto-git:
[change] index.html
2025-05-26 11:02:36 +02:00
349b79fe56 auto-git:
[change] index.html
2025-05-26 11:02:31 +02:00
8cb8debca6 Restore original text shadow blur radius 2025-05-26 11:02:27 +02:00
5d29272b23 Minimize text shadow blur radius 2025-05-26 11:02:27 +02:00
45858d36d3 Further reduce text shadow blur radius 2025-05-26 11:02:27 +02:00
a880a743c5 Reduce text shadow blur radius 2025-05-26 11:02:27 +02:00
bea6d82298 Increase text shadow blur radius 2025-05-26 11:02:26 +02:00
71dd20e829 Increase shadow blur radius in .commits-glow 2025-05-26 11:01:32 +02:00
f8685b4225 Reduce shadow blur radius in .commits-glow 2025-05-26 11:01:32 +02:00
b0ac09cff2 auto-git:
[change] index.html
2025-05-26 11:00:11 +02:00
8c217991bf auto-git:
[change] index.html
2025-05-26 11:00:02 +02:00
af42da48ee auto-git:
[change] index.html
2025-05-26 10:59:49 +02:00
18ab465a40 auto-git:
[change] index.html
2025-05-26 10:59:40 +02:00
a3ff91df78 auto-git:
[change] index.html
2025-05-26 10:59:18 +02:00
fb6001548a Fix color calculation in renderer.js 2025-05-26 10:58:15 +02:00
c7bff0d357 Revert color calculation in renderer.js 2025-05-26 10:58:15 +02:00
ba7b437ac4 auto-git:
[change] renderer.js
2025-05-26 10:56:54 +02:00
9d81ab51b3 auto-git:
[change] renderer.js
2025-05-26 10:56:36 +02:00
ae4f6bb2f3 auto-git:
[change] renderer.js
2025-05-26 10:56:15 +02:00
5080f9fd73 auto-git:
[change] renderer.js
2025-05-26 10:56:06 +02:00
d1d1ec0a86 auto-git:
[change] renderer.js
2025-05-26 10:55:58 +02:00
e7ab250e99 auto-git:
[change] animeCat.js
2025-05-26 10:55:10 +02:00
9930aae614 auto-git:
[change] renderer.js
2025-05-26 10:55:01 +02:00
013f2dfbf2 auto-git:
[change] renderer.js
2025-05-26 10:54:52 +02:00
d3bd8e5cb8 auto-git:
[change] renderer.js
2025-05-26 10:54:46 +02:00
42aa123870 auto-git:
[change] renderer.js
2025-05-26 10:54:37 +02:00
28215ada8b auto-git:
[change] renderer.js
2025-05-26 10:54:28 +02:00
c319a68c4c auto-git:
[change] renderer.js
2025-05-26 10:54:19 +02:00
260f46ba10 Set commitsToday color based on commit count in renderer.js 2025-05-26 10:53:02 +02:00
3e327cc345 Update commitsToday color to green in renderer.js 2025-05-26 10:53:02 +02:00
da5ed7f89f Adjust commitsToday color calculation in renderer.js 2025-05-26 10:53:02 +02:00
107a67ad2e Change commit color in renderer.js 2025-05-26 10:53:02 +02:00
de161e14a6 Update commit count for color calculation in renderer.js 2025-05-26 10:51:47 +02:00
8261d55a21 Change commit color calculation in renderer.js 2025-05-26 10:51:47 +02:00
ed844383c3 Revert typo fix in renderer.js 2025-05-26 10:51:47 +02:00
14698a1f99 Fix typo in renderer.js 2025-05-26 10:51:47 +02:00
eb1b384dd5 Add color coding to commitsToday in renderer.js 2025-05-26 10:50:33 +02:00
3d57dfae5a Add commit color calculation function in renderer.js 2025-05-26 10:48:54 +02:00
9e6ebce2da Improve readability of commit and line count messages in index.html 2025-05-26 10:44:32 +02:00
9a601a0ba2 Further increase font weight of interaction bar span 2025-05-26 10:39:55 +02:00
36d6945a02 Increase font weight of interaction bar span 2025-05-26 10:39:55 +02:00
ef6cb89b40 Revert change in font weight of 'Lines until next Rewrite' 2025-05-26 10:38:48 +02:00
f129454b5b Update font weight of 'Lines until next Rewrite' to bold 2025-05-26 10:38:48 +02:00
cd67941391 Change font weight of 'Lines until next Rewrite' 2025-05-26 10:38:48 +02:00
c3db42c8f0 Adjust margin-left of .interaction-bar .flex 2025-05-26 10:38:48 +02:00
d236b9e60c Add margin-left to .interaction-bar .flex 2025-05-26 10:38:48 +02:00
bf756f4221 Update interaction bar styling and structure in index.html 2025-05-26 10:36:55 +02:00
7ee40e3698 Update styles for interaction bar in index.html 2025-05-26 10:36:37 +02:00
109b5b4c39 auto-git:
[change] index.html
2025-05-26 10:36:25 +02:00
b4b3fe7fee Reformat CSS for consistency 2025-05-26 10:36:20 +02:00
80f15645b1 auto-git:
[change] index.html
2025-05-26 10:36:10 +02:00
96809826f8 Decrease font-size in .interaction-bar .font-bold 2025-05-26 10:35:57 +02:00
e323dec3c1 Increase margin-left in .interaction-bar .flex 2025-05-26 10:35:57 +02:00
f0b4d463fd Adjust margin-left in .interaction-bar .flex 2025-05-26 10:35:57 +02:00
42d0308d1d auto-git:
[change] index.html
2025-05-26 10:33:53 +02:00
78618f78f0 Refactor interaction bar styling and structure 2025-05-26 10:33:30 +02:00
344cae7bb3 Add commit button to interaction bar 2025-05-26 10:33:30 +02:00
797698ae3f Refactor updateInteractionBar to call async startLiveCountdown 2025-05-26 10:30:18 +02:00
0058795fb8 Refactor renderer.js to use async function for startLiveCountdown 2025-05-26 10:30:18 +02:00
b90f968aae Add missing code in renderer.js 2025-05-26 10:28:03 +02:00
a55d4621f6 Remove unused code in renderer.js 2025-05-26 10:28:03 +02:00
1daa4f48c6 auto-git:
[change] renderer.js
2025-05-26 10:26:55 +02:00
a535232e3e auto-git:
[change] renderer.js
2025-05-26 10:26:48 +02:00
6667e2ac59 auto-git:
[change] renderer.js
2025-05-26 10:26:40 +02:00
16b7b72987 auto-git:
[change] renderer.js
2025-05-26 10:26:32 +02:00
6df2639c97 auto-git:
[change] renderer.js
2025-05-26 10:26:07 +02:00
97b435005f Fix missing semicolon in renderer.js 2025-05-26 10:25:49 +02:00
c7e3405e63 auto-git:
[change] renderer.js
2025-05-26 10:24:08 +02:00
7345c784a9 Remove redundant interaction bar update call in renderer.js 2025-05-26 10:22:42 +02:00
737dde1cb7 Refactor folder rendering logic in renderer.js 2025-05-26 10:22:42 +02:00
ccd34fabad Refactor folder selection and rendering logic 2025-05-26 10:18:15 +02:00
3e673de031 Add recursive content rendering and interaction update in renderer.js 2025-05-26 10:16:31 +02:00
da5ab820b9 Refactor countdown formatting in renderer.js 2025-05-26 10:14:56 +02:00
f9e937ce42 Implement live countdown functionality for folderObj in renderer.js 2025-05-26 10:14:24 +02:00
193d10123b Add countdown interval initialization in renderer.js 2025-05-26 10:14:24 +02:00
50a36e9c9c Fix typo in debug message 2025-05-26 10:12:00 +02:00
e8237e7692 Fix typo in debug message 2025-05-26 10:12:00 +02:00
deca0adb10 Fix missing newline character in renderer.js 2025-05-26 10:06:15 +02:00
c1a059e59e Update content list to interaction bar in renderer.js 2025-05-26 10:06:15 +02:00
730e7fea42 auto-git:
[change] renderer.js
2025-05-26 10:04:36 +02:00
9c8d686600 auto-git:
[change] index.html
2025-05-26 10:04:12 +02:00
2e1b8f15e9 auto-git:
[change] renderer.js
2025-05-26 10:01:09 +02:00
1434ce1337 Add content list update in renderer.js 2025-05-26 09:57:14 +02:00
8beb47235a Refactor and enhance content list update logic in renderer.js 2025-05-26 09:54:38 +02:00
535d23a5d6 Add countdown function to renderer.js 2025-05-26 09:54:38 +02:00
78ede2c419 Remove commented-out code in renderer.js 2025-05-26 09:38:30 +02:00
5e21fc8cf9 Add theme selection element to settings.html 2025-05-26 09:35:03 +02:00
597e43b008 Remove unused theme option from settings.html 2025-05-26 09:31:43 +02:00
e13763b8ba Add Sky Theme checkbox to settings.html 2025-05-26 09:31:43 +02:00
204589038b auto-git:
[change] main.js
2025-05-26 09:28:37 +02:00
60445daef6 Update settings.html to include theme selection dropdown 2025-05-26 08:18:21 +02:00
87bb4a436f Revert adjustment to position of anime cat image 2025-05-26 08:11:34 +02:00
913a890c4d Adjust position of anime cat image 2025-05-26 08:11:34 +02:00
553241432b Reduce glow animation amplitude 2025-05-26 08:04:30 +02:00
878e34d67b Fine-tune glow animation increment 2025-05-26 08:04:30 +02:00
73beb97d83 Adjust glow animation phase and increment 2025-05-26 08:04:30 +02:00
76173b54ab Reduce amplitude of opacity wave in animation 2025-05-26 08:03:18 +02:00
74db19885b Adjust top position of glow element 2025-05-26 08:03:18 +02:00
d25cb0ef9e Reduce glow opacity in animeCat.js 2025-05-26 08:01:41 +02:00
5164485b5f Update glow dimensions and opacity in animeCat.js 2025-05-26 08:01:41 +02:00
edb33c9fd9 Adjust glow position in animeCat.js 2025-05-26 08:01:41 +02:00
ea97ffca6e Reduce glow animation amplitude 2025-05-26 08:01:16 +02:00
fd7bf1cc1a Increase glow animation speed 2025-05-26 08:01:16 +02:00
e9bcdae593 Adjust glow animation phase 2025-05-26 08:01:16 +02:00
096b64ce18 Increase blur radius of glow effect in animeCat.js 2025-05-26 08:00:03 +02:00
031199816d Further adjust glow position in animeCat.js 2025-05-26 08:00:03 +02:00
4e177c15fd Adjust glow position in animeCat.js 2025-05-26 08:00:03 +02:00
0b06a3acac auto-git:
[change] animeCat.js
2025-05-26 07:58:19 +02:00
0d16827e11 auto-git:
[change] animeCat.js
2025-05-26 07:58:03 +02:00
36e7ad53a3 auto-git:
[change] animeCat.js
2025-05-26 07:57:42 +02:00
f5ef546e2d auto-git:
[change] animeCat.js
2025-05-26 07:57:34 +02:00
994ea02dbe Adjust blur and opacity values for glow effect 2025-05-26 07:56:51 +02:00
2eb9609519 Fix typo in method name 2025-05-26 07:56:51 +02:00
b0bfcfc856 Refactor glow animation logic in animeCat.js 2025-05-26 07:55:35 +02:00
f8259a1913 Refine glow wobble animation logic in animeCat.js 2025-05-26 07:55:22 +02:00
d98bf4d13a Add glow wobble animation to AnimeCat 2025-05-26 07:55:22 +02:00
0ca02f01b8 Fix missing call to startGlowWobble in animeCat.js 2025-05-26 07:53:45 +02:00
98da6160ad Add glow wobble effect to animeCat.js 2025-05-26 07:52:31 +02:00
4972194552 Adjust glow position and style in animeCat.js 2025-05-26 07:52:02 +02:00
3d71cf9504 Refactor glow animation in animeCat.js 2025-05-26 07:52:02 +02:00
e42d08658e Change salto chance to always occur in animeCat.js 2025-05-26 07:47:24 +02:00
5ded847ea1 Add red border to glow element in animeCat.js 2025-05-26 07:47:24 +02:00
c01ec22252 Remove redundant border property 2025-05-26 07:46:07 +02:00
594c97e228 Fix border property formatting 2025-05-26 07:46:07 +02:00
ab18908bff Reduce width of glow element 2025-05-26 07:46:07 +02:00
c52561376e Remove unnecessary left and top properties from glow style 2025-05-26 07:46:07 +02:00
0478094a08 Add red border to animeCat.js for debugging 2025-05-26 07:44:30 +02:00
f1360dc517 Update position of glow effect on anime cat 2025-05-26 07:43:05 +02:00
6d15ada797 auto-git:
[change] animeCat.js
2025-05-26 07:42:02 +02:00
30818725aa Further adjust glow position top value in animeCat.js 2025-05-26 07:42:02 +02:00
017fd1ff38 Adjust glow position top value in animeCat.js 2025-05-26 07:42:02 +02:00
57c780359c Reposition glow element in animeCat.js 2025-05-26 07:40:46 +02:00
cdedd3de1e Adjust bubble margin in animeCat.js 2025-05-26 07:40:46 +02:00
c28bab2726 Adjust cat glow position in animeCat.js 2025-05-26 07:39:12 +02:00
026b24c225 Fix minor formatting issue in animeCat.js 2025-05-26 07:38:41 +02:00
d9de4fdcf9 Improve radial gradient in animeCat.js 2025-05-26 07:38:41 +02:00
5fca786254 Update glow properties for animeCat.js 2025-05-26 07:37:43 +02:00
9dfc651c01 Adjust position of anime cat glow 2025-05-26 07:35:12 +02:00
02fdb7ba2f Reduce size of anime cat icon 2025-05-26 07:35:12 +02:00
2b23e8e9f9 auto-git:
[change] animeCat.js
2025-05-26 07:33:44 +02:00
a474719ea6 auto-git:
[change] animeCat.js
2025-05-26 07:33:25 +02:00
06b3704c86 auto-git:
[change] animeCat.js
2025-05-26 07:32:48 +02:00
13bd5ab566 auto-git:
[change] animeCat.js
2025-05-26 07:32:43 +02:00
292641011e Revert previous adjustment to glow position top value 2025-05-26 07:32:21 +02:00
6ffe1e8ad1 Fine-tune glow position top value 2025-05-26 07:32:21 +02:00
9e1a32d12b Further adjust glow position top value 2025-05-26 07:32:21 +02:00
e3dbbfd0de Adjust glow position top value 2025-05-26 07:32:21 +02:00
f1c20a97a3 Adjust horizontal position of anime cat image 2025-05-26 07:30:38 +02:00
6cc3bf7a93 Decrease vertical position of anime cat image 2025-05-26 07:30:38 +02:00
a2033caf02 Increase vertical position of anime cat image 2025-05-26 07:30:38 +02:00
b4a4ddc66d Further adjust vertical position of anime cat image 2025-05-26 07:30:38 +02:00
600b6c3bd1 Adjust vertical position of anime cat image 2025-05-26 07:30:38 +02:00
1c295cae81 Refactor joy animation logic in animeCat.js 2025-05-26 07:27:11 +02:00
1e358d7230 Refactor bubble positioning logic in animeCat.js 2025-05-26 07:26:53 +02:00
e5334996e5 Refactor animeCat.js to improve layout and structure 2025-05-26 07:26:24 +02:00
d66c385805 auto-git:
[change] animeCat.js
2025-05-26 07:25:59 +02:00
c1127f4d73 auto-git:
[change] animeCat.js
2025-05-26 07:23:17 +02:00
0e3624fbac Remove unused CSS for #cat-glow 2025-05-26 07:22:34 +02:00
09821217a2 Remove unused CSS for #cat-sprite 2025-05-26 07:22:34 +02:00
35ef5dfebd Fix chance of salto in _runJoyAnimation 2025-05-26 07:22:34 +02:00
055121edec Revert chance of salto in _runJoyAnimation 2025-05-26 07:22:34 +02:00
d890b0b254 Refactor animeCat.js to improve glow animation logic and color interpolation 2025-05-26 07:20:13 +02:00
35e695c983 Refactor animeCat.js to improve layout and structure 2025-05-26 07:18:39 +02:00
2cf57ddbe1 Refactor glow animation logic in animeCat.js 2025-05-26 07:16:02 +02:00
3d44f9b4db Refactor glow animation to use lerped colors between green and orange 2025-05-26 07:15:20 +02:00
e3fda7adba Add linear interpolation functions for color and value 2025-05-26 07:15:20 +02:00
aeb5165b2c Add daily commit progress animation to animeCat.js 2025-05-26 07:14:24 +02:00
84a0c0b2c3 Revert glow color change 2025-05-26 07:13:12 +02:00
db5d91825e Reset glow color to default 2025-05-26 07:13:12 +02:00
065f7a5250 Set glow color to fixed value 2025-05-26 07:13:12 +02:00
34c6789c76 Refactor glow color and size calculation in animeCat.js 2025-05-26 07:11:43 +02:00
91c6410a51 Add daily commit progress animation to animeCat.js 2025-05-26 07:09:15 +02:00
e249b734cc auto-git:
[change] animeCat.js
2025-05-26 07:09:08 +02:00
be6f7a6f6c Refactor method name to animateCatGlow in animeCat.js 2025-05-26 07:07:33 +02:00
2f7c22148b Fix alignment and z-index in index.html 2025-05-26 07:07:33 +02:00
b15f32ad01 Add glow effect to animeCat.js 2025-05-26 07:06:05 +02:00
1c74e1f284 Refactor glow animation logic in animeCat.js 2025-05-26 07:04:24 +02:00
985c3aff8e Remove redundant img creation in animeCat.js 2025-05-26 07:04:24 +02:00
0d3b5ec57a Fix typo and condition check in _animateCatGlow method of animeCat.js 2025-05-26 07:03:20 +02:00
23e6ed0c5a Fix glow insertion order in animeCat.js 2025-05-26 07:03:20 +02:00
6bb3e3f8b0 Remove unused glow element creation in animeCat.js 2025-05-26 07:03:19 +02:00
52c0c00d31 Fix indentation and formatting in animeCat.js 2025-05-26 07:01:50 +02:00
1ffb6ec748 Add glow effect to animeCat.js 2025-05-26 07:00:21 +02:00
80cdf0384b Add conditional check for cat glow element in animeCat.js 2025-05-26 06:58:38 +02:00
a5df82d213 Update cat glow style in index.html 2025-05-26 06:58:38 +02:00
d84667f507 Add missing newline in animeCat.js 2025-05-26 06:57:20 +02:00
6bd8abb163 Refactor _animateCatGlow method in animeCat.js 2025-05-26 06:55:21 +02:00
06d371316d Add radial gradient background to #cat-glow in index.html 2025-05-26 06:55:21 +02:00
8d3a71b2d3 Update cat sprite and slot in index.html 2025-05-26 06:55:21 +02:00
1e1be847c0 Refactor and enhance cat glow styling 2025-05-26 06:54:28 +02:00
6e277f0396 Add cat glow div 2025-05-26 06:54:28 +02:00
c8e50e6402 Add log statement for daily commit count in renderer.js 2025-05-26 06:51:24 +02:00
2fba3a40f0 Add debug log for commit count in animeCat.js 2025-05-26 06:49:55 +02:00
d00690d7de Refactor method name in animeCat.js 2025-05-26 06:48:08 +02:00
791dfa8585 Add missing ipcMain handler for 'get-daily-commit-stats' in main.js 2025-05-26 06:45:05 +02:00
206330d9bf Remove unused code in renderer.js 2025-05-26 06:45:05 +02:00
cafab04d2d auto-git:
[change] animeCat.js
2025-05-26 06:43:07 +02:00
ab5ac8a060 auto-git:
[change] renderer.js
2025-05-26 06:42:28 +02:00
342f261cca Refactor animeCat.js to include commit count glow animation 2025-05-26 06:41:04 +02:00
538d88de46 Add glow effect to cat sprite in index.html 2025-05-26 06:41:04 +02:00
d6885f15c3 Remove commented-out code in renderer.js 2025-05-26 06:37:58 +02:00
755dce2788 Add daily commit stats to renderer.js 2025-05-26 06:33:37 +02:00
814cc7818d Add function to fetch daily commit stats in preload.js 2025-05-26 06:32:51 +02:00
29b76be6f0 auto-git:
[change] renderer.js
2025-05-26 06:31:39 +02:00
0a2dd0d5ac auto-git:
[change] main.js
2025-05-26 06:31:18 +02:00
d3c946dd27 Reduce chance of salto 2025-05-26 05:47:48 +02:00
cf28705544 Revert heart emitter X position change 2025-05-26 05:47:48 +02:00
d7c1ec0782 Fine-tune heart emitter X position 2025-05-26 05:47:48 +02:00
151e40139d Adjust heart emitter position 2025-05-26 05:47:48 +02:00
d08c0321d2 auto-git:
[change] animeCat.js
2025-05-26 05:46:17 +02:00
d7900cefe7 Increase chance of Salto in animeCat.js 2025-05-26 05:45:30 +02:00
e54738c538 auto-git:
[change] animeCat.js
2025-05-26 05:43:38 +02:00
b3cce5f043 Refactor and optimize animation logic in animeCat.js 2025-05-26 05:40:44 +02:00
7dd99e504a auto-git:
[change] animeCat.js
2025-05-26 05:38:37 +02:00
c255c29b5f auto-git:
[change] animeCat.js
2025-05-26 05:38:34 +02:00
c483daecf0 Add speech functionality to animeCat.js 2025-05-26 05:37:12 +02:00
aa5c66225f auto-git:
[change] animeCat.js
2025-05-26 05:37:07 +02:00
cec3323814 auto-git:
[change] animeCat.js
2025-05-26 05:37:02 +02:00
a63ee23dbb auto-git:
[change] animeCat.js
2025-05-26 05:36:57 +02:00
2d91ba6f82 auto-git:
[change] animeCat.js
2025-05-26 05:35:44 +02:00
2aa71895b0 Adjust heart offset in animeCat.js 2025-05-26 05:33:33 +02:00
201c2eee02 Adjust heart position calculation in animeCat.js 2025-05-26 05:32:00 +02:00
3ab48eb3e2 Adjust probability of joy animation salto 2025-05-26 05:31:17 +02:00
316aefcfc9 auto-git:
[change] animeCat.js
2025-05-26 05:29:38 +02:00
748d69d26c auto-git:
[change] animeCat.js
2025-05-26 05:29:00 +02:00
c52e360046 Refactor animeCat.js to improve heart and bubble animation handling 2025-05-26 05:27:40 +02:00
b656dfb3f2 Increase chance of joy animation in animeCat.js 2025-05-26 05:27:34 +02:00
1a601a4391 Adjust jump and rotation logic in animeCat.js 2025-05-26 05:23:30 +02:00
2ccfd9fc0f Increase jump chance in animeCat.js 2025-05-26 05:23:30 +02:00
71fd1f54af Refactor and optimize joy animation logic in animeCat.js 2025-05-26 05:22:11 +02:00
ad9c4db36a Reduce chance of salto in joy animation 2025-05-26 05:21:58 +02:00
9a6107f988 Refactor joy animation logic in animeCat.js 2025-05-26 05:20:31 +02:00
c18c2b258a Refactor and enhance cat animation logic with random salto chance and improved heart explosion timing 2025-05-26 05:14:15 +02:00
c001770ef1 Refactor method call in animeCat.js 2025-05-26 05:11:44 +02:00
e3571fd420 Refactor method call in animeCat.js 2025-05-26 05:11:44 +02:00
a48589bcf9 Refactor animeCat.js to consolidate mouse hold logic into a separate method 2025-05-26 05:10:22 +02:00
1a9f413360 Refactor and improve consolation logic in animeCat.js 2025-05-26 05:10:03 +02:00
042fb516c9 Remove redundant code in animeCat.js 2025-05-26 05:09:56 +02:00
816a14b174 Refactor and enhance mouse hold logic in animeCat.js 2025-05-26 05:06:49 +02:00
c7d82d48f4 Refactor and enhance mouth open logic in animeCat.js 2025-05-26 05:06:29 +02:00
7d5280ff2f Add _consolationCount property to AnimeCat class 2025-05-26 05:05:56 +02:00
7839891c31 Add mischievous.png to animeCat.js 2025-05-26 05:05:56 +02:00
092e8df0b0 auto-git:
[change] renderer.js
2025-05-26 05:04:47 +02:00
ff6f50de08 Add mischievous cat asset 2025-05-26 05:02:42 +02:00
881f6ad03c Remove debug log from animeCat.js 2025-05-26 05:01:21 +02:00
5eb1870dcd Ensure minimum mouth open time of 1000ms 2025-05-26 04:59:29 +02:00
f1c27e0364 Fix incorrect mouth open time calculation 2025-05-26 04:59:29 +02:00
bb1c61b010 Add debug log for mouse hold duration and mouth open time 2025-05-26 04:56:46 +02:00
bfa54a2d9e Adjust mouth open time calculation 2025-05-26 04:56:46 +02:00
d4c5069e40 Refactor mouth open time calculation and conditional logic in animeCat.js 2025-05-26 04:55:27 +02:00
8f6def90b1 Adjust mouth open time calculation in animeCat.js 2025-05-26 04:54:11 +02:00
237d08eaf8 Fix syntax error in animeCat.js 2025-05-26 04:52:53 +02:00
fc94b6fdb1 Fix syntax error in animeCat.js 2025-05-26 04:52:53 +02:00
5efcf5053d auto-git:
[change] animeCat.js
2025-05-26 04:49:45 +02:00
4705e7d073 auto-git:
[change] animeCat.js
2025-05-26 04:49:35 +02:00
1a244cda2f auto-git:
[change] animeCat.js
2025-05-26 04:49:22 +02:00
403d751db4 Remove unused cat images from assets 2025-05-26 04:47:42 +02:00
828fdd18a9 auto-git:
[change] animeCat.js
2025-05-26 04:44:15 +02:00
ca5cb02868 auto-git:
[change] renderer.js
2025-05-26 04:44:05 +02:00
4941f61962 auto-git:
[change] renderer.js
2025-05-26 04:43:59 +02:00
01a17f3178 auto-git:
[change] animeCat.js
2025-05-26 04:43:48 +02:00
d9026e7261 auto-git:
[change] assets/cat/blink.png
2025-05-26 04:43:27 +02:00
3379fd8103 auto-git:
[add] assets/cat/blink.png
2025-05-26 04:43:22 +02:00
e905a5f2ae Correct cat slot position in index.html 2025-05-26 04:40:53 +02:00
1b86bee126 Adjust image width in animeCat.js 2025-05-26 04:40:53 +02:00
ac4dfebc4e Swap width and height of anime cat image 2025-05-26 04:39:38 +02:00
c72987b1c8 Adjust height of anime cat image 2025-05-26 04:39:38 +02:00
3999a2ad9b Resize anime cat image dimensions 2025-05-26 04:39:38 +02:00
3404c95320 Fix indentation and remove empty line in index.html 2025-05-26 04:38:54 +02:00
68b5f0caa3 Remove unused CSS for catSlot image 2025-05-26 04:38:54 +02:00
98ed479930 Set cat image width to 10000px and height to 50px 2025-05-26 04:37:39 +02:00
a2fcba4707 Decrease cat image height to 40px 2025-05-26 04:37:39 +02:00
f0507f5a6b Increase cat image width to 80px 2025-05-26 04:37:39 +02:00
ca00196cfe Increase cat image width to 70px and height to 50px 2025-05-26 04:37:39 +02:00
330f3f1898 Add new cat assets: mouth_open.png, eyes_closed.png 2025-05-26 04:36:27 +02:00
d57b9b84b4 Rename mouth_open.png to old/mouth_open.png 2025-05-26 04:36:27 +02:00
5f441be8a5 Rename blush_shy.png to joy.png and remove blush_shy.png 2025-05-26 04:35:14 +02:00
c38bf23a3b Add default cat image 2025-05-26 04:35:14 +02:00
1bce199da5 Rename and move default and joy images to old directory, remove old images 2025-05-26 04:35:14 +02:00
97d1d9871c Add new cat image: blush_shy.png 2025-05-26 04:35:14 +02:00
94568a11e1 Increase move threshold for mouse hold detection in animeCat.js 2025-05-26 04:32:56 +02:00
13696f1f82 Refactor cleanup function in animeCat.js 2025-05-26 04:31:11 +02:00
86e655e94e Refactor mouse hold logic in animeCat.js 2025-05-26 04:27:01 +02:00
87829a9467 Refactor and fix issue with petting state in animeCat.js 2025-05-26 04:25:36 +02:00
2855656030 Refactor and fix issue with petting state in animeCat.js 2025-05-26 04:25:36 +02:00
a424189a83 Fix issue with petting state in animeCat.js 2025-05-26 04:25:36 +02:00
eff8eaf8a3 Fix issue with petting state in animeCat.js 2025-05-26 04:25:36 +02:00
2e261ff1aa Prevent setting default image when petting is active during blinking 2025-05-26 04:24:37 +02:00
8e89dcf0b9 Ensure default image is set only if petting is not active in endSpeech method 2025-05-26 04:24:37 +02:00
00d33e2068 Add petting active flag in animeCat.js 2025-05-26 04:24:37 +02:00
c701e04383 Refactor mouse hold logic in AnimeCat class 2025-05-26 04:23:02 +02:00
abeaaa6e87 Add _pettingActive property to AnimeCat class 2025-05-26 04:23:02 +02:00
c1bb05e62a Fix typo in animeCat.js 2025-05-26 04:21:28 +02:00
afc1a3372e Change 'overflow: none;' to 'overflow: hidden;' in body of index.html 2025-05-26 04:18:29 +02:00
edbb0ed3a7 Add 'overflow: none;' to body in index.html 2025-05-26 04:18:29 +02:00
5e21efdd6e Increase move threshold for mouse hold in animeCat.js 2025-05-26 04:16:42 +02:00
4fcf05844b Refactor and optimize animeCat.js for better performance and readability 2025-05-26 04:14:37 +02:00
0de4e4dd70 Reduce cat tolerance for proximity detection 2025-05-26 04:13:47 +02:00
3906c15cb2 Increase mouse move threshold for cat interaction 2025-05-26 04:13:47 +02:00
8c5bca27fb Adjust move threshold for mouse hold 2025-05-26 04:12:17 +02:00
583ce878df Further increase move threshold for mouse hold 2025-05-26 04:12:17 +02:00
75c8c4d9b7 Increase move threshold for mouse hold 2025-05-26 04:12:17 +02:00
ecb5ddfa09 Refactor mouse hold logic to include movement tracking and joy animation conditions 2025-05-26 04:10:27 +02:00
1c6ce0eec7 Refactor and enhance mouse hold logic in animeCat.js 2025-05-26 04:08:02 +02:00
0d0824111f Increase CAT_TOLERANCE and update event listeners for animeCat.js 2025-05-26 04:05:05 +02:00
f4e4f4e5dc Further reduce CAT_TOLERANCE in animeCat.js 2025-05-26 04:03:28 +02:00
352a09dd97 Reduce CAT_TOLERANCE in animeCat.js 2025-05-26 04:03:28 +02:00
a098c28efd Adjust CAT_TOLERANCE and refactor mouse event handling in animeCat.js 2025-05-26 04:01:51 +02:00
bf113ed28a Increase CAT_TOLERANCE in animeCat.js for better mouse interaction 2025-05-26 04:01:34 +02:00
46f1e821b0 Add tolerance for mouse proximity to cat image during interaction 2025-05-26 04:00:08 +02:00
59a130d1ad Adjust minimum stroke distance for joy animation in animeCat.js 2025-05-26 03:58:52 +02:00
4c4bc41e78 Refactor mouse hold logic in animeCat.js to improve eye closure and joy mode activation 2025-05-26 03:56:43 +02:00
41d4a3be4e Reduce timeout duration in animeCat.js 2025-05-26 03:53:33 +02:00
c77a1d6fb3 auto-git:
[change] animeCat.js
2025-05-26 03:52:08 +02:00
c313b1e848 auto-git:
[change] animeCat.js
2025-05-26 03:51:55 +02:00
b83a71dfa6 auto-git:
[change] animeCat.js
2025-05-26 03:51:50 +02:00
0cd906665d Adjust heart position in animeCat.js 2025-05-26 03:51:30 +02:00
fb1eeb5e44 Move heart emoji left position to 40% 2025-05-26 03:49:57 +02:00
f501ae7077 Move heart emoji left position to 30% 2025-05-26 03:49:57 +02:00
6797891cf8 auto-git:
[change] animeCat.js
2025-05-26 03:48:39 +02:00
26ac46a380 auto-git:
[change] renderer.js
2025-05-26 03:47:48 +02:00
4eb8557d2c Fine-tune wrapper transformation in animeCat.js 2025-05-26 03:47:44 +02:00
c2122bf6c1 Adjust animation timing in animeCat.js 2025-05-26 03:47:44 +02:00
02860b72c7 Increase transition duration for joy-mode animation in animeCat.js 2025-05-26 03:46:19 +02:00
67f56d8520 Remove redundant condition in animeCat.js 2025-05-26 03:45:10 +02:00
8d9f9edda7 Remove unnecessary comment from renderer.js 2025-05-26 03:43:37 +02:00
6b62ab62a4 Add new cat image for joy 2025-05-26 03:43:37 +02:00
d69e9f6e91 Add joy mode with heart animation to animeCat.js 2025-05-26 03:40:18 +02:00
2ba245a20a Add cat initialization with images and begin speech method 2025-05-26 03:34:47 +02:00
280154c537 Remove redundant cat speech event listeners 2025-05-26 03:34:47 +02:00
3aebed1a5f Add AnimeCat class for animated cat with speech bubble 2025-05-26 03:30:43 +02:00
781c992de9 Remove unused animeCat.js script 2025-05-26 03:30:31 +02:00
ec72da29f6 auto-git:
[change] animeCat.js
2025-05-26 03:29:15 +02:00
1d963c2fab Remove unused animeCat.js script 2025-05-26 03:29:15 +02:00
a7379e1a0d Remove redundant display style changes in animeCat.js 2025-05-26 03:27:36 +02:00
e382b63e40 Revert fix for display property of bubblePointer in animeCat.js 2025-05-26 03:25:44 +02:00
ee56965ab6 Fix display property of bubblePointer in animeCat.js 2025-05-26 03:25:44 +02:00
95c9df6261 Shorten speech duration in animeCat.js 2025-05-26 03:21:11 +02:00
2cf7ac9359 Reduce margin-bottom in animeCat.js 2025-05-26 03:21:11 +02:00
524eaaff4d Adjust margin-bottom in animeCat.js 2025-05-26 03:21:11 +02:00
14a3c3c278 Decrease padding in animeCat.js 2025-05-26 03:21:11 +02:00
80778df9ed Increase padding in animeCat.js 2025-05-26 03:21:11 +02:00
810e206e83 auto-git:
[change] animeCat.js
2025-05-26 03:19:55 +02:00
525f2021e2 auto-git:
[change] animeCat.js
2025-05-26 03:19:44 +02:00
c0d4ac4b44 auto-git:
[change] animeCat.js
2025-05-26 03:19:32 +02:00
d5f193d33c auto-git:
[change] animeCat.js
2025-05-26 03:19:13 +02:00
e2ccddf974 auto-git:
[change] animeCat.js
2025-05-26 03:18:56 +02:00
8d25cb3a89 Increase bubble hide delay in animeCat.js 2025-05-26 03:18:14 +02:00
c46b5c211c Refactor animeCat.js to improve structure and readability 2025-05-26 03:15:21 +02:00
6a4622b368 Await autoCommit with 'win' parameter in startMonitoringWatcher 2025-05-26 03:04:19 +02:00
cc2dd069ba Pass 'win' parameter to autoCommit in startMonitoringWatcher 2025-05-26 03:04:19 +02:00
14bd7ccf9c Add parameter 'win' to autoCommit function 2025-05-26 03:04:19 +02:00
40655e4b1c Pass window object to streamLLMCommitMessages in main.js 2025-05-26 03:03:05 +02:00
d0a802798a auto-git:
[change] main.js
2025-05-26 03:00:31 +02:00
abaa0ed838 auto-git:
[change] main.js
2025-05-26 03:00:22 +02:00
06dca69910 auto-git:
[change] main.js
2025-05-26 03:00:15 +02:00
9c26193fa1 auto-git:
[change] main.js
2025-05-26 02:56:50 +02:00
361dab832e auto-git:
[change] main.js
2025-05-26 02:56:21 +02:00
0f511bf881 auto-git:
[change] main.js
2025-05-26 02:56:17 +02:00
54961e19a4 auto-git:
[change] animeCat.js
2025-05-26 02:54:21 +02:00
179b4ff166 auto-git:
[change] preload.js
2025-05-26 02:54:10 +02:00
23a7ead867 auto-git:
[change] renderer.js
2025-05-26 02:53:33 +02:00
d0a9cbca64 auto-git:
[change] animeCat.js
2025-05-26 02:50:55 +02:00
2bc2654908 auto-git:
[change] index.html
2025-05-26 02:50:11 +02:00
cc3be616a9 auto-git:
[change] renderer.js
2025-05-26 02:49:01 +02:00
6bb9d50608 auto-git:
[change] renderer.js
2025-05-26 02:48:39 +02:00
eb7272ab9a auto-git:
[change] renderer.js
2025-05-26 02:48:03 +02:00
f11b739e0a auto-git:
[change] renderer.js
2025-05-26 02:48:02 +02:00
ab3152a6eb auto-git:
[change] renderer.js
2025-05-26 02:47:48 +02:00
adc86f4970 auto-git:
[change] index.html
2025-05-26 02:47:32 +02:00
9fefac7f24 auto-git:
[change] index.html
2025-05-26 02:47:07 +02:00
aaec14a76c auto-git:
[change] renderer.js
2025-05-26 02:40:49 +02:00
a0dfce9b03 auto-git:
[change] renderer.js
2025-05-26 02:38:21 +02:00
9b056c6eea auto-git:
[change] renderer.js
2025-05-26 02:38:10 +02:00
6dbb037474 auto-git:
[change] renderer.js
2025-05-26 02:38:03 +02:00
4878cb18ef Add cat stream events to LLM commit messages 2025-05-26 02:37:52 +02:00
79ffeedbfa Add event listeners for IPC messages in renderer.js 2025-05-26 02:36:26 +02:00
a2fe374b32 Import AnimeCat and initialize it in renderer.js 2025-05-26 02:34:59 +02:00
48ca4c6e90 Comment out unused script in index.html 2025-05-26 02:34:59 +02:00
cf2c2fc7a3 Adjust cat slot left position in index.html 2025-05-26 02:32:37 +02:00
b9eb74b47b Fix cat slot position in index.html 2025-05-26 02:32:37 +02:00
f259bad82a auto-git:
[change] index.html
2025-05-26 02:27:29 +02:00
f05a76aba5 auto-git:
[change] index.html
2025-05-26 02:27:24 +02:00
43e7a22d4c auto-git:
[change] index.html
2025-05-26 02:27:06 +02:00
1d65e6d712 auto-git:
[change] index.html
2025-05-26 02:25:54 +02:00
a82eb42189 auto-git:
[change] index.html
2025-05-26 02:25:35 +02:00
773e9947a8 Reduce cat image size 2025-05-26 02:25:35 +02:00
df139c6db4 Minimize cat slot margin 2025-05-26 02:25:35 +02:00
c8986317e8 Fine-tune cat slot position 2025-05-26 02:25:35 +02:00
eaa319e535 Adjust cat slot position 2025-05-26 02:25:35 +02:00
32bf0fb1a8 Add test comment to handle LLM runs 2025-05-26 00:52:15 +02:00
797f10cc2e Comment out unnecessary code in autoCommit function 2025-05-26 00:46:55 +02:00
1fcad45b97 Update date formatting in autoCommit function 2025-05-26 00:46:55 +02:00
36ed02cc9a Add comment 'test' in main.js 2025-05-25 22:41:30 +02:00
d31cbf339c Add empty line in main.js 2025-05-25 22:41:30 +02:00
7f8749a4af Comment out unused code block in main.js 2025-05-25 22:39:59 +02:00
e53d8ccf0b Add folder update logic in main.js 2025-05-25 22:39:59 +02:00
5a49754626 auto-git:
[change] main.js
2025-05-25 22:34:47 +02:00
9fd99edc12 Add empty line after folderObj processing 2025-05-25 22:34:47 +02:00
5ef4d0e03a Fix typo in debug message formatting 2025-05-25 22:34:47 +02:00
71f41a9cc7 Add condition to run LLM commit rewrite only if needsRelocation is false 2025-05-25 22:29:35 +02:00
9f67d4f95b Remove unnecessary comments in main.js 2025-05-25 22:29:35 +02:00
4205493ace Refactor commit rewrite logic to use folder object 2025-05-25 22:25:07 +02:00
445814aa73 Add folder monitoring for auto-commit 2025-05-25 22:25:07 +02:00
d289554c3a Rename updateMissingFolders to updateFoldersListener and adjust interval 2025-05-25 22:05:01 +02:00
01d211317a Set firstCandidateBirthday when a new LLM candidate is added 2025-05-25 22:05:01 +02:00
6157c544e7 Fix typo in comment for firstCandidateBirthday 2025-05-25 22:05:01 +02:00
26b5cb2856 Add comment to clear firstCandidateBirthday 2025-05-25 22:05:01 +02:00
49bfe0c04f Refactor autoCommit to handle firstCandidateBirthday 2025-05-25 22:02:10 +02:00
991306365a Update folderObj structure in main.js 2025-05-25 22:02:10 +02:00
91ebae3664 Add minutes commit threshold setting 2025-05-25 22:02:10 +02:00
ceffa9ba0a Fix incorrect IPC method calls in preload.js 2025-05-25 21:50:24 +02:00
6647486046 Add IPC handlers for minutes commit threshold 2025-05-25 21:50:24 +02:00
578fdfca1a Add minutesCommitThreshold configuration option 2025-05-25 21:49:35 +02:00
dde9a4d630 Add datetime information to folder object on first commit 2025-05-25 21:49:35 +02:00
2e4f5e95b1 Fix settings.html to handle minutes commit threshold 2025-05-25 21:49:06 +02:00
194dbf336f Fix preload.js to correctly expose minutes commit threshold methods 2025-05-25 21:49:06 +02:00
cf5cae5dde Update preload.js to include minutes commit threshold methods 2025-05-25 21:49:06 +02:00
f28e128e14 Add minutes input to settings.html 2025-05-25 21:49:06 +02:00
cb2cfcbf77 auto-git:
[change] settings.html
2025-05-25 21:47:29 +02:00
a30b217d1b Fix typo in ellapsedMinutesInput variable name in settings.html 2025-05-25 21:47:29 +02:00
0a3cbc49d2 Correct variable name and update input ID in settings.html 2025-05-25 21:47:29 +02:00
b30b4a4909 Add time input for intelligent commit threshold in settings.html 2025-05-25 21:47:29 +02:00
cc12b83b46 Fix label text in settings.html 2025-05-25 21:47:29 +02:00
52a449a782 Refactor and add hack to kill Ollama process on port 11434 in main.js 2025-05-25 20:01:23 +02:00
5396c98f84 auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
f31215540e auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
ec06e63b21 auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
5e303bc1f8 auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
5bebf61330 Add empty line before async function declaration in main.js 2025-05-25 20:01:23 +02:00
38ca777ee4 auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
c739c86eb9 Refactor: Increase port wait loop iterations in main.js 2025-05-25 20:01:23 +02:00
cb02a19d1d auto-git:
[change] main.js
2025-05-25 20:01:23 +02:00
99df9c4570 Fix: Remove unnecessary newline in main.js 2025-05-25 20:01:23 +02:00
3eeedc3e3b Add temporary hack to start Ollama if not running 2025-05-25 19:52:12 +02:00
2a1d3d0224 Remove extra blank lines from animeCat.js 2025-05-25 07:29:28 +02:00
00f68d8074 Add comment to animeCat.js 2025-05-25 07:29:28 +02:00
4226d81476 Comment out unused variables in main.js 2025-05-25 07:29:28 +02:00
95b5672a5e Remove unused test code from main.js 2025-05-25 07:01:35 +02:00
a41f76d2fb Add test comments in main.js 2025-05-25 07:01:23 +02:00
91b3b0e658 auto-git:
[change] main.js
2025-05-25 06:58:18 +02:00
67fea4b6f9 auto-git:
[change] main.js
2025-05-25 06:57:53 +02:00
26613a8560 auto-git:
[change] main.js
2025-05-25 06:57:15 +02:00
193243605c auto-git:
[change] main.js
2025-05-25 06:57:09 +02:00
ef7b26dfba auto-git:
[change] main.js
2025-05-25 06:56:50 +02:00
ea4c977fa9 auto-git:
[change] main.js
2025-05-25 06:56:20 +02:00
57ccf25f95 auto-git:
[change] main.js
2025-05-25 06:55:53 +02:00
dbf638f0af Refactor code by removing unnecessary comments and adjusting line changes handling 2025-05-25 06:53:38 +02:00
5cc5548765 Add multiple comments in main.js 2025-05-25 06:52:28 +02:00
6855a72c81 Add comment in main.js 2025-05-25 06:52:28 +02:00
f8deb4d83b Add exclamation marks to comment indicating potential issue 2025-05-25 06:51:47 +02:00
a576aadbc2 Comment out linesChanged and llmCandidates initialization in createTray 2025-05-25 06:51:47 +02:00
57c6ea2f4b Update lastHeadHash for existing folder 2025-05-25 06:51:47 +02:00
257bb9a9c6 auto-git:
[change] main.js
2025-05-25 06:42:43 +02:00
bd8bca0cee Remove unused code for adding and removing folders in main.js 2025-05-25 06:40:20 +02:00
0b95e5240c Refactor folder addition logic and update IPC handlers 2025-05-25 06:39:20 +02:00
a3c0b5e5b0 Add new function to add folder by path 2025-05-25 06:39:20 +02:00
f2efbb23fa Add drag and drop functionality for folders in renderer.js 2025-05-25 06:33:52 +02:00
967e27d1b9 Refactor drag-and-drop functionality in main.js and renderer.js 2025-05-25 06:12:43 +02:00
4b9545d780 auto-git:
[change] main.js
2025-05-25 06:11:59 +02:00
3eb6fca935 Remove redundant code and simplify folder addition logic in main.js 2025-05-25 06:11:35 +02:00
fbfde5d17e Fix code formatting and minor adjustments in main.js 2025-05-25 06:10:55 +02:00
57ce95541a Refactor folder addition logic and add IPC handlers for adding folders 2025-05-25 06:09:11 +02:00
2d13ed9a25 Add function to initialize Git repository 2025-05-25 06:09:11 +02:00
950640152d auto-git:
[change] main.js
2025-05-25 06:05:08 +02:00
fa5fc95356 Enable monitoring toggle only if folder does not need relocation 2025-05-25 06:04:37 +02:00
6d4e3fbf36 Refactor and enhance folder monitoring logic in main.js 2025-05-25 05:58:46 +02:00
ced0223d55 Update styling for relocation warning symbol in index.html 2025-05-25 05:43:38 +02:00
f8f4a21650 Add relocation warning and disable play/pause button if folder needs relocation 2025-05-25 05:43:11 +02:00
9f53c1e256 auto-git:
[change] renderer.js
2025-05-25 05:39:38 +02:00
205be92f54 auto-git:
[change] preload.js
2025-05-25 05:32:44 +02:00
562748952b Remove duplicate folder update event listener in renderer.js 2025-05-25 05:32:44 +02:00
40ca66b930 Remove redundant renderSidebar call in renderer.js 2025-05-25 05:32:44 +02:00
d4e3284cfd Call renderSidebar on folder update in renderer.js 2025-05-25 05:32:44 +02:00
5f54c9a04a Add folder updated event listener in preload.js 2025-05-25 05:32:44 +02:00
3166c4279c auto-git:
[change] main.js
2025-05-25 05:22:58 +02:00
171c9fbf10 Add check for relocation and existence before commit 2025-05-25 05:22:06 +02:00
2d5abf1feb Add check for relocation and existence before snapshot 2025-05-25 05:22:06 +02:00
b84d469960 Fix return value when folder needs relocation or does not exist during checkout 2025-05-25 05:22:06 +02:00
4c1f4f347e Add check for relocation and existence before checkout 2025-05-25 05:22:06 +02:00
95d359a903 Return null instead of undefined when folder needs relocation or does not exist during revert 2025-05-25 05:20:24 +02:00
3859516fe6 Add check for relocation or non-existent folder before performing diff 2025-05-25 05:20:24 +02:00
9ab8a66cb9 Fix return value when folder needs relocation or does not exist 2025-05-25 05:20:24 +02:00
9cc35b38c7 Add check for relocation or non-existent folder before removing .git directory 2025-05-25 05:20:24 +02:00
aaacaa9e2d Refactor 'has-diffs' handler to check for relocation and file existence 2025-05-25 05:18:00 +02:00
2bd9ecb4b7 Revert unnecessary comment in renderer.js 2025-05-25 05:18:00 +02:00
763817a6ee Add comment to clarify hash comparison logic 2025-05-25 05:18:00 +02:00
337aa63ec3 Refactor folder relocation logic by adding hash verification step 2025-05-25 05:11:26 +02:00
fd4460a665 Implement folder relocation logic with Git validation 2025-05-25 05:08:49 +02:00
0253a5c9d6 Add function to check if repo has a specific commit 2025-05-25 05:08:48 +02:00
d4c83d8df5 Add IPC handler to check if commit exists in any branch of the repository 2025-05-25 05:07:21 +02:00
8d7f1c41d6 Add lastHeadHash to folder object 2025-05-25 05:07:21 +02:00
e51694ed40 Add lastHeadHash to folder object when initializing git repo 2025-05-25 05:06:27 +02:00
884778b7ed Expose 'pick-folder' method in main.js using IPC 2025-05-25 04:51:23 +02:00
c893170cd1 Fix comment in preload.js regarding folder picker exposure 2025-05-25 04:51:23 +02:00
819b1789a2 Add new methods to preload.js for Git repository operations 2025-05-25 04:51:23 +02:00
f11ea9ebb5 Add folder relocation logic in renderer.js 2025-05-25 04:50:33 +02:00
e4dcd636a6 Add IPC handlers for git repository checks and folder relocation 2025-05-25 04:49:20 +02:00
3a98d7c78f auto-git:
[change] renderer.js
2025-05-25 04:35:19 +02:00
8bcfd7a9e6 auto-git:
[change] main.js
2025-05-25 04:34:05 +02:00
c5fa94d5be auto-git:
[change] renderer.js
2025-05-25 04:29:09 +02:00
823f9151bf auto-git:
[change] main.js
2025-05-25 04:28:59 +02:00
f9f9c51b9d auto-git:
[change] main.js
2025-05-25 04:23:52 +02:00
4763b66f6c auto-git:
[change] main.js
2025-05-25 04:05:26 +02:00
76c35efd31 Refactor folder location check and event handling in main.js 2025-05-25 03:57:23 +02:00
47ed7c2133 auto-git:
[change] main.js
2025-05-25 03:41:33 +02:00
345e040467 auto-git:
[change] main.js
2025-05-25 03:32:19 +02:00
81e81002b0 auto-git:
[change] renderer.js
2025-05-25 03:30:26 +02:00
1ef1ab772c Remove unnecessary position property from index.html 2025-05-25 03:25:57 +02:00
77066e90ca auto-git:
[change] index.html
2025-05-25 03:25:57 +02:00
baa1f0c779 Refactor folder relocation logic in renderer.js 2025-05-25 03:25:57 +02:00
687e6fe3dc Add styles for needs-relocation and warning-icon classes in settings.html 2025-05-25 03:13:56 +02:00
49e40a72e3 Update selector for folder location updates in renderer.js 2025-05-25 03:13:43 +02:00
7748282bc4 Add data-folder-id attribute to folder list items in renderer.js 2025-05-25 03:13:43 +02:00
d1d6f7ae98 Add empty lines in renderer.js 2025-05-25 03:13:43 +02:00
c8b8ac8dda Add visual indicator for relocated folders and update commit logic to handle missing folders 2025-05-25 03:01:50 +02:00
d78576056c auto-git:
[change] main.js
2025-05-25 01:46:11 +02:00
1dcf3b645b auto-git:
[change] main.js
2025-05-25 01:45:22 +02:00
dceb38b133 Refactor model selection logic and improve HTML structure in settings.html 2025-05-25 01:39:17 +02:00
d8f0be6268 Remove unused close button and alert in settings.html 2025-05-25 01:39:17 +02:00
b47728d601 auto-git:
[change] settings.html
2025-05-25 01:38:09 +02:00
162f759113 auto-git:
[change] settings.html
2025-05-25 01:37:26 +02:00
2ffe1d25d2 Reorganize and update checkbox labels in settings.html 2025-05-25 01:37:14 +02:00
08f3afea17 auto-git:
[change] settings.html
2025-05-25 01:36:24 +02:00
94bc1ac02f Comment out rollback function in settings.html 2025-05-25 01:36:04 +02:00
ab1ea4b6e7 Remove duplicate alert in settings.html 2025-05-25 01:36:04 +02:00
348b529c2f Add alert in settings.html 2025-05-25 01:36:04 +02:00
3b2c60abd7 Restore and reposition alert in settings.html 2025-05-25 01:34:10 +02:00
b0514db4df Re-add missing alert in settings.html 2025-05-25 01:34:10 +02:00
737bdb210c Remove redundant alert in settings.html 2025-05-25 01:34:10 +02:00
819c6ff5bd Fix duplicate alert in settings.html 2025-05-25 01:34:10 +02:00
e0f63b04e0 auto-git:
[change] settings.html
2025-05-25 01:33:21 +02:00
b97ff6e981 Refactor settings.html to improve layout and functionality 2025-05-25 01:32:44 +02:00
b79e584ac2 auto-git:
[change] settings.html
2025-05-25 01:32:22 +02:00
ffb197404a auto-git:
[change] settings.html
2025-05-25 01:32:06 +02:00
c0a529d37b auto-git:
[change] settings.html
2025-05-25 01:31:52 +02:00
70179f6220 auto-git:
[change] settings.html
2025-05-25 01:31:14 +02:00
4d3c853231 auto-git:
[change] settings.html
2025-05-25 01:30:34 +02:00
61337930d7 auto-git:
[change] main.js
2025-05-25 01:22:15 +02:00
c5f975db8c Update styling and layout in settings.html 2025-05-25 01:21:09 +02:00
a832d83674 Refactor commit message generation options in settings.html 2025-05-25 01:20:58 +02:00
551ebee2cb Add missing background property and correct indentation in settings.html 2025-05-25 01:20:58 +02:00
c1ae1e81b9 Fix typo in background color variable name in settings.html 2025-05-25 01:20:58 +02:00
b7a1962413 Update background color in settings.html 2025-05-25 01:20:58 +02:00
ccca8a32cb Set width of dialog to full container in settings.html 2025-05-25 01:16:12 +02:00
2e32537324 Toggle color property between dialog and body in settings.html 2025-05-25 01:16:12 +02:00
3a89708a96 Revert button padding change to original size in settings.html 2025-05-25 01:16:12 +02:00
65f07e3ff2 Reduce padding for smaller buttons in settings.html 2025-05-25 01:16:12 +02:00
764a2c8720 Adjust padding for buttons in settings.html 2025-05-25 01:16:12 +02:00
11e96eb25c Reduce padding of settings container 2025-05-25 01:13:29 +02:00
eb306f3708 Reduce min-width of input/number select elements 2025-05-25 01:13:29 +02:00
82419c6566 Add margin-right to button container 2025-05-25 01:13:29 +02:00
325e947f17 Adjust min-width of input/number select elements 2025-05-25 01:13:29 +02:00
f0add60077 Remove unused border color from focused input/select elements 2025-05-25 01:13:29 +02:00
123c2c5e36 Update border color for focused input/select elements 2025-05-25 01:13:29 +02:00
a248d7151e Adjust input and select element styles in settings.html 2025-05-25 01:10:42 +02:00
d6de3494f5 Remove unnecessary line break in settings.html 2025-05-25 01:10:42 +02:00
dfb6db5b4a Wrap commit message and README model selectors in a div for better layout 2025-05-25 01:10:13 +02:00
ae96c89a66 Change focus border color in settings.html 2025-05-25 01:08:56 +02:00
127f644835 Update button styling in settings.html 2025-05-25 01:08:56 +02:00
82d176ea1a Add flex layout and button styling to settings.html 2025-05-25 01:05:36 +02:00
4d5943325e Remove entire .action-btn styling block 2025-05-25 01:03:49 +02:00
428468c84d Remove unnecessary border-radius from .action-btn 2025-05-25 01:03:49 +02:00
24b3b558df Add styling for action buttons in settings.html 2025-05-25 01:02:57 +02:00
e8ea230e88 Simplify and consolidate styling for buttons in settings.html 2025-05-25 01:02:36 +02:00
2ed263c368 Adjust spacing in settings.html 2025-05-25 01:02:36 +02:00
70ac7638c7 Refactor button styles and classes in settings.html 2025-05-25 01:01:50 +02:00
99118b4eef Update button styles in settings.html for better consistency and visual appeal 2025-05-25 00:59:45 +02:00
26803ba029 Remove sky-mode specific styles from settings.html 2025-05-25 00:59:45 +02:00
4fb377892d auto-git:
[change] settings.html
2025-05-25 00:57:16 +02:00
77bad8ae94 auto-git:
[change] settings.html
2025-05-25 00:56:41 +02:00
6ada1ff295 auto-git:
[change] settings.html
2025-05-25 00:54:46 +02:00
0e8857bbbc auto-git:
[change] settings.html
2025-05-25 00:54:35 +02:00
f5023acfb8 auto-git:
[change] settings.html
2025-05-25 00:52:53 +02:00
83a88dd619 Update settings.html to include SVG icons for buttons 2025-05-25 00:52:40 +02:00
8ba7ab159b auto-git:
[change] settings.html
2025-05-25 00:50:32 +02:00
93d8a88e7f auto-git:
[change] settings.html
2025-05-25 00:50:22 +02:00
7d5e330009 auto-git:
[change] settings.html
2025-05-25 00:50:15 +02:00
03e75e9b7e auto-git:
[change] settings.html
2025-05-25 00:49:50 +02:00
98123a307d auto-git:
[change] settings.html
2025-05-25 00:47:59 +02:00
bef17c8b37 Add gap to input elements in settings.html 2025-05-25 00:47:42 +02:00
e43bfb8471 Remove gap from checkbox in settings.html 2025-05-25 00:47:42 +02:00
e93bde7ccb Add gap to checkbox in settings.html 2025-05-25 00:47:42 +02:00
aae45d8644 Remove close button styles from settings.html 2025-05-25 00:47:42 +02:00
c7eeb48398 auto-git:
[change] settings.html
2025-05-25 00:45:04 +02:00
3e62173553 auto-git:
[change] settings.html
2025-05-25 00:44:35 +02:00
b9c4edcbd3 auto-git:
[change] settings.html
2025-05-25 00:44:14 +02:00
ab4656a044 auto-git:
[change] settings.html
2025-05-25 00:44:03 +02:00
70a159ff0c auto-git:
[change] settings.html
2025-05-25 00:43:18 +02:00
d240778f15 auto-git:
[change] settings.html
2025-05-25 00:42:57 +02:00
6f6611764b auto-git:
[change] settings.html
2025-05-25 00:38:23 +02:00
168628c336 auto-git:
[change] settings.html
2025-05-25 00:37:25 +02:00
86402dbfa0 auto-git:
[change] settings.html
2025-05-25 00:36:48 +02:00
cb9dd491a6 auto-git:
[change] settings.html
2025-05-25 00:35:40 +02:00
9548b73166 auto-git:
[change] settings.html
2025-05-25 00:29:00 +02:00
a4925c5e5f auto-git:
[change] settings.html
2025-05-25 00:28:57 +02:00
984af1e6fc Refactor settings.html to add CSS variables for theme modes 2025-05-25 00:28:26 +02:00
4db387e9bc Add title and content list sections to index.html 2025-05-25 00:28:26 +02:00
96488d5141 Update settings.html to remove night class 2025-05-25 00:28:26 +02:00
609d9f0da5 auto-git:
[change] settings.html
2025-05-25 00:26:50 +02:00
bef8a84543 auto-git:
[change] settings.html
2025-05-25 00:25:28 +02:00
2535369553 auto-git:
[change] settings.html
2025-05-25 00:21:28 +02:00
365c5e15b7 auto-git:
[change] settings.html
2025-05-25 00:21:00 +02:00
bb0407947d auto-git:
[change] settings.html
2025-05-25 00:20:57 +02:00
cfdc130b0d auto-git:
[change] settings.html
2025-05-25 00:20:18 +02:00
fb26a9265d Update styling and structure of settings.html 2025-05-25 00:19:53 +02:00
4730f7ca07 auto-git:
[change] settings.html
2025-05-25 00:19:33 +02:00
725816b225 auto-git:
[change] settings.html
2025-05-25 00:18:40 +02:00
3473b9ea6e auto-git:
[change] settings.html
2025-05-25 00:18:26 +02:00
9944556a64 auto-git:
[change] settings.html
2025-05-25 00:18:06 +02:00
235d210ce5 auto-git:
[change] settings.html
2025-05-25 00:17:52 +02:00
a65dc1d288 auto-git:
[change] settings.html
2025-05-25 00:17:43 +02:00
53b3a05dc9 auto-git:
[change] settings.html
2025-05-25 00:17:34 +02:00
8f897ae4df auto-git:
[change] settings.html
2025-05-25 00:16:54 +02:00
c7b72fc63f auto-git:
[change] settings.html
2025-05-25 00:16:42 +02:00
fe30f44b1a auto-git:
[change] settings.html
2025-05-25 00:15:58 +02:00
6abff6e706 auto-git:
[change] settings.html
2025-05-25 00:15:27 +02:00
3bd35d21fe auto-git:
[change] settings.html
2025-05-25 00:15:09 +02:00
ec398915bd auto-git:
[change] settings.html
2025-05-25 00:14:54 +02:00
a5c7ff83cd auto-git:
[change] settings.html
2025-05-25 00:14:32 +02:00
7d852a5fa9 auto-git:
[change] settings.html
2025-05-25 00:14:06 +02:00
3aa2e9b240 auto-git:
[change] settings.html
2025-05-25 00:13:58 +02:00
4c15a0282a auto-git:
[change] settings.html
2025-05-25 00:13:50 +02:00
83c92c51ff auto-git:
[change] settings.html
2025-05-25 00:13:21 +02:00
e31210d216 Clean up unused CSS in settings.html 2025-05-25 00:12:31 +02:00
4d21ad6a87 Remove unnecessary class from settings.html 2025-05-25 00:12:31 +02:00
41db62c8cb auto-git:
[change] settings.html
2025-05-25 00:10:40 +02:00
54dd481ce0 auto-git:
[change] settings.html
2025-05-25 00:09:55 +02:00
edfd6a7508 auto-git:
[change] settings.html
2025-05-25 00:07:27 +02:00
211b9f8777 auto-git:
[change] settings.html
2025-05-25 00:05:36 +02:00
4772b1a533 auto-git:
[change] preload.js
2025-05-25 00:05:11 +02:00
599a4bb79c auto-git:
[change] preload.js
2025-05-25 00:05:11 +02:00
2affdbdb5b Refactor autostart handling in main.js 2025-05-25 00:04:57 +02:00
863d5ab497 Refactor main.js to clean up on exit and open dev tools in detached mode 2025-05-25 00:03:44 +02:00
84e133ac10 Refactor settings menu and add autostart/close-to-tray options 2025-05-25 00:02:11 +02:00
d72f661548 auto-git:
[change] main.js
2025-05-24 23:52:46 +02:00
9e2dfdd23f auto-git:
[change] main.js
2025-05-24 23:52:41 +02:00
5d6976b061 auto-git:
[change] main.js
2025-05-24 23:52:31 +02:00
b7f47a2d20 Refactor code formatting in main.js 2025-05-24 23:52:11 +02:00
1f44370949 Refactor tray menu options for monitoring actions 2025-05-24 23:51:46 +02:00
1d4307deb2 Update renderer.js to refresh UI on folder changes 2025-05-24 23:50:41 +02:00
aa7fcc297c auto-git:
[change] main.js
2025-05-24 22:31:40 +02:00
0c9a2452e3 Add tray icon functionality for Auto-Git application 2025-05-24 22:31:11 +02:00
0ca0e9df36 Resize tray icon in main.js 2025-05-24 22:29:56 +02:00
43f95084d6 Remove unused Tailwind CSS files 2025-05-24 22:05:32 +02:00
4089ad5943 auto-git:
[add] tailwind.css
2025-05-24 22:04:29 +02:00
76e53bb177 auto-git:
[add] tailwind.config.js
2025-05-24 22:04:14 +02:00
35c88ebc4e Add autoprefixer, postcss, and tailwindcss to devDependencies 2025-05-24 22:03:44 +02:00
1dba713a65 auto-git:
[change] renderer.js
2025-05-24 22:00:38 +02:00
194e5266b2 Refactor renderer.js to use Electron API methods for tray events 2025-05-24 22:00:38 +02:00
338018e1cd Refactor preload.js to expose tray event listeners 2025-05-24 22:00:38 +02:00
114c5a7f2e auto-git:
[change] renderer.js
2025-05-24 21:58:40 +02:00
0bc31a9ec4 auto-git:
[change] preload.js
2025-05-24 21:54:14 +02:00
07d41b3d78 auto-git:
[change] renderer.js
2025-05-24 21:51:43 +02:00
2ff333d211 auto-git:
[change] main.js
2025-05-24 21:50:51 +02:00
bf21220988 auto-git:
[change] main.js
2025-05-24 21:46:40 +02:00
13d82878a0 auto-git:
[change] main.js
2025-05-24 21:46:32 +02:00
a21b28923f Update tray icon path and refactor tray menu construction 2025-05-24 21:42:57 +02:00
d91c87c470 Add Electron IPC event handlers for tray menu interactions 2025-05-24 21:39:36 +02:00
cf33222370 Refactor main.js to include tray functionality 2025-05-24 21:38:39 +02:00
653e74f843 Add tray icon 2025-05-24 21:38:39 +02:00
47f300b5cc Remove commented-out code from main.js 2025-05-24 21:31:45 +02:00
6ea985c377 Add autocommit test in main.js 2025-05-24 21:31:25 +02:00
72480d0eca auto-git:
[change] main.js
2025-05-24 21:28:02 +02:00
cb6b51c52f Update model prompts and simplify logic in main.js 2025-05-24 21:27:48 +02:00
220fa0eb54 Refactor commit message handling and add short hash support 2025-05-24 21:27:17 +02:00
09cd5bbdb5 auto-git:
[change] main.js
2025-05-24 21:15:36 +02:00
0139197429 auto-git:
[change] main.js
2025-05-24 21:12:08 +02:00
ee63928570 Remove setSkipPrompt function call from ok button click event listener in settings.html 2025-05-24 21:10:52 +02:00
061a8785be Add comments to setSkyMode function in settings.html 2025-05-24 21:10:52 +02:00
441ac67c9d Remove alert('OK gedrückt'); from settings.html 2025-05-24 21:10:52 +02:00
ea859d216c Remove commented-out code and refactor comments in main.js 2025-05-24 21:09:27 +02:00
980e4b8b69 Further add placeholder comments in main.js 2025-05-24 21:08:53 +02:00
d049746b73 Add placeholder comments in main.js 2025-05-24 21:08:53 +02:00
1e03822cd6 auto-git:
[change] main.js
2025-05-24 21:08:24 +02:00
125ce72a55 auto-git:
[change] settings.html
2025-05-24 21:04:50 +02:00
48955b7f29 auto-git:
[change] settings.html
2025-05-24 21:04:17 +02:00
c41964b940 auto-git:
[change] main.js
2025-05-24 21:03:31 +02:00
6d98dd602e Refactor and optimize settings.html styles 2025-05-24 21:02:02 +02:00
bc8b9f3ab4 Refactor and enhance settings.html with new styles and features 2025-05-24 20:58:01 +02:00
2347d477ae Remove threshold live save functionality in settings.html 2025-05-24 20:58:01 +02:00
dc0cda88f3 auto-git:
[change] preload.js
2025-05-24 20:49:49 +02:00
02b26d62ad auto-git:
[change] settings.html
2025-05-24 20:49:31 +02:00
84b6c0bfdf auto-git:
[change] settings.html
2025-05-24 20:49:18 +02:00
f3e3b40a3e auto-git:
[change] settings.html
2025-05-24 20:49:03 +02:00
a6fdbc5680 auto-git:
[change] preload.js
2025-05-24 20:48:48 +02:00
e761aea7e7 auto-git:
[change] settings.html
2025-05-24 20:47:57 +02:00
d517f6ba99 auto-git:
[change] settings.html
2025-05-24 20:47:47 +02:00
27230085df auto-git:
[change] settings.html
2025-05-24 20:47:36 +02:00
9984e514e0 auto-git:
[change] settings.html
2025-05-24 20:47:19 +02:00
abdebb6deb auto-git:
[change] settings.html
2025-05-24 20:47:15 +02:00
0d053e8379 auto-git:
[change] settings.html
2025-05-24 20:46:49 +02:00
354d7e0156 auto-git:
[change] settings.html
2025-05-24 20:46:44 +02:00
b4bdef0908 auto-git:
[change] settings.html
2025-05-24 20:46:31 +02:00
d495f553b3 auto-git:
[change] settings.html
2025-05-24 20:46:19 +02:00
9503164738 auto-git:
[change] settings.html
2025-05-24 20:46:06 +02:00
3a20d22b80 auto-git:
[change] main.js
 [change] preload.js
 [change] settings.html
2025-05-24 20:44:27 +02:00
0950bb3216 auto-git:
[change] main.js
2025-05-24 20:42:24 +02:00
c78c4268ca auto-git:
[change] main.js
2025-05-24 20:42:21 +02:00
8253b227f2 auto-git:
[change] main.js
2025-05-24 20:42:07 +02:00
bb8648f1c4 auto-git:
[change] settings.html
2025-05-24 20:40:55 +02:00
d5bdffda70 auto-git:
[change] settings.html
2025-05-24 20:40:29 +02:00
ed52ba94c6 auto-git:
[change] settings.html
2025-05-24 20:39:59 +02:00
abd7eed440 Save commit threshold and model selections in settings.html 2025-05-24 20:38:06 +02:00
21856d702f Add get/set handlers for commit and README models in main.js 2025-05-24 20:38:06 +02:00
850edb0460 Improve error handling and JSON parsing in ollama-list IPC handler, update settings.html 2025-05-24 20:38:06 +02:00
596907ab23 Refactor settings.html to handle Ollama CLI errors and improve model selection 2025-05-24 20:29:03 +02:00
0b28eecb3f Enhance error handling and model parsing in ollama-list IPC handler 2025-05-24 20:29:03 +02:00
8bd5471d73 Remove unnecessary blank lines and ensure newline at end of preload.js 2025-05-24 20:25:26 +02:00
754a4d4808 Restore original structure in preload.js 2025-05-24 20:25:26 +02:00
7c9ccd5485 Remove unnecessary blank lines in preload.js 2025-05-24 20:25:26 +02:00
0f2b5d5325 Clean up extra lines in preload.js 2025-05-24 20:25:26 +02:00
e000828313 Expose Ollama functions in preload.js 2025-05-24 20:25:26 +02:00
d42e3f4ba8 Move Ollama model selector in settings.html 2025-05-24 20:25:26 +02:00
77bb30337d Add Ollama model selection to settings.html 2025-05-24 20:25:26 +02:00
1eda35e334 Add Ollama list and pull handlers in main.js 2025-05-24 20:25:26 +02:00
b6b2d9af13 Remove comment in renderer.js 2025-05-24 20:25:26 +02:00
ef87c5bf57 Add comment in renderer.js 2025-05-24 20:25:26 +02:00
0e2b8dfa2b auto-git:
[change] renderer.js
2025-05-24 20:01:14 +02:00
edf314e964 auto-git:
[change] renderer.js
2025-05-24 19:56:15 +02:00
89d4e97c09 auto-git:
[change] renderer.js
2025-05-24 19:55:56 +02:00
20d7fdb7e3 auto-git:
[change] renderer.js
2025-05-24 19:55:20 +02:00
c638b4dfa9 auto-git:
[change] index.html
2025-05-24 19:54:22 +02:00
4cac7eba28 auto-git:
[change] index.html
2025-05-24 19:54:06 +02:00
a7a91af9a0 auto-git:
[change] settings.html
2025-05-24 19:52:21 +02:00
13599c95e2 auto-git:
[change] settings.html
2025-05-24 19:50:23 +02:00
779f921e49 auto-git:
[change] settings.html
2025-05-24 19:49:54 +02:00
33362613a5 auto-git:
[change] settings.html
2025-05-24 19:49:19 +02:00
0863bea921 auto-git:
[change] main.js
2025-05-24 19:44:31 +02:00
78afce38ae auto-git:
[change] main.js
2025-05-24 19:42:31 +02:00
9899c18c36 Document build script to avoid regressions 2025-05-24 19:34:10 +02:00
fe6f042bdc Revert configuration for consistency 2025-05-24 19:34:10 +02:00
699b7b0c31 Refactor test suite for better performance 2025-05-24 19:34:10 +02:00
edbf735d50 Add error handling to avoid regressions 2025-05-24 19:23:44 +02:00
ca8d1c837b Fix logging to avoid regressions 2025-05-24 19:23:29 +02:00
5a74d235ce Update test suite as per spec 2025-05-24 19:23:08 +02:00
a9b8e60f3c Revert error handling to fix typo 2025-05-24 19:23:04 +02:00
81a6756c01 Revert dependencies to improve readability 2025-05-24 19:23:04 +02:00
c67106b9c2 Fix error handling for better performance 2025-05-24 19:23:04 +02:00
06776628f1 Revert README for consistency 2025-05-24 19:19:22 +02:00
5333b08b4d auto-git:
[change] main.js
2025-05-24 15:13:51 +02:00
b013f6d5ce auto-git:
[change] main.js
2025-05-24 15:13:50 +02:00
3dd703cca9 auto-git:
[change] main.js
2025-05-24 15:13:48 +02:00
a5b15ba33f auto-git:
[change] main.js
2025-05-24 15:13:45 +02:00
162ef35de1 auto-git:
[change] main.js
2025-05-24 15:13:44 +02:00
f35f06d359 auto-git:
[change] main.js
2025-05-24 15:13:39 +02:00
99a603655e auto-git:
[change] main.js
2025-05-24 15:13:37 +02:00
b4c4cd3ce6 auto-git:
[change] main.js
2025-05-24 15:13:28 +02:00
22e4c2afee auto-git:
[change] main.js
2025-05-24 15:09:18 +02:00
c4629c3755 auto-git:
[change] main.js
2025-05-24 15:09:16 +02:00
b15d541bae auto-git:
[change] main.js
2025-05-24 15:09:13 +02:00
879c1603e2 auto-git:
[change] main.js
2025-05-24 15:09:11 +02:00
4923d4bc8a auto-git:
[change] main.js
2025-05-24 15:09:10 +02:00
1c67c1a3dd auto-git:
[change] main.js
2025-05-24 15:09:08 +02:00
b3e05bcc39 auto-git:
[change] main.js
2025-05-24 15:08:20 +02:00
89830b2e78 auto-git:
[change] main.js
2025-05-24 15:07:33 +02:00
d50e535913 auto-git:
[change] main.js
2025-05-24 15:07:29 +02:00
3e96ddca3a auto-git:
[change] main.js
2025-05-24 15:07:27 +02:00
5979b922e7 auto-git:
[change] main.js
2025-05-24 15:07:25 +02:00
fd370d81b8 auto-git:
[change] main.js
2025-05-24 15:07:23 +02:00
f9f4f0f22a auto-git:
[change] main.js
2025-05-24 15:07:21 +02:00
9db554760a auto-git:
[change] main.js
2025-05-24 15:07:19 +02:00
75e82b7558 auto-git:
[change] main.js
2025-05-24 15:06:29 +02:00
0cedc6bd56 auto-git:
[change] main.js
2025-05-24 15:06:19 +02:00
2a2f1523c1 auto-git:
[change] main.js
2025-05-24 15:06:18 +02:00
93fd9adb54 auto-git:
[change] main.js
2025-05-24 15:06:17 +02:00
4185cef43c auto-git:
[change] main.js
2025-05-24 15:06:09 +02:00
dcdbdc717e auto-git:
[change] main.js
2025-05-24 15:05:14 +02:00
5861cc2659 auto-git:
[change] main.js
2025-05-24 15:05:11 +02:00
40dcc00e3b auto-git:
[change] main.js
2025-05-24 15:05:10 +02:00
0e379c8485 auto-git:
[change] main.js
2025-05-24 15:05:07 +02:00
cd23e41001 auto-git:
[change] main.js
2025-05-24 15:05:05 +02:00
74b867a03b auto-git:
[change] main.js
2025-05-24 15:05:03 +02:00
f14d8a3d7e auto-git:
[change] main.js
2025-05-24 15:05:02 +02:00
4fe1a2278a auto-git:
[change] main.js
2025-05-24 15:04:55 +02:00
ffc259f5bf Add initial Electron setup and Auto-Git functionality 2025-05-24 15:04:41 +02:00
24b4a8e6f0 auto-git:
[change] main.js
2025-05-24 15:04:04 +02:00
cc96dd3d14 Removed main.js content 2025-05-24 15:03:40 +02:00
af08fcfcef Refactored folder monitoring logic and added intelligent commit functionality 2025-05-24 15:02:29 +02:00
d204ab1a54 auto-git:
[change] main.js
2025-05-24 15:00:39 +02:00
8702240615 auto-git:
[change] main.js
2025-05-24 14:59:29 +02:00
7ec70c6cfd auto-git:
[change] main.js
2025-05-24 14:59:05 +02:00
2257897092 auto-git:
[change] main.js
2025-05-24 14:57:19 +02:00
07258856e4 auto-git:
[change] main.js
2025-05-24 14:56:37 +02:00
7e2fecc032 auto-git:
[change] main.js
2025-05-24 14:53:06 +02:00
11e3dd1425 auto-git:
[change] main.js
2025-05-24 14:53:02 +02:00
f2dd1a039e auto-git:
[change] main.js
2025-05-24 14:52:59 +02:00
3572377dda auto-git:
[change] main.js
2025-05-24 14:52:58 +02:00
72f6d2b514 auto-git:
[change] main.js
2025-05-24 14:52:54 +02:00
43f25591ed auto-git:
[change] main.js
2025-05-24 14:52:52 +02:00
372aae08db auto-git:
[change] main.js
2025-05-24 14:52:47 +02:00
70bec1d806 auto-git:
[change] main.js
2025-05-24 14:52:45 +02:00
c4b2905823 Refactor and clean up IPC handlers for folder management and monitoring functionalities. 2025-05-24 14:51:29 +02:00
6801df61f9 auto-git:
[change] main.js
2025-05-24 14:50:18 +02:00
cc0748d9e4 auto-git:
[change] main.js
2025-05-24 14:50:03 +02:00
3c58583b29 auto-git:
[change] main.js
2025-05-24 14:49:35 +02:00
d0829f8c33 auto-git:
[change] main.js
2025-05-24 14:48:58 +02:00
6e1ee7efde auto-git:
[change] main.js
2025-05-24 14:48:38 +02:00
92d0de8205 auto-git:
[change] main.js
2025-05-24 14:48:14 +02:00
ca82c5ad1f auto-git:
[change] main.js
2025-05-24 14:33:14 +02:00
30d8171455 auto-git:
[change] main.js
2025-05-24 14:29:50 +02:00
62da5899de auto-git:
[change] main.js
2025-05-24 14:27:33 +02:00
074af00d8b auto-git:
[change] main.js
2025-05-24 14:25:17 +02:00
b3ba3d55ee auto-git:
[change] main.js
2025-05-24 14:24:17 +02:00
2448be3f33 auto-git:
[change] main.js
2025-05-24 14:22:32 +02:00
e71145e7a8 auto-git:
[change] main.js
2025-05-24 14:21:48 +02:00
760bbee6a2 auto-git:
[change] main.js
2025-05-24 14:21:19 +02:00
7cb578b406 auto-git:
[change] main.js
2025-05-24 14:19:06 +02:00
c6fc182198 auto-git:
[change] main.js
2025-05-24 14:18:35 +02:00
a7dfb2b0ea auto-git:
[change] main.js
2025-05-24 14:18:03 +02:00
0e8aec9713 auto-git:
[change] main.js
2025-05-24 14:16:52 +02:00
31b0b2b233 auto-git:
[change] main.js
2025-05-24 14:16:25 +02:00
c6ee27c50a auto-git:
[change] main.js
2025-05-24 14:16:15 +02:00
13aaa35a31 auto-git:
[change] main.js
2025-05-24 14:15:31 +02:00
8930745fde auto-git:
[change] main.js
2025-05-24 14:06:33 +02:00
5768b5f959 auto-git:
[change] main.js
2025-05-24 14:05:33 +02:00
60147d16da Add LLM commit message rewrite functionality and update package.json 2025-05-24 11:29:16 +02:00
f14b387627 auto-git:
[change] main.js
2025-05-24 09:36:35 +02:00
ecd043d94c auto-git:
[change] index.html
 [change] main.js
 [change] preload.js
 [change] renderer.js
 [change] settings.html
2025-05-24 08:46:46 +02:00
d6eacb4541 auto-git:
[change] index.html
2025-05-24 06:32:08 +02:00
db000ea5f7 auto-git:
[change] index.html
2025-05-24 06:31:50 +02:00
f8e1944cf8 auto-git:
[change] index.html
2025-05-24 06:31:44 +02:00
bf3297a264 auto-git:
[change] index.html
2025-05-24 06:31:31 +02:00
add869d0e3 auto-git:
[change] index.html
2025-05-24 06:31:25 +02:00
9ae4f066ad auto-git:
[change] index.html
2025-05-24 06:31:13 +02:00
a6f9c176c6 auto-git:
[change] index.html
2025-05-24 06:30:45 +02:00
fb84cd681f auto-git:
[change] renderer.js
2025-05-24 06:29:44 +02:00
4d264fa4f3 auto-git:
[change] renderer.js
2025-05-24 06:28:51 +02:00
2e8e0799a9 auto-git:
[change] renderer.js
2025-05-24 06:28:36 +02:00
b81106a32c auto-git:
[change] renderer.js
2025-05-24 06:28:15 +02:00
d5ec3dcf22 auto-git:
[change] renderer.js
2025-05-24 06:27:36 +02:00
15ade6fbed auto-git:
[change] renderer.js
2025-05-24 06:27:11 +02:00
eb3c18d475 auto-git:
[change] renderer.js
2025-05-24 06:26:50 +02:00
70ea4ba2d7 auto-git:
[change] renderer.js
2025-05-24 06:26:42 +02:00
b289f2f4f9 auto-git:
[change] renderer.js
2025-05-24 06:26:37 +02:00
820bf92eca auto-git:
[change] renderer.js
2025-05-24 06:26:25 +02:00
06e95185ee auto-git:
[change] renderer.js
2025-05-24 06:26:02 +02:00
5e03416752 auto-git:
[change] index.html
2025-05-24 06:17:26 +02:00
6192861a4a auto-git:
[change] main.js
2025-05-24 06:15:10 +02:00
eb2b7e0bf3 auto-git:
[change] renderer.js
2025-05-24 06:14:50 +02:00
bd4fc3aa62 auto-git:
[change] index.html
2025-05-24 06:06:48 +02:00
0efa05f546 auto-git:
[change] renderer.js
2025-05-24 06:06:10 +02:00
abc1ba77b3 auto-git:
[change] main.js
 [change] preload.js
 [change] renderer.js
2025-05-24 06:05:52 +02:00
18ba00205d auto-git:
[change] settings.html
2025-05-24 05:50:40 +02:00
e5add84869 auto-git:
[change] settings.html
2025-05-24 05:50:37 +02:00
7f0f73fade auto-git:
[change] settings.html
2025-05-24 05:50:18 +02:00
aee6eb5e70 auto-git:
[change] index.html
2025-05-24 05:48:56 +02:00
15a0b705a0 auto-git:
[change] index.html
2025-05-24 05:48:48 +02:00
2bd2fdf5ac auto-git:
[change] index.html
2025-05-24 05:47:37 +02:00
a40665a264 auto-git:
[change] main.js
2025-05-24 05:43:23 +02:00
42077ef949 auto-git:
[change] main.js
2025-05-24 05:40:49 +02:00
9f15da7f24 auto-git:
[change] main.js
2025-05-24 00:00:06 +02:00
cb3f35bd21 auto-git:
[change] main.js
2025-05-23 23:59:47 +02:00
4c506aab34 auto-git:
[unlink] README.md
2025-05-23 23:58:00 +02:00
02f7c16935 auto-git:
[change] renderer.js
2025-05-23 23:53:03 +02:00
378f286758 auto-git:
[change] renderer.js
2025-05-23 23:49:11 +02:00
2abd177390 auto-git:
[change] renderer.js
2025-05-23 23:49:01 +02:00
1e844a56e5 auto-git:
[change] renderer.js
2025-05-23 23:48:26 +02:00
a0546beef3 auto-git:
[change] renderer.js
2025-05-23 23:48:15 +02:00
29cc0fcc1a auto-git:
[change] renderer.js
2025-05-23 23:48:13 +02:00
c46175c81a auto-git:
[change] renderer.js
2025-05-23 23:48:08 +02:00
487aa49e60 auto-git:
[change] renderer.js
2025-05-23 23:47:57 +02:00
80ae948e54 auto-git:
[change] renderer.js
2025-05-23 23:47:44 +02:00
c3e8d99171 auto-git:
[change] renderer.js
2025-05-23 23:47:30 +02:00
0d219183ad auto-git:
[change] renderer.js
2025-05-23 23:46:38 +02:00
04a802d47b auto-git:
[change] renderer.js
2025-05-23 23:44:45 +02:00
60466877f6 auto-git:
[change] renderer.js
2025-05-23 23:44:05 +02:00
e7316d6e11 auto-git:
[change] renderer.js
2025-05-23 23:43:59 +02:00
05a4c7b0bd auto-git:
[change] renderer.js
2025-05-23 23:40:10 +02:00
2d7c08ba5a auto-git:
[change] renderer.js
2025-05-23 23:38:57 +02:00
7a4e945d72 auto-git:
[change] renderer.js
2025-05-23 23:38:44 +02:00
fdbd3d08d3 auto-git:
[change] renderer.js
2025-05-23 23:38:37 +02:00
f5693fb8de auto-git:
[change] renderer.js
2025-05-23 23:38:15 +02:00
9c39cbd612 auto-git:
[change] main.js
2025-05-23 23:34:26 +02:00
479c2e1457 auto-git:
[change] main.js
2025-05-23 23:34:06 +02:00
d69b17a76d auto-git:
[change] main.js
2025-05-23 23:33:55 +02:00
6615e13c9b auto-git:
[change] main.js
2025-05-23 23:32:47 +02:00
79ac51f8ff auto-git:
[change] main.js
2025-05-23 23:29:11 +02:00
07b97d3bac auto-git:
[change] main.js
2025-05-23 23:29:03 +02:00
c3a3a74962 auto-git:
[change] main.js
2025-05-23 23:23:49 +02:00
99a12afc43 auto-git:
[change] main.js
2025-05-23 23:23:34 +02:00
02f418753c auto-git:
[change] main.js
2025-05-23 23:23:21 +02:00
55eca1dbaf auto-git:
[change] main.js
2025-05-23 23:23:10 +02:00
09f09ad3da auto-git:
[change] main.js
2025-05-23 23:20:44 +02:00
ddf97f2b6b auto-git:
[change] main.js
2025-05-23 23:20:22 +02:00
18585d4858 auto-git:
[change] main.js
2025-05-23 23:15:04 +02:00
566070caa1 auto-git:
[change] main.js
2025-05-23 23:14:54 +02:00
74645537e6 auto-git:
[change] main.js
2025-05-23 23:14:23 +02:00
6becab39fa auto-git:
[change] main.js
2025-05-23 23:14:21 +02:00
59bcd94605 [auto]
[change] main.js
2025-05-23 23:14:14 +02:00
790ceb3386 [auto]
[change] main.js
2025-05-23 23:14:12 +02:00
76da58bd21 [auto]
[unlink] animeCat Kopie 2.js
 [unlink] animeCat Kopie.js
2025-05-23 23:13:18 +02:00
bc3b12850c [auto]
[change] main.js
2025-05-23 23:13:02 +02:00
60c6da953f [auto]
[add] animeCat Kopie 2.js
2025-05-23 23:12:45 +02:00
66a89dee68 [auto]
[add] animeCat Kopie.js
2025-05-23 23:12:39 +02:00
1c4423a0b6 [auto]
[change] main.js
2025-05-23 23:12:31 +02:00
53fe412618 [auto] initial monitor:
[change] main.js
2025-05-23 23:12:12 +02:00
cb87dd71ff [auto]
[change] main.js
2025-05-23 23:12:04 +02:00
d1997624f6 [auto]
[change] main.js
2025-05-23 23:12:00 +02:00
bdbf3ee562 [change] main.js 2025-05-23 23:11:51 +02:00
f6110a802e [unlink] test.js 2025-05-23 23:05:24 +02:00
35c192a1e9 add test.js
unlink animeCat.js
2025-05-23 23:05:16 +02:00
25e9be5219 [change] main.js 2025-05-23 23:01:12 +02:00
21014fad4f [change] main.js 2025-05-23 23:00:56 +02:00
3a9b0a6a6d [change] main.js 2025-05-23 23:00:53 +02:00
f20e0d2010 [auto] change main.js 2025-05-23 23:00:45 +02:00
c5e6a6d299 [auto] unlink schlischla.js 2025-05-23 22:59:33 +02:00
b510b3cfcd [auto] [add] schlischla.js
[delete] animeCat.js
2025-05-23 22:59:03 +02:00
9c67cafd53 [auto] unlink schlischla.js 2025-05-23 22:58:43 +02:00
cea6c2bfc5 [auto] unlink animeCat.js 2025-05-23 22:58:34 +02:00
af9b5655b9 [auto] change main.js 2025-05-23 22:58:22 +02:00
dcee3094a1 [auto] change main.js 2025-05-23 22:58:17 +02:00
7fd2d4effd [auto] change main.js 2025-05-23 22:58:09 +02:00
b2b164ca46 [auto] unlink animeCat Kopie.js 2025-05-23 22:57:58 +02:00
14b2746754 [auto] add animeCat Kopie.js 2025-05-23 22:57:53 +02:00
698f5585e5 [auto] change main.js 2025-05-23 22:57:48 +02:00
14ece8580b [auto] change main.js 2025-05-23 22:57:35 +02:00
85b9cfe067 [auto] change main.js 2025-05-23 22:57:27 +02:00
8ebda93701 [auto] - [modify] main.js 2025-05-23 22:56:01 +02:00
8208b5e095 [auto] change main.js 2025-05-23 22:55:48 +02:00
3c9d7f82b9 [auto] initial monitor:
- [modify] main.js
2025-05-23 22:55:26 +02:00
464a153b48 [auto] change main.js 2025-05-23 22:55:16 +02:00
db136fcd5e [auto] change main.js 2025-05-23 22:55:05 +02:00
cb0e6267cb [auto] change main.js 2025-05-23 22:52:09 +02:00
7ae3ce111b [auto] startup 2025-05-23 22:52:05 +02:00
89cebfe37f [auto] change main.js 2025-05-23 22:51:57 +02:00
8f5a9860a4 [auto] change main.js 2025-05-23 22:50:08 +02:00
972c7365bb [auto] startup 2025-05-23 22:49:53 +02:00
550e032aba [auto] change main.js 2025-05-23 22:49:42 +02:00
d9e51d9821 [auto] change main.js 2025-05-23 22:48:32 +02:00
b9cb27f8a4 [auto] initial commit upon monitoring start 2025-05-23 22:47:36 +02:00
3634920fde [auto] change main.js 2025-05-23 22:47:20 +02:00
4806ec0b69 [auto] change main.js 2025-05-23 22:45:35 +02:00
64e23d0029 [auto] initial commit upon monitoring start 2025-05-23 22:45:25 +02:00
f448132521 [auto] change main.js 2025-05-23 22:44:47 +02:00
b41740568b test 2025-05-23 22:42:01 +02:00
28 changed files with 14362 additions and 848 deletions

25
.gitignore vendored
View File

@@ -1,3 +1,26 @@
node_modules
package-lock.json
dist
dist/
dist-tauri
src-tauri/target
src-tauri/gen
dist.DS_Store
.git
.gitignore
.DS_Store
*.iml
yarn.lock
*.lock
!src-tauri/Cargo.lock
Makefile
*.exe
tsconfig.tsbuildinfo
*.dll
*.pdb
*.py[cod]
*.dylib
*.o
build
out
*.tmp
*.app

139
README.md
View File

@@ -1 +1,138 @@
# Projekt in auto-git-gui-initial
# Auto-Git
**Author:** Victor Giers
> ⚠️ **This README.md has been automatically generated using AI and might contain hallucinations or inaccuracies. Please proceed with caution!**
Auto-Git is a unique and interactive desktop application designed to help you manage your Git repositories with ease. It features a playful cat mascot that guides you through various Git operations, making the process more engaging and user-friendly.
---
## Features
- **Interactive Cat Mascot**: A cute cat character that provides feedback and assistance during Git operations.
- **Intelligent Committing**: Set thresholds for automatic committing based on file changes or time intervals.
- **README Generation**: Automatically generate `README.md` files for your repositories using AI models.
- **Folder Management**: Easily add, remove, and select Git folders to monitor.
- **Commit History**: View commit history with detailed diffs and options to revert or checkout commits.
- **Push to Gitea**: Push your commits directly to a Gitea server with ease.
- **Customizable Settings**: Adjust various settings such as sky mode, autostart, and commit thresholds.
---
## Prerequisites
Before installing Auto-Git, ensure that both **Git** and **Ollama** are installed and available in your system’s PATH:
1. **Git**
- Download and install from [https://git-scm.com/downloads](https://git-scm.com/downloads)
- Verify with:
```bash
git --version
```
2. **Ollama**
- Download and install from [https://ollama.com](https://ollama.com)
- Verify with:
```bash
ollama --version
```
---
## Installation
Download the latest release for your platform:
- **macOS (arm64)**
[Auto-Git 1.0.0 (macOS arm64).dmg](https://victorgiers.com/auto-git/Auto-Git-1.0.0-macOS-arm64.dmg)
- **Windows (x64)**
[Auto-Git 1.0.0 (Setup Windows x64).exe](https://victorgiers.com/auto-git/Auto-Git-1.0.0-Setup-Windows-x64.exe)
- **Windows (ARM64)**
[Auto-Git 1.0.0 (Setup Windows ARM64).exe](https://victorgiers.com/auto-git/Auto-Git-1.0.0-Setup-Windows-ARM64.exe)
*(Linux builds coming soon.)*
1. Download the appropriate installer for your system.
2. Run the installer and follow the on-screen instructions.
3. Launch **Auto-Git** from your applications menu (macOS) or Start menu (Windows).
---
## Usage
1. **Add a Folder**
- Click on **“Add Folder”** to select and add a Git repository to Auto-Git.
2. **Monitor Folders**
- Select a folder in the sidebar to monitor its changes and view commit history.
3. **Commit Changes**
- Auto-Git will automatically commit changes when thresholds are reached, or you can manually commit with a custom message.
4. **Generate README**
- Use the built-in AI integration to generate or update a `README.md` for any monitored repository.
5. **Push to Gitea**
- Configure your Gitea API key in **Settings**, then push commits directly from Auto-Git.
### Git safety behavior
- Starting monitoring establishes a baseline; changes that already existed are left untouched.
- Monitoring commits only paths reported by filesystem events. It never stages the whole repository.
- Build output and dependency folders such as `node_modules`, `dist-tauri`, and `src-tauri/target` are always excluded.
- Auto-Git refuses to commit when the index already contains staged work or when Git is rebasing, merging, resolving conflicts, or using a detached HEAD.
- Threshold- and timer-based commit-message rewrites rebuild commit objects directly without checkout, rebase, hooks, signing, or staging. Every rewritten and descendant commit is checked for identical tree, topology, metadata, and the expected message before the guarded branch compare-and-swap. They do not retain a duplicate history ref. The Reword button preference affects only that button, not scheduled rewrites.
- Commit history follows local branches, so **Jump Here** can navigate backward and forward while `HEAD` is detached. Jumping to a commit that is the unique tip of a local branch reattaches that branch.
- Starting monitoring reconciles Git changes already present in the working tree, including changes made while monitoring was paused, and commits only those reported paths through the normal guarded monitoring pipeline.
- Adding any folder immediately enables monitoring in the UI. Existing Git repositories start their watcher at once; non-repositories stay armed and attach the watcher automatically when **Init Repo** completes, without another Play click.
- Automatic commit-message rewriting performs all Git safety checks before contacting Ollama, bounds diffs to the configured model context, requests an exact JSON schema, and stops after the first failed automatic attempt instead of retrying on each scheduler tick.
- **Rewrite all** is shown whenever the current HEAD history contains paw-marked commits and rewrites all of them in one manually initiated model request and one transactional history update.
- Every automatic candidate batch receives a persisted one-shot identifier before its model request. The same batch can never be sent automatically again, including after a failure or app restart.
- Reword, paw retry, and Rewrite all run their Git preflight synchronously. Dirty, staged, and untracked working changes are preserved because message rewriting never touches the worktree or index. Conflicts, detached HEAD, and in-progress Git operations return an immediate UI error and start no model request.
- Automatic stashing, forced checkout, rebase abort, and hard-reset recovery are not used by monitoring or commit-message rewriting.
- Commit squashing is temporarily disabled until it uses an equivalently isolated transactional mechanism.
---
## Settings
- **Sky Mode**:
Toggle between light and dynamic themes that adjust color to the current sky color in your area.
- **Autostart**:
Enable or disable Auto-Git to start automatically on system boot.
- **Close to Tray**:
Minimize Auto-Git to the system tray instead of closing it completely.
- **Intelligent Commit Thresholds**:
Set file change or time-based thresholds for automatic commits.
- **AI Model Selection**:
- Default for commit message inference: `qwen2.5-coder:7b`
- Default for README generation: `qwen2.5-coder:32b`
- **Gitea API Key**:
Enter your Gitea API token to push repositories online with one click.
---
## Build from Source
If you want to build Auto-Git yourself, follow these steps:
1. Clone or download the repository to your local machine.
2. Install Node.js, npm, Rust, and the Tauri prerequisites for your operating system.
3. Open a terminal, navigate into the project folder, and run:
```bash
npm install
```
4. Run the app in development mode:
```bash
npm start
```
5. Build the Tauri distributables:
```bash
npm run dist
```
6. The output installers/packages will be located under `src-tauri/target/release/bundle/`.
---
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.

View File

@@ -1,5 +1,4 @@
// animeCat.js
export class AnimeCat {
window.AnimeCat = class AnimeCat {
/**
* @param {HTMLElement} container
* @param {Object} [options]
@@ -9,76 +8,268 @@ export class AnimeCat {
this.images = Object.assign({
default: 'default.png',
eyesClosed: 'eyes_closed.png',
mouthOpen: 'mouth_open.png'
blink: 'blink.png',
mouthOpen: 'mouth_open.png',
joy: 'joy.png',
mischievous: 'mischievous.png'
}, options.images);
this.blinkMin = options.blinkMin ?? 5000;
this.blinkMax = options.blinkMax ?? 15000;
this.blinkDuration = options.blinkDuration?? 175;
this.talkInterval = options.talkInterval ?? 300;
this.blinkMin = options.blinkMin ?? 5000;
this.blinkMax = options.blinkMax ?? 15000;
this.blinkDuration = options.blinkDuration ?? 175;
this.talkInterval = options.talkInterval ?? 300;
this._consolationCount = 0;
this._isSpeaking = false;
this._blinkTimeout = null;
this._talkIntervalId = null;
this._speechTimeout = null;
this._bubbleHideTimeout = null;
this._mouthOpen = false;
this._pettingActive = false;
this._createElements();
this._bindMouseHold();
this._startBlinking();
this._startGlowWobble();
}
_createElements() {
// Der Slot selbst soll nichts blockieren – nur die Katze bleibt klickbar
this.container.style.pointerEvents = 'none';
// Outer Wrapper für Flex-Layout
this.wrapper = document.createElement('div');
this.wrapper.style.position = 'relative';
this.wrapper.style.display = 'inline-block';
// cat image
this.img = document.createElement('img');
this.img.src = this.images.default;
// disable drag & selection
this.img.draggable = false;
this.img.style.userSelect = 'none';
this.img.style.webkitUserSelect = 'none';
this.img.style.MozUserSelect = 'none';
this.img.style.msUserSelect = 'none';
// some browsers need this to stop the default drag ghost
this.img.style.webkitUserDrag = 'none';
this.wrapper.appendChild(this.img);
// speech bubble
this.bubble = document.createElement('div');
Object.assign(this.bubble.style, {
position: 'absolute',
bottom: '100%',
left: '50%',
transform: 'translateX(-50%)',
padding: '8px 12px',
background: 'white',
border: '1px solid #ccc',
borderRadius: '4px',
boxShadow: '0 2px 6px rgba(0,0,0,0.2)',
opacity: '0',
transition: 'opacity 0.3s',
maxWidth: '200px',
wordWrap: 'break-word',
fontFamily: 'sans-serif',
fontSize: '14px',
color: '#333',
Object.assign(this.wrapper.style, {
position: 'relative',
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-end',
minHeight: '80px',
minWidth: '180px',
zIndex: 1,
pointerEvents: 'none'
});
this.wrapper.appendChild(this.bubble);
// Innerer Container für Glow + Katze (Stack!)
this.catContainer = document.createElement('div');
Object.assign(this.catContainer.style, {
position: 'relative',
width: '90px',
height: '70px',
minWidth: '90px',
minHeight: '70px',
zIndex: 2,
pointerEvents: 'auto'
});
// Glow (hinter der Katze)
this.glow = document.createElement('div');
this.glow.id = 'cat-glow';
Object.assign(this.glow.style, {
position: 'absolute',
left: '40%',
top: '73%',
transform: 'translate(-50%, -50%)',
borderRadius: '50%',
width: '70px', // ODER: Teste 54, 70, 80 – wie es dir am besten gefällt!
height: '52px',
pointerEvents: 'none',
zIndex: 1,
filter: 'blur(4px)', // ruhig auch 14px für weichen Rand!
opacity: '0.85', // Wieviel du willst!
transition: 'background 0.4s, opacity 0.3s'
});
this.catContainer.appendChild(this.glow);
// Cat image (über dem Glow, mittig im catContainer)
this.img = document.createElement('img');
this.img.src = this.images.default;
Object.assign(this.img.style, {
position: 'absolute',
left: '40%',
top: '66%',
transform: 'translate(-50%, -50%)',
width: '62px',
height: '50px',
zIndex: 2,
userSelect: 'none',
webkitUserSelect: 'none',
MozUserSelect: 'none',
msUserSelect: 'none',
webkitUserDrag: 'none',
pointerEvents: 'auto'
});
this.img.draggable = false;
this.catContainer.appendChild(this.img);
// Sprechblase (direkt im wrapper)
this.bubble = document.createElement('div');
Object.assign(this.bubble.style, {
position: 'relative',
marginLeft: '4px', // vorher 14px
marginBottom: '1px', // vorher 11px
padding: '10px 16px',
background: 'white',
border: '1px solid #ccc',
borderRadius: '16px',
boxShadow: '0 2px 8px rgba(0,0,0,0.18)',
opacity: '0',
transition: 'opacity 0.3s',
maxWidth: '240px',
maxHeight: 'min(320px, calc(100vh - 120px))',
overflowY: 'auto',
wordBreak: 'break-word',
fontFamily: 'sans-serif',
fontSize: '15px',
color: '#333',
pointerEvents: 'none',
minHeight: '30px',
zIndex: 10,
overflowWrap: 'anywhere',
display: 'none',
alignItems: 'center',
boxSizing: 'border-box'
});
// Bubble Tail
this.bubblePointer = document.createElement('div');
Object.assign(this.bubblePointer.style, {
position: 'absolute',
left: '-13px',
bottom: '14px',
width: '0',
height: '0',
borderTop: '8px solid transparent',
borderBottom: '8px solid transparent',
borderRight: '13px solid #fff',
filter: 'drop-shadow(-2px 1px 2px rgba(0,0,0,0.10))',
zIndex: 11
});
this.bubble.appendChild(this.bubblePointer);
// Zusammenbauen
this.wrapper.appendChild(this.catContainer); // LINKS (Stack: Glow, Katze)
this.wrapper.appendChild(this.bubble); // RECHTS
this.container.appendChild(this.wrapper);
// Herz-Emitter, bleibt wie gehabt
this.heartEmitter = document.createElement('div');
Object.assign(this.heartEmitter.style, {
position: 'absolute',
left: '90px',
bottom: '50px',
pointerEvents: 'none',
width: '1px',
height: '1px',
zIndex: 20
});
this.container.appendChild(this.heartEmitter);
}
_startGlowWobble() {
let t = 0;
const loop = () => {
// Sanfte Wellen-Animation der Opazität
const phase = 0.92 + 0.1 * Math.sin(t);
this.glow.style.opacity = phase.toFixed(2);
// Wenn du magst: this.glow.style.filter = `blur(${10 + 2*Math.sin(t/2)}px)`;
t += 0.03;
this._glowWobbleId = requestAnimationFrame(loop);
};
loop();
}
stopGlowWobble() {
if (this._glowWobbleId) cancelAnimationFrame(this._glowWobbleId);
}
// Hilfsfunktionen zur Farbinterpolation
_lerp(a, b, t) { return a + (b - a) * t; }
_lerpColor(a, b, t) {
return [
Math.round(this._lerp(a[0], b[0], t)),
Math.round(this._lerp(a[1], b[1], t)),
Math.round(this._lerp(a[2], b[2], t)),
];
}
// Animiert den Glow je nach Commit-Anzahl
animateCatGlow(commitCount) {
const glow = this.glow;
if (!glow) return;
// Farbverlauf – nur Farbe wechseln!
const stops = [
{ c: 0, color: [157, 157, 157] },
{ c: 5, color: [255, 255, 255] },
{ c: 15, color: [30, 255, 0] },
{ c: 50, color: [0, 112, 221] },
{ c: 100, color: [163, 53, 238] },
{ c: 500, color: [255, 128, 0] }
];
let lower = stops[0], upper = stops[stops.length-1];
for (let i=0; i<stops.length-1; ++i) {
if (commitCount >= stops[i].c && commitCount < stops[i+1].c) {
lower = stops[i]; upper = stops[i+1]; break;
}
}
const range = upper.c - lower.c || 1;
const t = Math.min(Math.max((commitCount - lower.c) / range, 0), 1);
const [r,g,b] = this._lerpColor(lower.color, upper.color, t);
this.glow.style.background = `radial-gradient(
ellipse at 50% 50%,
rgba(${r},${g},${b},0.97) 0%,
rgba(${r},${g},${b},0.24) 70%,
rgba(0,0,0,0) 100%
)`;
}
// Bubble für Animation absolut an Position der Katze anheften
_positionBubbleDetached() {
// Katzen-Bild in catContainer suchen!
const catRect = this.catContainer.getBoundingClientRect();
const contRect = this.container.getBoundingClientRect();
// Position: leicht rechts, minimal nach oben (bei Bedarf feintunen)
const left = (catRect.right - contRect.left) + 2; // vorher +12, jetzt +2
const bottom = (contRect.bottom - catRect.bottom) - 2; // vorher +8, jetzt -2
Object.assign(this.bubble.style, {
position: 'absolute',
left: `${left}px`,
bottom: `${bottom}px`,
marginLeft: '0',
marginBottom: '0'
});
// Tail am linken Rand
this.bubblePointer.style.left = '-13px';
this.bubblePointer.style.bottom = '14px';
}
// Zurück zum Flex-Layout
_resetBubbleAttach() {
Object.assign(this.bubble.style, {
position: 'relative',
left: '',
bottom: '',
marginLeft: '12px',
marginBottom:'16px'
});
this.bubblePointer.style.left = '-13px';
this.bubblePointer.style.bottom = '14px';
}
_startBlinking() {
const delay = this.blinkMin + Math.random() * (this.blinkMax - this.blinkMin);
this._blinkTimeout = setTimeout(() => {
if (!this._isSpeaking) {
this.img.src = this.images.eyesClosed;
this.img.src = this.images.blink;
setTimeout(() => {
this.img.src = this.images.default;
if (!this._pettingActive) {
this.img.src = this.images.default;
}
this._startBlinking();
}, this.blinkDuration);
} else {
@@ -89,41 +280,279 @@ export class AnimeCat {
_bindMouseHold() {
let holdTimer = null;
let joyActive = false;
let mouseDown = false;
let mouseDownAt = null;
let lastPos = null;
let moveDist = 0;
const closeEyes = () => {
clearTimeout(holdTimer);
this.img.src = this.images.eyesClosed;
const CAT_TOLERANCE = 15;
const MOVE_THRESHOLD = 200;
const isMouseNearCat = (e) => {
const rect = this.img.getBoundingClientRect();
return (
e.clientX >= rect.left - CAT_TOLERANCE &&
e.clientX <= rect.right + CAT_TOLERANCE &&
e.clientY >= rect.top - CAT_TOLERANCE &&
e.clientY <= rect.bottom + CAT_TOLERANCE
);
};
const closeEyes = () => { this.img.src = this.images.eyesClosed; };
const reopenEyes = () => {
clearTimeout(holdTimer);
if (!this._isSpeaking) {
this.img.src = this.images.default;
}
if (!joyActive && !this._isSpeaking && !this._pettingActive) this.img.src = this.images.default;
};
this.img.addEventListener('mousedown', () => {
// if currently talking, ignore hold-to-close
if (this._isSpeaking) return;
this.img.addEventListener('mousedown', (e) => {
if (this._isSpeaking || joyActive) return;
if (!isMouseNearCat(e)) return;
this._pettingActive = true;
mouseDown = true;
mouseDownAt = Date.now();
lastPos = { x: e.clientX, y: e.clientY };
moveDist = 0;
closeEyes();
// force reopen after max 5s
holdTimer = setTimeout(reopenEyes, 4000);
clearTimeout(this._blinkTimeout); // Blinzeln pausieren
function onMove(ev) {
if (!mouseDown) return;
if (!isMouseNearCat(ev)) {
cleanup();
reopenEyes();
mouseDown = false;
this._startBlinking();
return;
}
if (lastPos) {
const dx = ev.clientX - lastPos.x;
const dy = ev.clientY - lastPos.y;
moveDist += Math.sqrt(dx * dx + dy * dy);
lastPos = { x: ev.clientX, y: ev.clientY };
}
}
const onMoveBound = onMove.bind(this);
holdTimer = setTimeout(() => {
if (!mouseDown) return; // Schon abgebrochen
if (moveDist >= MOVE_THRESHOLD) {
cleanup();
joyActive = true;
this._runJoyAnimation(() => {
joyActive = false;
reopenEyes();
this._startBlinking();
});
mouseDown = false;
} else {
this._consolation(mouseDownAt);
mouseDown = false;
}
}, 4000);
function onUp() {
if (!mouseDown) return;
cleanup();
const heldFor = Date.now() - mouseDownAt;
if (heldFor >= 4000) return; // already handled by timer above
if (heldFor >= 4000 && moveDist >= MOVE_THRESHOLD) {
joyActive = true;
this._runJoyAnimation(() => {
joyActive = false;
reopenEyes();
this._startBlinking();
});
} else if (heldFor > 1000) {
this._consolation(mouseDownAt);
} else {
reopenEyes();
this._startBlinking();
}
mouseDown = false;
}
const onUpBound = onUp.bind(this);
const cleanup = () => {
window.removeEventListener('mousemove', onMoveBound);
window.removeEventListener('mouseup', onUpBound);
if (holdTimer) clearTimeout(holdTimer);
holdTimer = null;
this._pettingActive = false;
};
window.addEventListener('mousemove', onMoveBound);
window.addEventListener('mouseup', onUpBound);
});
}
_consolation(mouseDownAt) {
// Trostpreis: Augen auf, dann mouth_open oder mischievous
this._pettingActive = false;
this.img.src = this.images.default;
const heldFor = Date.now() - mouseDownAt;
if (heldFor > 1000) {
const mouthOpenTime = Math.max(heldFor - 1000, 1000);
let imgToShow = this.images.mouthOpen || this.images.default;
if (this._consolationCount >= 3) {
if (
this._consolationCount === 3 ||
Math.random() < 0.2
) {
imgToShow = this.images.mischievous || imgToShow;
}
}
this.img.src = imgToShow;
this._consolationCount++;
this._startBlinking();
setTimeout(() => {
if (!this._isSpeaking && !this._pettingActive) {
this.img.src = this.images.default;
}
}, mouthOpenTime);
} else {
this._startBlinking();
}
}
_runJoyAnimation(onFinish) {
const img = this.img;
const catBox = this.catContainer;
const origCatTransition = catBox.style.transition;
const origCatTransform = catBox.style.transform;
img.src = this.images.joy || this.images.default;
// 20% Chance auf Salto!
const salto = Math.random() < 0.2;
// Bubble abkoppeln
this.container.appendChild(this.bubble);
this._positionBubbleDetached();
// Herz-Emitter anpassen
const catRect = this.catContainer.getBoundingClientRect();
const contRect = this.container.getBoundingClientRect();
const emitterX = catRect.right - contRect.left + 12;
const emitterY = contRect.bottom - catRect.bottom + 34;
this.heartEmitter.style.left = emitterX + 'px';
this.heartEmitter.style.bottom = emitterY + 'px';
const spawnHearts = () => this._spawnHearts(12);
if (salto) {
// Salto: gesamter Container springt & dreht
catBox.style.transition = 'transform 1.2s cubic-bezier(.19,1,.22,1)';
catBox.style.transform = 'translateY(-40px) rotate(360deg)';
spawnHearts();
setTimeout(() => {
catBox.style.transition = 'transform 0.8s cubic-bezier(.19,1,.22,1)';
catBox.style.transform = 'translateY(0) rotate(360deg)';
img.src = this.images.mouthOpen || this.images.default;
setTimeout(() => {
if (!this._pettingActive) img.src = this.images.default;
setTimeout(() => {
catBox.style.transition = origCatTransition || '';
catBox.style.transform = origCatTransform || '';
this.wrapper.appendChild(this.bubble);
this._resetBubbleAttach();
if (typeof onFinish === 'function') onFinish();
}, 700);
}, 2000);
}, 1200);
} else {
// Normaler Joy-Jump
catBox.style.transition = 'transform 0.6s cubic-bezier(.19,1,.22,1)';
catBox.style.transform = 'translateY(-40px) rotate(12deg)';
setTimeout(() => {
spawnHearts();
setTimeout(() => {
catBox.style.transition = 'transform 0.8s cubic-bezier(.19,1,.22,1)';
catBox.style.transform = 'translateY(0) rotate(0deg)';
img.src = this.images.mouthOpen || this.images.default;
setTimeout(() => {
if (!this._pettingActive) img.src = this.images.default;
setTimeout(() => {
catBox.style.transition = origCatTransition || '';
catBox.style.transform = origCatTransform || '';
this.wrapper.appendChild(this.bubble);
this._resetBubbleAttach();
if (typeof onFinish === 'function') onFinish();
}, 700);
}, 2000);
}, 2200);
}, 400);
}
}
_spawnHearts(count = 10) {
for (let i = 0; i < count; ++i) {
setTimeout(() => this._makeHeart(), Math.random() * 300);
}
}
_makeHeart() {
const emoji = Math.random() < 0.7 ? '❤️' : '💕';
const heart = document.createElement('span');
heart.textContent = emoji;
heart.style.position = 'absolute';
heart.style.left = '0%';
heart.style.bottom= '0%';
heart.style.fontSize = `${16 + Math.random() * 14}px`;
heart.style.pointerEvents = 'none';
heart.style.opacity = '0.9';
heart.style.zIndex = 100;
// Start/End-Pos, Flugwinkel
const angle = (Math.random() * Math.PI) - (Math.PI/2); // spread -90° to 90°
const distance = 60 + Math.random() * 45;
const dx = Math.cos(angle) * distance;
const dy = Math.sin(angle) * distance;
heart.animate([
{
transform: 'translate(-50%, 0) scale(1)',
opacity: 0.95
},
{
transform: `translate(calc(-50% + ${dx}px), ${-dy}px) scale(${1.3 + Math.random()*0.4}) rotate(${Math.random()*60-30}deg)`,
opacity: 0.3
}
], {
duration: 1100 + Math.random()*800,
easing: 'cubic-bezier(.28,1.01,.57,.99)'
});
['mouseup', 'mouseleave'].forEach(evt =>
this.img.addEventListener(evt, reopenEyes)
);
// Remove after animation
setTimeout(() => heart.remove(), 1600);
// Im Herzen-Emitter platzieren!
this.heartEmitter.appendChild(heart);
}
/** Call when streaming text begins */
beginSpeech() {
clearTimeout(this._speechTimeout);
clearInterval(this._talkIntervalId);
clearTimeout(this._bubbleHideTimeout);
this._isSpeaking = true;
this._mouthOpen = false;
this.img.src = this.images.default;
this.bubble.style.display = 'flex';
this.bubble.style.opacity = '0';
this.bubble.style.visibility = 'visible';
// Reflow erzwingen, damit das Fade-In nach display:none sauber läuft
void this.bubble.offsetWidth;
this.bubble.style.opacity = '1';
this.bubble.textContent = '';
Array.from(this.bubble.childNodes).forEach(node => {
if (node !== this.bubblePointer) node.remove();
});
this._bubbleTextNode = document.createTextNode('');
this.bubble.appendChild(this._bubbleTextNode);
this._talkIntervalId = setInterval(() => {
this._mouthOpen = !this._mouthOpen;
@@ -133,26 +562,33 @@ export class AnimeCat {
}, this.talkInterval / 2);
}
/** Append a chunk of streamed text */
appendSpeech(chunk) {
this.bubble.textContent += chunk;
if (this._bubbleTextNode)
this._bubbleTextNode.textContent += chunk;
}
/** Call when the stream ends */
endSpeech() {
clearInterval(this._talkIntervalId);
this.img.src = this.images.default;
if (!this._pettingActive) {
this.img.src = this.images.default;
}
this._speechTimeout = setTimeout(() => {
this.bubble.style.opacity = '0';
this._isSpeaking = false;
}, 3000);
this._bubbleHideTimeout = setTimeout(() => {
if (this._isSpeaking) return;
this.bubble.style.display = 'none';
this.bubble.style.visibility = 'hidden';
}, 320);
}, 6000);
}
/** Clean up timers & DOM */
destroy() {
clearTimeout(this._blinkTimeout);
clearInterval(this._talkIntervalId);
clearTimeout(this._speechTimeout);
clearTimeout(this._bubbleHideTimeout);
this.wrapper.remove();
this.heartEmitter.remove();
}
}
}

BIN
assets/cat/blink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 109 KiB

BIN
assets/cat/mischievous.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 110 KiB

BIN
assets/cat/paw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 273 KiB

BIN
assets/icon/trayicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

@@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<title>auto-git</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="tauriBridge.js"></script>
<style>
:root {
/* Default-Modus: Weißes Panel mit Rosa-Akzenten */
@@ -12,21 +13,24 @@
--accent: #9f1239; /* Rosa */
--border: #ffe4e6;
}
body.sky-mode {
body.theme-sky {
/* Sky-Mode: Himmelshintergrund und passende Akzente */
--bg-main: rgb(173,216,230); /* sanftes Baby-Blau */
--bg-sidebar: rgb(200,220,240); /* etwas dunkleres Blau */
--accent: rgb(20,60,100); /* dunkles Marine-Blau als Akzent */
--border: rgb(180,200,220);
}
body.theme-grey {
/* Grey theme: ruhige, neutrale Akzente */
--bg-main: #f5f5f5;
--bg-sidebar: #eceff1;
--accent: #374151;
--border: #d1d5db;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#catSlot img {
width: 120px;
height: 120px;
overflow: hidden;
}
/* Außenschale für den Diff: overflow + max-height */
@@ -71,7 +75,7 @@
background-color: transparent;
}
@keyframes glow {
@keyframes glow {
0%, 100% { box-shadow: 0 0 4px gold; }
50% { box-shadow: 0 0 12px gold; }
}
@@ -84,6 +88,20 @@
border-style: solid !important;
border-color: gold !important;
}
.needs-relocation {
opacity: 0.5;
filter: grayscale(1);
pointer-events: auto !important; /* Damit Buttons weiter gehen */
}
.relocation-warning-symbol {
color: #e11d48;
font-weight: bold;
font-size: 1.2em;
margin-right: 2px;
display: flex;
align-items: center;
justify-content: center;
}
#currentTitle {
/* erlauben, dass der Text umbricht */
@@ -140,12 +158,68 @@
.diff-container pre {
padding-top: 0 !important;
}
.sidebar, .interaction-bar, .content-area button {
-webkit-user-select: none;
user-select: none;
}
.content-area ul#contentList li {
word-break: break-all;
overflow-wrap: anywhere;
}
#folderHierarchyDropdown.open {
display: block;
}
#folderTitleArrow.open {
transform: rotate(90deg);
}
.interaction-bar {
min-height: 3.5rem; /* = h-16 (56px, wie jetzt schon) */
padding-top: 0 !important;
padding-bottom: 0 !important;
font-size: 0.95rem;
}
.interaction-bar .flex {
line-height: 1.2; /* wenig Zeilenabstand */
height: 100%; /* volle Höhe ausnutzen, vertikal zentrieren */
margin-left: 90px;
}
.interaction-bar span {
font-size: inherit !important; /* gleiche Größe wie restlicher Text */
font-weight: 800;
}
.interaction-bar div > div {
margin-bottom: 0.1em; /* nur minimal Abstand */
}
.interaction-bar div > div:last-child {
margin-bottom: 0;
}
.commits-glow {
text-shadow:
1px 1px 2px rgba(0,0,0,0.25),
0px 1px 1px color-mix(in srgb, currentColor 40%, black);
}
.paw-queued {
position: absolute;
top: 33px; /* so weit nach unten */
right: 40px; /* nur ganz am Rand, feintune hier! */
width: 2rem;
height: 2rem;
filter: drop-shadow(0 2px 2px rgba(0,0,0,0.10));
pointer-events: none;
z-index: 10;
}
}
</style>
</head>
<body class="flex h-screen bg-white">
<!-- Sidebar -->
<aside class="w-64 border-r flex flex-col"
<aside class="w-64 border-r flex flex-col sidebar"
style="background: var(--bg-sidebar); border-color: var(--border)">
<h2 class="px-4 py-3 text-lg font-semibold"
style="color: var(--accent)">
@@ -169,30 +243,136 @@
<!-- Main panel: wieder p-4 wie gehabt -->
<main class="relative flex flex-col flex-1" style="background: var(--bg-main)">
<div class="flex-1 p-4 overflow-y-auto">
<h3 id="currentTitle" class="text-xl font-semibold mb-2"
style="color: var(--accent)">
No folder selected
</h3>
<div class="border-t mb-4" style="border-color: var(--border)"></div>
<!-- Content-Area -->
<div class="flex-1 p-4 overflow-y-auto content-area">
<!-- Title -->
<div class="flex items-center pb-2">
<div id="folderTitleDrop"
class="relative flex flex-1 min-w-0 items-baseline space-x-1 cursor-pointer select-none group">
<svg id="folderTitleArrow"
class="h-4 w-6 flex-none transition-transform"
viewBox="0 0 24 24">
<path stroke="currentColor" stroke-width="2" fill="none"
stroke-linecap="round" stroke-linejoin="round"
d="M9 5l7 7-7 7"/>
</svg>
<span id="currentTitle" class="font-semibold text-xl truncate"></span>
</div>
<button id="rewritePendingBtn"
class="hidden ml-3 px-3 py-1.5 text-sm border rounded font-semibold whitespace-nowrap"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Rewrite all (0)
</button>
</div>
<pre id="folderHierarchyDropdown"
class="hidden text-sm font-mono select-text leading-snug mb-2 mt-1 max-h-80 overflow-auto"
style="background: none; border: none; color: inherit; padding: 0;"></pre>
<div class="border-t mb-2" style="border-color: var(--border)"></div>
<!-- Content List -->
<ul id="contentList" class="space-y-1"></ul>
</div>
<div id="catSlot" class="absolute bottom-12 right-2"></div>
<!-- Cat -->
<!--<div id="cat-glow"></div>
<img id="cat-sprite" src="assets/cat/default.png">-->
<div id="catSlot" class="absolute bottom-2 left-2"></div>
<!-- Interaction Bar -->
<div class="w-full h-16 flex items-center p-4"
<div class="w-full h-16 flex items-center interaction-bar"
style="background: var(--bg-sidebar); border-top: 1px solid var(--border)">
<button id="commitBtn"
<div class="flex flex-col justify-center ml-10 text-[var(--accent)] font-medium text-sm leading-tight h-full">
<div><span id="commitsToday" class="font-medium commits-glow"></span> commits today</div>
<div><span id="linesUntilRewrite" class="font-bold"></span> lines until rewrite</div>
<div><span id="countdown" class="font-medium"></span> until rewrite</div>
</div>
<!--<button id="commitBtn"
class="ml-auto px-4 py-2 border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Commit
</button>
</button>-->
<button id="initRepoBtn"
class="ml-auto px-4 py-2 border rounded font-semibold hidden"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Init Repo
</button>
<button id="readmeBtn"
class="ml-4 px-4 py-2 border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Generate README
</button>
<button id="pushBtn"
class="ml-2 px-4 py-2 border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Push
</button>
</div>
<div id="rewordModeModal"
class="hidden fixed inset-0 z-50 items-center justify-center bg-black/40 px-4"
role="dialog" aria-modal="true" aria-labelledby="rewordModeTitle">
<div class="w-full max-w-md rounded-lg border bg-white p-5 shadow-xl"
style="border-color: var(--border)">
<h3 id="rewordModeTitle" class="text-lg font-semibold text-gray-900">
Reword commit message
</h3>
<p class="mt-2 text-sm text-gray-600">
Choose Automatic to ask the configured LLM, or Manual to type the message yourself.
</p>
<label class="mt-4 flex items-center gap-2 text-sm text-gray-700 select-none">
<input id="rememberRewordMode" type="checkbox" class="h-4 w-4" />
Remember my choice
</label>
<div class="mt-5 flex justify-end gap-2">
<button id="cancelRewordModeBtn" class="px-3 py-2 text-sm border rounded hover:bg-gray-100">
Cancel
</button>
<button id="manualRewordModeBtn" class="px-3 py-2 text-sm border rounded hover:bg-gray-100">
Manual
</button>
<button id="autoRewordModeBtn" class="px-3 py-2 text-sm border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Automatic
</button>
</div>
</div>
</div>
<div id="manualRewordModal"
class="hidden fixed inset-0 z-50 items-center justify-center bg-black/40 px-4"
role="dialog" aria-modal="true" aria-labelledby="manualRewordTitle">
<form id="manualRewordForm"
class="w-full max-w-lg rounded-lg border bg-white p-5 shadow-xl"
style="border-color: var(--border)">
<h3 id="manualRewordTitle" class="text-lg font-semibold text-gray-900">
Enter commit message
</h3>
<p class="mt-2 text-sm text-gray-600">
Type the new single-line message for this commit.
</p>
<input id="manualRewordInput" type="text" required autocomplete="off"
class="mt-4 w-full rounded border border-gray-300 px-3 py-2 text-sm text-gray-900 focus:outline-none focus:ring-2"
style="--tw-ring-color: var(--accent)" />
<div class="mt-5 flex justify-end gap-2">
<button id="cancelManualRewordBtn" type="button"
class="px-3 py-2 text-sm border rounded hover:bg-gray-100">
Cancel
</button>
<button id="applyManualRewordBtn" type="submit"
class="px-3 py-2 text-sm border rounded font-semibold"
style="background: var(--accent); color: #fff; border-color: var(--border)">
Apply
</button>
</div>
</form>
</div>
<script src="renderer.js"></script>
<script src="animeCat.js"></script>
<script type="module">
import { AnimeCat } from './animeCat.js';
/*import { AnimeCat } from './animeCat.js';
document.addEventListener('DOMContentLoaded', () => {
const slot = document.getElementById('catSlot');
const cat = new AnimeCat(slot, {
@@ -211,8 +391,8 @@
cat.endSpeech();
}
simulateStream("Hi there! I'm your friendly assistant 👋");
});
});*/
</script>
</main>
</body>
</html>
</html>

351
main.js
View File

@@ -1,351 +0,0 @@
const { app, BrowserWindow, ipcMain, dialog, Menu, shell, clipboard } = require('electron');
app.name = 'Auto-Git';
const { exec } = require('child_process');
const path = require('path');
const fs = require('fs');
const Store = require('electron-store');
const simpleGit = require('simple-git');
const chokidar = require('chokidar');
const store = new Store({
defaults: {
folders: [],
selected: null,
skymode: true,
skipGitPrompt: true
}
});
// Map zum Speichern der Watcher pro Ordner
const repoWatchers = new Map();
// Debug Helper
function debug(msg) {
console.log(`[DEBUG ${new Date().toISOString()}] ${msg}`);
}
/**
* Erstellt das BrowserWindow und lädt index.html.
* Gibt das Window-Objekt zurück.
*/
function createWindow() {
const win = new BrowserWindow({
width: 900,
height: 600,
minWidth: 600,
minHeight: 400,
title: 'Auto-Git',
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
contextIsolation: true
}
});
win.loadFile('index.html');
return win;
}
// Settings-Fenster
let settingsWin;
function openSettings(win) {
if (settingsWin) {
settingsWin.focus();
return;
}
settingsWin = new BrowserWindow({
parent: win,
modal: true,
width: 400,
height: 300,
resizable: false,
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
contextIsolation: true
}
});
settingsWin.removeMenu();
settingsWin.loadFile('settings.html');
settingsWin.on('closed', () => settingsWin = null);
}
/**
* Startet einen File-Watcher auf .git/refs/heads/master,
* sendet bei Änderungen 'repo-updated' an den Renderer.
*/
function watchRepo(folder, win) {
const gitHead = path.join(folder, '.git', 'refs', 'heads', 'master');
const watcher = chokidar.watch(gitHead, { ignoreInitial: true });
watcher.on('change', () => {
win.webContents.send('repo-updated', folder);
});
repoWatchers.set(folder, watcher);
}
/**
* Initiiert ein Git-Repo in `folder`, falls noch nicht vorhanden,
* und erzeugt einen Initial-Commit mit Timestamp.
*/
async function initGitRepo(folder) {
const git = simpleGit(folder);
const gitDir = path.join(folder, '.git');
if (!fs.existsSync(gitDir)) {
await git.init();
const message = `Initial commit (generated by auto-git)`;
const readmePath = path.join(folder, 'README.md');
fs.writeFileSync(readmePath, `# Projekt in ${path.basename(folder)}\n`);
await git.add('./*');
await git.commit(message);
}
}
app.whenReady().then(() => {
const win = createWindow();
// Menüs
const menu = Menu.buildFromTemplate([
{
role: 'appMenu',
submenu: [
{
label: 'Settings', click: () => openSettings(win)
},
{ role: 'quit', label: 'Quit' }
]
}, // mehr menüs hier
]);
Menu.setApplicationMenu(menu);
// 1) Beim Start bereits gespeicherte Ordner überwachen
const folders = store.get('folders');
folders.forEach(folder => {
// nur watchen, wenn .git existiert
if (fs.existsSync(path.join(folder, '.git', 'refs', 'heads', 'master'))) {
watchRepo(folder, win);
}
});
// 2) IPC-Handler
// Liste aller Folders
ipcMain.handle('get-folders', () => store.get('folders'));
// Ordner hinzufügen: Open-Dialog, init, Store-Update, watchen
ipcMain.handle('add-folder', async () => {
const { canceled, filePaths } = await dialog.showOpenDialog({
properties: ['openDirectory']
});
if (canceled || !filePaths[0]) {
return store.get('folders');
}
const newFolder = filePaths[0];
// Repo initialisieren
await initGitRepo(newFolder);
// Im Store ablegen
const current = store.get('folders');
if (!current.includes(newFolder)) {
store.set('folders', [...current, newFolder]);
}
store.set('selected', newFolder);
// und watchen
watchRepo(newFolder, win);
return store.get('folders');
});
// Ordner entfernen: Watcher schließen, Store-Update
ipcMain.handle('remove-folder', (_e, folder) => {
const watcher = repoWatchers.get(folder);
if (watcher) {
watcher.close();
repoWatchers.delete(folder);
}
const updated = store.get('folders').filter(f => f !== folder);
store.set('folders', updated);
if (store.get('selected') === folder) {
store.set('selected', null);
}
return updated;
});
// Zähle Commits
ipcMain.handle('get-commit-count', async (_e, folder) => {
const git = simpleGit(folder);
const log = await git.log();
return log.total; // Anzahl der Commits
});
// Prüfe, ob es ungestagte Änderungen gibt
ipcMain.handle('has-diffs', async (_e, folder) => {
const git = simpleGit(folder);
const status = await git.status();
// modified, not_added, deleted, etc.
return status.files.length > 0;
});
// Entferne das .git-Verzeichnis
ipcMain.handle('remove-git-folder', async (_e, folder) => {
const gitDir = path.join(folder, '.git');
if (fs.existsSync(gitDir)) {
await fs.promises.rm(gitDir, { recursive: true, force: true });
}
return;
});
// Selected
ipcMain.handle('get-selected', () => store.get('selected'));
ipcMain.handle('set-selected', (_e, folder) => {
store.set('selected', folder);
return folder;
});
// Commits holen
ipcMain.handle('get-commits', async (_e, folder) => {
const git = simpleGit(folder);
// alle Commits holen
const log = await git.log(['--all']);
// aktuellen HEAD‐Hash ermitteln
const fullHead = (await git.revparse(['--verify', 'HEAD'])).trim();
const head = fullHead.substring(0, 7);
return {
head,
commits: log.all.map(c => ({
hash: c.hash.substring(0, 7),
date: c.date,
message: c.message
}))
};
});
// Diff
ipcMain.handle('diff-commit', async (_e, folder, hash) => {
const git = simpleGit(folder);
return git.diff([`${hash}^!`]);
});
// Revert
ipcMain.handle('revert-commit', async (_e, folder, hash) => {
const git = simpleGit(folder);
await git.revert(hash, ['--no-edit']);
});
/**
* Checkt das Arbeitsverzeichnis auf exakt den Zustand von `hash` aus.
*/
ipcMain.handle('checkout-commit', async (_e, folder, hash) => {
const git = simpleGit(folder);
// clean mode: alle lokalen Veränderungen verwerfen
await git.checkout([hash, '--force']);
});
// Snapshot
ipcMain.handle('snapshot-commit', async (_e, folder, hash) => {
const { canceled, filePaths } = await dialog.showOpenDialog({
title: 'Ordner auswählen zum Speichern des Snapshots',
properties: ['openDirectory']
});
if (canceled || !filePaths[0]) return;
const outDir = filePaths[0];
const baseName = path.basename(folder);
const filePath = path.join(outDir, `${baseName}-${hash}.zip`);
return new Promise((resolve, reject) => {
exec(
`git -C "${folder}" archive --format zip --output "${filePath}" ${hash}`,
err => err ? reject(err) : resolve(filePath)
);
});
});
// IPC für skymode
ipcMain.handle('get-skymode', () => store.get('skymode'));
ipcMain.handle('set-skymode', (_e, val) => {
store.set('skymode', val);
// sende an alle Fenster
BrowserWindow.getAllWindows().forEach(win => {
win.webContents.send('skymode-changed', val);
});
});
ipcMain.handle('get-skip-git-prompt', () => store.get('skipGitPrompt'));
ipcMain.handle('set-skip-git-prompt', (_e,val) => store.set('skipGitPrompt', val));
ipcMain.handle('commit-current-folder', async (_e, folder, message) => {
try {
debug(`Commit-Vorgang für ${folder} gestartet…`);
const git = simpleGit(folder);
// 1) Branch‐Status prüfen
let currentBranch = null;
try {
currentBranch = (await git.revparse(['--abbrev-ref', 'HEAD'])).trim();
debug(`Aktueller Branch: ${currentBranch}`);
} catch {
debug('HEAD ist detached.');
}
// 2) Falls detached, alten master sichern und neuen anlegen
if (!currentBranch || currentBranch === 'HEAD') {
const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
const backupBranch = `backup-master-${timestamp}`;
const branches = await git.branchLocal();
if (branches.all.includes('master')) {
await git.branch(['-m', 'master', backupBranch]);
debug(`Alter master → ${backupBranch}`);
}
await git.checkout(['-b', 'master']);
debug('Neuer master-Branch erstellt.');
}
// 3) Commit & Push
await git.add(['-A']); debug('git add -A');
await git.commit(message || 'test'); debug('git commit');
await git.push(['-u','origin','master']); debug('git push');
return { success: true };
} catch (err) {
debug(`FEHLER beim Commit: ${err.message}`);
return { success: false, error: err.message };
}
});
// … Ende der IPC-Handler …
});
ipcMain.on('show-folder-context-menu', (event, folderPath) => {
const win = BrowserWindow.fromWebContents(event.sender);
const template = [
{
label: 'Copy Folder Path',
click: () => {
clipboard.writeText(folderPath);
}
},
{
label: 'Open Folder',
click: () => {
// öffnet den Ordner in der nativen Dateiansicht
shell.openPath(folderPath);
}
}
];
const menu = Menu.buildFromTemplate(template);
menu.popup({ window: win });
});
// clean up on exit
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') app.quit();
});

View File

@@ -1,41 +1,18 @@
{
"productName": "Auto-Git",
"name": "Auto-Git",
"description": "Auto-Git: Git-Surveillance with automatic LLM-Commit-Message and README.md compilation",
"version": "1.0.0",
"version": "1.0.11",
"description": "Auto-Git: Git-Überwachung mit automatischer LLM-Commit-Message und README-Erstellung",
"author": "Victor Giers",
"main": "main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder"
},
"build": {
"appId": "com.deinname.auto-git",
"productName": "Auto-Git",
"files": [
"**/*"
],
"directories": {
"buildResources": "assets/icon"
},
"mac": {
"icon": "mac/icon.icns"
},
"win": {
"icon": "win/icon.ico"
},
"linux": {
"icon": "linux/icon.png"
}
},
"dependencies": {
"chokidar": "^4.0.3",
"electron-store": "^8.2.0",
"simple-git": "^3.20.0",
"suncalc": "^1.9.0"
"prepare:tauri-frontend": "node scripts/prepare-tauri-frontend.mjs",
"start": "npm run prepare:tauri-frontend && tauri dev",
"tauri:dev": "npm run prepare:tauri-frontend && tauri dev",
"dist": "npm run prepare:tauri-frontend && tauri build"
},
"dependencies": {},
"devDependencies": {
"electron": "^25.0.0",
"electron-builder": "^26.0.12"
"@tauri-apps/api": "^2.11.0",
"@tauri-apps/cli": "^2.11.0"
}
}

View File

@@ -1,38 +0,0 @@
const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('settingsAPI', {
getSkyMode: () => ipcRenderer.invoke('get-skymode'),
setSkyMode: val => ipcRenderer.invoke('set-skymode', val),
getSkipPrompt: () => ipcRenderer.invoke('get-skip-git-prompt'),
setSkipPrompt: val => ipcRenderer.invoke('set-skip-git-prompt', val)
});
contextBridge.exposeInMainWorld('electronAPI', {
getFolders: () => ipcRenderer.invoke('get-folders'),
addFolder: () => ipcRenderer.invoke('add-folder'),
removeFolder: folder => ipcRenderer.invoke('remove-folder', folder),
getSelected: () => ipcRenderer.invoke('get-selected'),
setSelected: folder => ipcRenderer.invoke('set-selected', folder),
listFolder: folder => ipcRenderer.invoke('list-folder', folder),
getCommits: folder => ipcRenderer.invoke('get-commits', folder),
diffCommit: (folder, hash) => ipcRenderer.invoke('diff-commit', folder, hash),
revertCommit: (folder, hash) => ipcRenderer.invoke('revert-commit', folder, hash),
snapshotCommit: (folder, hash) => ipcRenderer.invoke('snapshot-commit', folder, hash),
checkoutCommit: (folder, hash) => ipcRenderer.invoke('checkout-commit', folder, hash),
getCommitCount: folder => ipcRenderer.invoke('get-commit-count', folder),
hasDiffs: folder => ipcRenderer.invoke('has-diffs', folder),
removeGitFolder: folder => ipcRenderer.invoke('remove-git-folder', folder),
getSkipPrompt: () => ipcRenderer.invoke('get-skip-git-prompt'),
setSkipPrompt: val => ipcRenderer.invoke('set-skip-git-prompt', val),
showFolderContextMenu: folderPath => ipcRenderer.send('show-folder-context-menu', folderPath),
commitCurrentFolder: (folder, message) => ipcRenderer.invoke('commit-current-folder', folder, message),
showFolderContextMenu: folderPath => ipcRenderer.send('show-folder-context-menu', folderPath),
});
ipcRenderer.on('repo-updated', (_e, folder) => {
window.dispatchEvent(new CustomEvent('repo-updated', { detail: folder }));
});
ipcRenderer.on('skymode-changed', (_e, val) => {
window.dispatchEvent(new CustomEvent('skymode-changed', { detail: val }));
});

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
import { cp, mkdir, rm } from 'node:fs/promises';
import path from 'node:path';
const root = process.cwd();
const out = path.join(root, 'dist-tauri');
await rm(out, { recursive: true, force: true });
await mkdir(out, { recursive: true });
for (const file of ['index.html', 'settings.html', 'renderer.js', 'animeCat.js', 'tauriBridge.js']) {
await cp(path.join(root, file), path.join(out, file));
}
await cp(path.join(root, 'assets'), path.join(out, 'assets'), { recursive: true });

View File

@@ -4,120 +4,406 @@
<meta charset="UTF-8">
<title>Einstellungen</title>
<style>
/* Grund-Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
/* Default-Modus: Weißes Panel mit Rosa-Akzenten */
--bg-main: #ffe4e6; /* Hintergrund Content */
--bg-sidebar: #fff1f2; /* Sidebar */
--accent: #9f1239; /* Rosa */
--border: #fff;
}
body.theme-sky {
/* Sky-Mode: Himmelshintergrund und passende Akzente */
--bg-main: rgb(173,216,230); /* sanftes Baby-Blau */
--bg-sidebar: rgb(200,220,240); /* etwas dunkleres Blau */
--accent: rgb(20,60,100); /* dunkles Marine-Blau als Akzent */
--border: rgb(180,200,220);
background: var(--border);
}
body.theme-grey {
--bg-main: #f5f5f5;
--bg-sidebar: #eceff1;
--accent: #374151;
--border: #d1d5db;
background: var(--bg-main);
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden; /* keine Scrollbars */
width: 100%; height: 100%;
overflow-x: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
display: flex;
align-items: center; /* vertikal zentrieren */
justify-content: center; /* horizontal zentrieren */
background: rgba(0,0,0,0.1);/* halbtransparenter Untergrund */
font-family: sans-serif;
justify-content: center;
align-items: center;
transition: background 0.5s ease;
}
/* Sky-Mode Hintergrund */
body {
background: var(--bg-main);
}
/* Dialog-Box */
.dialog {
border: 2px solid #fbcfe8;
border-radius: 8px;
padding: 1rem;
width: 100%; /* 90% der Fensterbreite */
height: 100%;
box-sizing: border-box;
background: white;
position: relative;
z-index: 10;
width: 100%;
color: var(--accent);
background: rgba(255,255,255,0.93);
border-radius: 5px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 1.8rem 1.8rem;
display: flex; flex-direction: column; gap: 1.2rem;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
/* Optionen */
.options { display: flex; flex-direction: column; gap: 1.0rem; }
label {
display: flex; align-items: center; font-size: 0.9rem;
color: #1e293b;
}
.header h1 {
font-size: 1.25rem;
margin: 0;
label.option input[type="checkbox"] {
margin-right: 0.8rem;
width: 1.3em;
height: 1.3em;
accent-color: var(--accent);
flex-shrink: 0; /* <-- das ist wichtig! */
}
.close-btn {
background: transparent;
border: none;
font-size: 1.25rem;
cursor: pointer;
color: #9f1239;
.row {
display: flex; align-items: center; justify-content: space-between;
}
.options {
display: flex;
flex-direction: column;
gap: 0.5rem;
.row > span {
flex: 1;
color: #1e293b;
font-weight: 600;
}
.option {
display: flex;
align-items: center;
.row > input,
.row > select {
/* wenn Du es schmaler willst: */
min-width: 80px;
max-width: 180px;
padding: 0.4em 0.4em;
border: 1.2px solid #cbd5e1;
border-radius: 6px;
background: #f8fafc;
color: #334155;
font-size: 0.9rem;
transition: border-color 0.2s, box-shadow 0.2s;
}
.option input[type="checkbox"] {
margin-left: 1.5rem;
margin-right: 0.5rem;
.row > input:focus,
.row > select:focus {
box-shadow: 0 0 0 2px rgba(56,189,248,0.3);
outline: none;
}
select, input[type="number"] {
min-width: 30px;
max-width: 100%;
padding: 0.4em 0.6em;
border: 1.2px solid #cbd5e1;
border-radius: 6px;
font-size: 1rem;
color: #334155;
background: #f8fafc;
margin-left: 0.8rem;
margin-right: 0.8rem;
}
/* Buttons */
.buttons {
margin-top: 1rem;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
gap: 0.5em;
}
button {
padding: 0.4rem 0.8rem;
border-radius: 4px;
border: 1px solid #ccc;
background: white;
button{
border-radius: 8px;
padding: 0.5em 1.2em;
display: flex;
align-items: center;
border: none;
cursor: pointer;
background: var(--bg-sidebar);
color: var(--accent);
}
button:hover{
background: var(--bg-border);
}
/* Infotext */
#ollama-model-selectors label {
display: flex;
align-items: center;
gap: 0.6em;
margin-bottom: 0.3em;
}
#ollama-model-selectors select {
min-width: 100px;
max-width: 180px;
padding: 0.35em 0.5em;
border-radius: 6px;
font-size: 1rem;
border: 1.2px solid #cbd5e1;
background: #f8fafc;
color: #334155;
}
.needs-relocation {
opacity: 0.4;
filter: grayscale(0.8);
/* oder: color: #aaa; oder wie du magst */
}
.warning-icon {
margin-left: 8px;
color: #eab308; /* schönes gelb/orange */
font-size: 1.2em;
vertical-align: middle;
}
button:hover { background: #f3f4f6; }
</style>
<script src="tauriBridge.js"></script>
<script>
window.addEventListener('DOMContentLoaded', async () => {
const cbSky = document.getElementById('skymode');
const cbSkip = document.getElementById('skipPrompt');
const ok = document.getElementById('okBtn');
const cancel = document.getElementById('cancelBtn');
const close = document.getElementById('closeBtn');
window.addEventListener('DOMContentLoaded', async () => {
const applyThemeClass = (theme) => {
document.body.classList.remove('theme-sky', 'theme-grey');
if (theme === 'sky') document.body.classList.add('theme-sky');
if (theme === 'grey') document.body.classList.add('theme-grey');
};
const VALID_THEMES = ['sky', 'default', 'grey'];
const [initialSky, initialSkip] = await Promise.all([
window.settingsAPI.getSkyMode(),
window.settingsAPI.getSkipPrompt()
]);
// Elemente holen
const themeSelect = document.getElementById('themeSelect');
const cbSkip = document.getElementById('skipPrompt');
const thresholdInput = document.getElementById('intelligentCommitThresholdInput');
const minutesInput = document.getElementById('intelligentCommitMinutesInput');
const rewordModeSelect = document.getElementById('rewordModeSelect');
const ok = document.getElementById('okBtn');
const cancel = document.getElementById('cancelBtn');
const cbAutostart = document.getElementById('autostart');
const cbCloseToTray = document.getElementById('closeToTray');
const giteaTokenInput = document.getElementById('giteaTokenInput');
cbSky.checked = initialSky;
cbSkip.checked = initialSkip;
const [initialAutostart, initialCloseToTray] = await Promise.all([
window.settingsAPI.getAutostart(),
window.settingsAPI.getCloseToTray()
]);
cbAutostart.checked = initialAutostart;
cbCloseToTray.checked = initialCloseToTray;
ok.addEventListener('click', async () => {
await window.settingsAPI.setSkyMode(cbSky.checked);
await window.settingsAPI.setSkipPrompt(cbSkip.checked);
window.close();
});
cancel.addEventListener('click', () => window.close());
close.addEventListener('click', () => window.close());
// Initialwerte parallel laden
const [initialTheme, initialSkip, initialThreshold, initialMinutes, initialRewordMode] = await Promise.all([
window.settingsAPI.getTheme(),
window.settingsAPI.getSkipPrompt(),
window.electronAPI.getIntelligentCommitThreshold(),
window.electronAPI.getMinutesCommitThreshold(),
window.settingsAPI.getRewordMode()
]);
const fallbackTheme = VALID_THEMES.includes(initialTheme) ? initialTheme : 'sky';
themeSelect.value = fallbackTheme;
applyThemeClass(fallbackTheme);
// Inputs setzen
cbSkip.checked = initialSkip;
thresholdInput.value = initialThreshold;
minutesInput.value = initialMinutes;
rewordModeSelect.value = ['ask', 'auto', 'manual'].includes(initialRewordMode)
? initialRewordMode
: 'ask';
// **Vorschau**: Theme sofort übernehmen
themeSelect.addEventListener('change', async () => {
const val = themeSelect.value || 'default';
await window.settingsAPI.setTheme(val);
applyThemeClass(val);
});
</script>
const initialToken = await window.settingsAPI.getGiteaToken();
giteaTokenInput.value = initialToken || '';
// OK: alles final speichern – eine fehlschlagende Einstellung darf die
// anderen nicht blockieren und das Fenster muss sich immer schließen.
ok.addEventListener('click', async () => {
const errors = [];
const safe = async (name, promise) => {
try { await promise; } catch (e) { errors.push(`${name}: ${e}`); }
};
await safe('Skip-Prompt', window.settingsAPI.setSkipPrompt(cbSkip.checked));
await safe('Autostart', window.settingsAPI.setAutostart(cbAutostart.checked));
await safe('Close-to-Tray', window.settingsAPI.setCloseToTray(cbCloseToTray.checked));
await safe('Theme', window.settingsAPI.setTheme(themeSelect.value || fallbackTheme));
await safe('Reword-Mode', window.settingsAPI.setRewordMode(rewordModeSelect.value || 'ask'));
// Threshold speichern (immer Wert aus Feld nehmen!)
let threshold = parseInt(thresholdInput.value, 10);
if (isNaN(threshold)) threshold = 10;
if (threshold < 1) threshold = 1;
if (threshold > 1000) threshold = 1000;
await safe('Commit-Threshold', window.settingsAPI.setIntelligentCommitThreshold(threshold));
let minutes = parseInt(minutesInput.value, 10);
if (isNaN(minutes)) minutes = 10;
if (minutes < 1) minutes = 1;
if (minutes > 1000) minutes = 60;
await safe('Minutes-Threshold', window.settingsAPI.setMinutesCommitThreshold(minutes));
// Dropdowns speichern
const commitSel = document.getElementById('commitModelSelect');
const readmeSel = document.getElementById('readmeModelSelect');
if (commitSel) await safe('Commit-Model', window.settingsAPI.setCommitModel(commitSel.value));
if (readmeSel) await safe('Readme-Model', window.settingsAPI.setReadmeModel(readmeSel.value));
await safe('Gitea-Token', window.settingsAPI.setGiteaToken(giteaTokenInput.value.trim()));
if (errors.length) {
alert('Nicht alle Einstellungen konnten gespeichert werden:\n\n' + errors.join('\n'));
}
window.settingsAPI.close();
});
// Cancel / Close: Theme zurücksetzen, dann schließen
const rollback = async () => {
await window.settingsAPI.setTheme(fallbackTheme);
applyThemeClass(fallbackTheme);
window.settingsAPI.close();
};
cancel.addEventListener('click', rollback);
const container = document.getElementById('ollama-model-selectors');
const res = await window.electronAPI.ollamaList();
if (res.status === 'no-cli') {
container.innerHTML = `
<div style="color:red;font-weight:bold;margin:1em 0;">
Ollama is not reachable. Start Ollama or install it to use the cool stuff !!
</div>`;
return;
}
if (res.status === 'error') {
container.innerHTML = `<div style="color:orange">Error fetching models: ${res.msg}</div>`;
return;
}
// Liste der Modell-Namen extrahieren
const names = [...new Set(res.models.map(m => m.name || m.model).filter(Boolean))];
const qwen = names.filter(n => /^qwen2\.5-coder(:[\w\-.]+)?$/.test(n));
if (!names.length) {
// keine lokalen Modelle → Pull-Buttons für die bisherigen Defaults
container.innerHTML = `
<button id="pullCommitModelBtn" style="margin-bottom:8px;">
ollama pull qwen2.5-coder:7b
</button><br>
<button id="pullReadmeModelBtn">
ollama pull qwen2.5-coder:32b
</button>`;
document.getElementById('pullCommitModelBtn').onclick = async () => {
await window.electronAPI.ollamaPull('qwen2.5-coder:7b');
location.reload();
};
document.getElementById('pullReadmeModelBtn').onclick = async () => {
await window.electronAPI.ollamaPull('qwen2.5-coder:32b');
location.reload();
};
return;
}
// Dropdowns aufbauen
const makeOpts = (arr, sel) =>
arr.map(m => `<option ${m===sel?'selected':''}>${m}</option>`).join('');
// Default-Auswahl aus Settings (oder erstes gefundenes)
const commitDefault = qwen.find(m=>m.includes('7b')) || names[0];
const readmeDefault= qwen.find(m=>m.includes('32b')) || names[0];
const currentCommit = await window.settingsAPI.getCommitModel?.() || commitDefault;
const currentReadme= await window.settingsAPI.getReadmeModel?.() || readmeDefault;
container.innerHTML = `
<div class="row">
<label>Model for commit message generation:
<select id="commitModelSelect">
${makeOpts(names, currentCommit)}
</select>
</label>
<label>Model for README generation:
<select id="readmeModelSelect">
${makeOpts(names, currentReadme)}
</select>
</label>
</div>`;
});
</script>
</head>
<body>
<div class="dialog">
<div class="header">
<h1>Einstellungen</h1>
<button class="close-btn" id="closeBtn">✕</button>
</div>
<div class="options">
<label class="option">
<input type="checkbox" id="skymode" />
Sky Mode aktivieren
<input type="checkbox" id="autostart" />
Launch on System start
</label>
<label class="option">
<input type="checkbox" id="skipPrompt" />
<input type="checkbox" id="closeToTray" checked />
Close to Tray
</label>
<label class="option" style="align-items:center;">
Theme:
<select id="themeSelect" style="margin-left:1em;">
<option value="sky">SkyMode</option>
<option value="default">Default</option>
<option value="grey">Grey</option>
</select>
</label>
<label class="option" style="align-items:center;">
Reword button:
<select id="rewordModeSelect" style="margin-left:1em;">
<option value="ask">Ask every time</option>
<option value="auto">Automatic (LLM)</option>
<option value="manual">Manual input</option>
</select>
</label>
<label class="option">
<input type="checkbox" id="skipPrompt" class="flex-none" />
Skip prompt asking to remove .git folder if it has only one commit and no changes
</label>
<label class="block mb-2 font-semibold">
Rewrite commits after
<input type="number" id="intelligentCommitThresholdInput" min="1" max="1000" value="10" step="1" class="border rounded px-2 py-1 w-20 mx-1" class="flex-none">
lines of diff or
<input type="number" id="intelligentCommitMinutesInput" min="1" max="1000" value="10" step="1" class="border rounded px-2 py-1 w-20 mx-1" class="flex-none">
minutes have passed
</label>
<div class="options">
<!-- Hier kommt das Model-Selector-HTML rein -->
<div id="ollama-model-selectors"></div>
</div>
<div class="row">
<label class="block mb-2 font-semibold">Gitea API Token:</label>
<input
type="password"
id="giteaTokenInput"
placeholder="Enter your Gitea token…"
class="border rounded px-2 py-1 w-20 mx-1" class="flex-none"
/>
</div>
<!-- Weitere Optionen in Zukunft hier hinzufügen -->
</div>
<div class="buttons">
<button id="cancelBtn">Abbrechen</button>
<button id="okBtn">OK</button>
<button id="cancelBtn" class="text-sm font-medium">
<svg width="18" height="18" viewBox="0 0 20 20" fill="none" class="icon-left">
<path d="M6 6l8 8M6 14L14 6" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</button>
<button id="okBtn" class="text-sm font-medium">
<svg width="18" height="18" viewBox="0 0 20 20" fill="none" class="icon-left">
<path d="M5 11l4 4L15 7" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</button>
</div>
</div>
</body>
</html>
</html>

6026
src-tauri/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

32
src-tauri/Cargo.toml Normal file
View File

@@ -0,0 +1,32 @@
[package]
name = "auto-git"
version = "1.0.11"
description = "Auto-Git: Git monitoring with automatic LLM commit messages and README generation"
authors = ["Victor Giers"]
edition = "2021"
[build-dependencies]
tauri-build = { version = "2.6.0", features = [] }
[dependencies]
arboard = "3.6.1"
base64 = "0.22.1"
dirs = "6.0.0"
globset = "0.4.18"
ignore = "0.4.25"
notify = "8.2.0"
open = "5.3.3"
rfd = "0.15.4"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
tempfile = "3.23.0"
tauri = { version = "2.11.0", features = ["tray-icon", "image-png", "image-ico"] }
thiserror = "2.0.17"
reqwest = { version = "0.12.24", default-features = false, features = ["blocking", "json", "rustls-tls"] }
wait-timeout = "0.2.1"
[target.'cfg(target_os = "macos")'.dependencies]
auto-launch = "0.5.0"
[target.'cfg(not(target_os = "macos"))'.dependencies]
auto-launch = "0.5.0"

3
src-tauri/build.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
tauri_build::build()
}

View File

@@ -0,0 +1,13 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Default desktop capability for Auto-Git",
"windows": ["main", "settings"],
"permissions": [
"core:default",
"core:event:default",
"core:window:default",
"core:menu:default",
"core:tray:default"
]
}

5962
src-tauri/src/main.rs Normal file

File diff suppressed because it is too large Load Diff

40
src-tauri/tauri.conf.json Normal file
View File

@@ -0,0 +1,40 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Auto-Git",
"version": "1.0.11",
"identifier": "com.victorgiers.auto-git",
"build": {
"frontendDist": "../dist-tauri"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "Auto-Git",
"width": 900,
"height": 600,
"minWidth": 800,
"minHeight": 500,
"titleBarStyle": "Transparent",
"hiddenTitle": true,
"backgroundColor": "#fff1f2"
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"../assets/icon/linux/icon.png",
"../assets/icon/mac/icon.icns",
"../assets/icon/win/icon.ico"
],
"resources": [
"../assets/**/*"
]
}
}

141
tauriBridge.js Normal file
View File

@@ -0,0 +1,141 @@
(function () {
const tauri = window.__TAURI__;
if (!tauri || window.electronAPI || window.settingsAPI) return;
const invoke = (command, args = {}) => tauri.core.invoke(command, args);
const listen = (event, handler) => tauri.event.listen(event, handler);
let selectedCache = null;
const eventUnsubscribers = [];
function onTauriEvent(eventName, callback, legacyEventArg = true) {
const promise = listen(eventName, event => {
if (legacyEventArg) callback({}, event.payload);
else callback(event.payload);
});
eventUnsubscribers.push(promise);
return promise;
}
async function refreshSelectedCache() {
selectedCache = await invoke('get_selected');
return selectedCache;
}
listen('repo-updated', event => {
window.dispatchEvent(new CustomEvent('repo-updated', { detail: event.payload }));
});
listen('rewrite-progress', event => {
window.dispatchEvent(new CustomEvent('rewrite-progress', { detail: event.payload }));
});
listen('monitoring-error', event => {
window.dispatchEvent(new CustomEvent('monitoring-error', { detail: event.payload }));
});
listen('theme-changed', event => {
const theme = event.payload;
window.dispatchEvent(new CustomEvent('theme-changed', { detail: theme }));
window.dispatchEvent(new CustomEvent('skymode-changed', { detail: theme === 'sky' }));
});
listen('skymode-changed', event => {
const val = !!event.payload;
window.dispatchEvent(new CustomEvent('theme-changed', { detail: val ? 'sky' : 'default' }));
window.dispatchEvent(new CustomEvent('skymode-changed', { detail: val }));
});
listen('tauri://drag-drop', event => {
const paths = event.payload?.paths || [];
if (paths.length) {
window.dispatchEvent(new CustomEvent('tauri-folder-drop', { detail: paths }));
}
});
window.settingsAPI = {
getTheme: () => invoke('get_theme'),
setTheme: val => invoke('set_theme', { val }),
getSkyMode: () => invoke('get_theme').then(theme => theme === 'sky'),
setSkyMode: val => invoke('set_theme', { val: val ? 'sky' : 'default' }),
getSkipPrompt: () => invoke('get_skip_git_prompt'),
setSkipPrompt: val => invoke('set_skip_git_prompt', { val }),
getIntelligentCommitThreshold: () => invoke('get_intelligent_commit_threshold'),
setIntelligentCommitThreshold: value => invoke('set_intelligent_commit_threshold', { value }),
getMinutesCommitThreshold: () => invoke('get_minutes_commit_threshold'),
setMinutesCommitThreshold: value => invoke('set_minutes_commit_threshold', { value }),
getCommitModel: () => invoke('get_commit_model'),
setCommitModel: model => invoke('set_commit_model', { val: model }),
getReadmeModel: () => invoke('get_readme_model'),
setReadmeModel: model => invoke('set_readme_model', { val: model }),
getRewordMode: () => invoke('get_reword_mode'),
setRewordMode: val => invoke('set_reword_mode', { val }),
close: () => invoke('close_settings'),
getAutostart: () => invoke('get_autostart'),
setAutostart: val => invoke('set_autostart', { enabled: val }),
getCloseToTray: () => invoke('get_close_to_tray'),
setCloseToTray: val => invoke('set_close_to_tray', { val }),
getGiteaToken: () => invoke('get_gitea_token'),
setGiteaToken: token => invoke('set_gitea_token', { token })
};
window.electronAPI = {
getFolders: () => invoke('get_folders'),
addFolder: () => invoke('add_folder'),
removeFolder: folderObj => invoke('remove_folder', { folderObj }),
getSelected: refreshSelectedCache,
setSelected: async folderObj => {
selectedCache = await invoke('set_selected', { folderObjOrPath: folderObj });
return selectedCache;
},
getCommits: (folderObj, page, pageSize) => invoke('get_commits', { folderObj, page, pageSize }),
getAllCommitHashes: folderObj => invoke('get_all_commit_hashes', { folderObj }),
diffCommit: (folderObj, hash) => invoke('diff_commit', { folderObj, hash }),
revertCommit: (folderObj, hash) => invoke('revert_commit', { folderObj, hash }),
snapshotCommit: (folderObj, hash) => invoke('snapshot_commit', { folderObj, hash }),
checkoutCommit: (folderObj, hash) => invoke('checkout_commit', { folderObj, hash }),
getCommitCount: folderObj => invoke('get_commit_count', { folderObj }),
hasDiffs: folderObj => invoke('has_diffs', { folderObj }),
removeGitFolder: folderObj => invoke('remove_git_folder', { folderObj }),
commitCurrentFolder: (folderObj, message) => invoke('commit_current_folder', { folderObj, message }),
showFolderContextMenu: folderPath => invoke('show_folder_context_menu', { folderPath }),
setMonitoring: (folderObj, monitoring) => invoke('set_monitoring', { folderPath: folderObj.path, monitoring }),
getFolderTree: folderPath => invoke('get_folder_tree', { folderPath }),
showTreeContextMenu: info => invoke('show_tree_context_menu', { info }),
getSelectedSync: () => selectedCache || window.currentSelectedFolderObj || null,
getIntelligentCommitThreshold: () => invoke('get_intelligent_commit_threshold'),
setIntelligentCommitThreshold: value => invoke('set_intelligent_commit_threshold', { value }),
getMinutesCommitThreshold: () => invoke('get_minutes_commit_threshold'),
setMinutesCommitThreshold: value => invoke('set_minutes_commit_threshold', { value }),
ollamaList: () => invoke('ollama_list'),
ollamaPull: model => invoke('ollama_pull', { model }),
onTrayToggleMonitoring: callback => onTauriEvent('tray-toggle-monitoring', callback),
onTrayRemoveFolder: callback => onTauriEvent('tray-remove-folder', callback),
onTrayAddFolder: callback => onTauriEvent('tray-add-folder', callback),
onFoldersLocationUpdated: callback => onTauriEvent('folders-location-updated', callback, false),
isGitRepo: path => invoke('is_git_repo', { folderPath: path }),
relocateFolder: (oldPath, newPath) => invoke('relocate_folder', { oldPath, newPath }),
pickFolder: () => invoke('pick_folder'),
repoHasCommit: (repoPath, commitHash) => invoke('repo_has_commit', { repoPath, commitHash }),
addFolderByPath: folderPath => invoke('add_folder_by_path', { folderPath }),
onCatBegin: callback => onTauriEvent('cat-begin', callback),
onCatChunk: callback => onTauriEvent('cat-chunk', callback),
onCatEnd: callback => onTauriEvent('cat-end', callback),
getDailyCommitStats: () => invoke('get_daily_commit_stats'),
hasReadme: folderPath => invoke('has_readme', { folderPath }),
generateReadme: folderPath => invoke('generate_readme', { folderPath }),
squashCommits: folderPath => invoke('squash_commits', { folderPath }),
pushToGitea: folderPath => invoke('push_to_gitea', { folderPath }),
initRepo: folderPath => invoke('init_repo', { folderPath }),
triggerRewriteNow: folderPath => invoke('trigger_rewrite_now', { folderPath }),
rewriteCommit: (folderPath, hash) => invoke('rewrite_commit', { folderPath, hash }),
rewriteCommitWithMessage: (folderPath, hash, message) => invoke('rewrite_commit_with_message', { folderPath, hash, message }),
rewritePendingCommits: folderPath => invoke('rewrite_pending_commits', { folderPath })
};
window.addEventListener('beforeunload', () => {
for (const pending of eventUnsubscribers) {
pending.then(unlisten => unlisten()).catch(() => {});
}
});
})();