git-tm 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 vHackBots
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Nandhu Krishnan A
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,85 +1,89 @@
1
- <div align="center">
2
- <img src="src/public/images/logo.svg" width="100" height="100">
3
-
4
- <h1>Git Time Machine</h1>
5
-
6
- <br/>
7
- </div>
8
-
9
- An elegant visual Git history explorer with real-time commit comparison capabilities.
10
-
11
- Built for [FOSS Hack 2025](https://fossunited.org/fosshack/2025), Git Time Machine empowers developers to travel through their codebase history, debug with ease, and collaborate seamlessly. Whether you're auditing changes, resolving conflicts, or understanding project growth, this tool has you covered—all while staying true to the spirit of free and open-source software.
12
-
13
- ---
14
-
15
- ## Features
16
-
17
- ### Core Functionality
18
-
19
- - **Interactive Branch Navigation**:
20
- - Visual branch list with color coding
21
- - Support for both local and remote branches
22
- - Easy branch switching and tracking
23
-
24
- - **Rich Commit History**:
25
- - Beautiful commit timeline visualization
26
- - Emoji support for conventional commit messages
27
- - Author avatars with GitHub profile integration
28
- - Detailed commit metadata (author, date, hash)
29
-
30
- - **Advanced Diff Viewer**:
31
- - Side-by-side commit comparison
32
- - Syntax-highlighted code diffs
33
- - File status indicators (Added, Modified, Deleted)
34
- - Collapsible diff sections by file
35
- - Line number tracking for both versions
36
- - Binary file detection
37
-
38
- - **User Interface**:
39
- - Modern glass-morphism design
40
- - Responsive layout for all screen sizes
41
- - Smooth animations and transitions
42
- - Toast notifications for user feedback
43
- - Collapsible comparison panel
44
-
45
- ### Technical Features
46
-
47
- - **Git Integration**:
48
- - Full Git repository support
49
- - Remote repository synchronization
50
- - Branch checkout capabilities
51
- - Comprehensive commit history
52
-
53
- - **Performance**:
54
- - Lazy loading of commit data
55
- - Efficient diff parsing and rendering
56
- - Optimized avatar loading with fallbacks
57
- - Minimal memory footprint
58
-
59
- ### Installation
60
-
61
- ```bash
62
- npm install -g git-tm
63
- ```
64
-
65
- ## Usage
66
-
67
- 1. **Open a Project**:
68
- - Clone a Git repository or open an existing project directory
69
- - Ensure that the project has a valid Git history
70
-
71
- 2. **Run the cli command**:
72
- - Run the following command in the terminal:
73
-
74
- ```bash
75
- git-tm .
76
- ```
77
-
78
- - This will start the Git Time Machine server and open the web interface in your default browser
79
-
80
- 3. **Explore the History**:
81
- - Navigate through the commit history using the timeline
82
- - Compare commits by selecting two different versions
83
- - View detailed commit metadata and file changes
84
- - Switch branches and track changes in real-time
85
- - Enjoy the seamless Git experience!
1
+ <div align="center">
2
+ <img src="src/public/images/logo.svg" width="100" height="100">
3
+
4
+ <h1>Git Time Machine</h1>
5
+
6
+ <br/>
7
+ </div>
8
+
9
+ An elegant visual Git history explorer with real-time commit comparison capabilities.
10
+
11
+ Built for [FOSS Hack 2025](https://fossunited.org/fosshack/2025), Git Time Machine empowers developers to travel through their codebase history, debug with ease, and collaborate seamlessly. Whether you're auditing changes, resolving conflicts, or understanding project growth, this tool has you covered—all while staying true to the spirit of free and open-source software.
12
+
13
+ ---
14
+
15
+ ## Demo Video
16
+
17
+ [Git Time Machine Demo](demo/git-tm-demo.mp4)
18
+
19
+ ## Features
20
+
21
+ ### Core Functionality
22
+
23
+ - **Interactive Branch Navigation**:
24
+ - Visual branch list with color coding
25
+ - Support for both local and remote branches
26
+ - Easy branch switching and tracking
27
+
28
+ - **Rich Commit History**:
29
+ - Beautiful commit timeline visualization
30
+ - Emoji support for conventional commit messages
31
+ - Author avatars with GitHub profile integration
32
+ - Detailed commit metadata (author, date, hash)
33
+
34
+ - **Advanced Diff Viewer**:
35
+ - Side-by-side commit comparison
36
+ - Syntax-highlighted code diffs
37
+ - File status indicators (Added, Modified, Deleted)
38
+ - Collapsible diff sections by file
39
+ - Line number tracking for both versions
40
+ - Binary file detection
41
+
42
+ - **User Interface**:
43
+ - Modern glass-morphism design
44
+ - Responsive layout for all screen sizes
45
+ - Smooth animations and transitions
46
+ - Toast notifications for user feedback
47
+ - Collapsible comparison panel
48
+
49
+ ### Technical Features
50
+
51
+ - **Git Integration**:
52
+ - Full Git repository support
53
+ - Remote repository synchronization
54
+ - Branch checkout capabilities
55
+ - Comprehensive commit history
56
+
57
+ - **Performance**:
58
+ - Lazy loading of commit data
59
+ - Efficient diff parsing and rendering
60
+ - Optimized avatar loading with fallbacks
61
+ - Minimal memory footprint
62
+
63
+ ### Installation
64
+
65
+ ```bash
66
+ npm install -g git-tm
67
+ ```
68
+
69
+ ## Usage
70
+
71
+ 1. **Open a Project**:
72
+ - Clone a Git repository or open an existing project directory
73
+ - Ensure that the project has a valid Git history
74
+
75
+ 2. **Run the cli command**:
76
+ - Run the following command in the terminal:
77
+
78
+ ```bash
79
+ git-tm .
80
+ ```
81
+
82
+ - This will start the Git Time Machine server and open the web interface in your default browser
83
+
84
+ 3. **Explore the History**:
85
+ - Navigate through the commit history using the timeline
86
+ - Compare commits by selecting two different versions
87
+ - View detailed commit metadata and file changes
88
+ - Switch branches and track changes in real-time
89
+ - Enjoy the seamless Git experience!
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "git-tm",
3
- "version": "0.4.0",
4
- "description": "An elegant visual Git history explorer with real-time commit comparison capabilities",
5
- "main": "src/cli.js",
6
- "bin": {
7
- "git-tm": "src/cli.js"
8
- },
9
- "scripts": {
10
- "start": "node src/cli.js"
11
- },
12
- "type": "module",
13
- "dependencies": {
14
- "boxen": "^8.0.1",
15
- "center-align": "^1.0.1",
16
- "chalk": "^4.1.2",
17
- "commander": "^11.1.0",
18
- "express": "^4.18.2",
19
- "figlet": "^1.6.0",
20
- "gradient-string": "^3.0.0",
21
- "open": "^10.0.3",
22
- "ora": "^7.0.1",
23
- "simple-git": "^3.22.0"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://github.com/vHackBots/Git-Time-Machine.git"
28
- },
29
- "keywords": [
30
- "git-tm",
31
- "git-time-machine",
32
- "git",
33
- "time",
34
- "commits",
35
- "commit-history",
36
- "source-control",
37
- "github"
38
- ],
39
- "author": "nandhu-44",
40
- "license": "MIT",
41
- "bugs": {
42
- "url": "https://github.com/vHackBots/Git-Time-Machine/issues"
43
- },
44
- "homepage": "https://github.com/vHackBots/Git-Time-Machine#readme"
45
- }
1
+ {
2
+ "name": "git-tm",
3
+ "version": "0.4.1",
4
+ "description": "An elegant visual Git history explorer with real-time commit comparison capabilities",
5
+ "main": "src/cli.js",
6
+ "bin": {
7
+ "git-tm": "src/cli.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node src/cli.js"
11
+ },
12
+ "type": "module",
13
+ "dependencies": {
14
+ "boxen": "^8.0.1",
15
+ "center-align": "^1.0.1",
16
+ "chalk": "^4.1.2",
17
+ "commander": "^11.1.0",
18
+ "express": "^4.18.2",
19
+ "figlet": "^1.6.0",
20
+ "gradient-string": "^3.0.0",
21
+ "open": "^10.0.3",
22
+ "ora": "^7.0.1",
23
+ "simple-git": "^3.22.0"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://gitlab.com/nandhu-44/Git-Time-Machine.git"
28
+ },
29
+ "keywords": [
30
+ "git-tm",
31
+ "git-time-machine",
32
+ "git",
33
+ "time",
34
+ "commits",
35
+ "commit-history",
36
+ "source-control",
37
+ "gitlab"
38
+ ],
39
+ "author": "nandhu-44",
40
+ "license": "MIT",
41
+ "bugs": {
42
+ "url": "https://gitlab.com/nandhu-44/Git-Time-Machine/issues"
43
+ },
44
+ "homepage": "https://gitlab.com/nandhu-44/Git-Time-Machine#readme"
45
+ }