decrypt 1.1.0__tar.gz → 1.1.2__tar.gz
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.
- decrypt-1.1.2/PKG-INFO +174 -0
- decrypt-1.1.2/README.md +164 -0
- decrypt-1.1.2/decrypt.egg-info/PKG-INFO +174 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/pyproject.toml +2 -2
- decrypt-1.1.0/PKG-INFO +0 -109
- decrypt-1.1.0/README.md +0 -99
- decrypt-1.1.0/decrypt.egg-info/PKG-INFO +0 -109
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt/__init__.py +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt/main.py +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt.egg-info/SOURCES.txt +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt.egg-info/dependency_links.txt +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt.egg-info/entry_points.txt +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt.egg-info/requires.txt +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/decrypt.egg-info/top_level.txt +0 -0
- {decrypt-1.1.0 → decrypt-1.1.2}/setup.cfg +0 -0
decrypt-1.1.2/PKG-INFO
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: decrypt
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: AI-powered CLI tool that connects natural language with developer workflows
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: google-genai
|
|
8
|
+
Requires-Dist: pydantic-settings
|
|
9
|
+
Requires-Dist: tenacity
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
13
|
+
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
14
|
+
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
15
|
+
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
16
|
+
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
17
|
+
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
AI-powered CLI tool that connects natural language with developer workflows:
|
|
21
|
+
|
|
22
|
+
- Git commit generation
|
|
23
|
+
- Shell command generation
|
|
24
|
+
- Slang / abbreviation decoding
|
|
25
|
+
|
|
26
|
+
Powered by Google Gemini API.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
### Commit Generator (default mode)
|
|
33
|
+
Generates Conventional Commit messages from:
|
|
34
|
+
- staged git diff (`git diff --staged`)
|
|
35
|
+
- or manual input text
|
|
36
|
+
|
|
37
|
+
Example:
|
|
38
|
+
```bash
|
|
39
|
+
git add .
|
|
40
|
+
decrypt
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
or:
|
|
44
|
+
```bash
|
|
45
|
+
decrypt "fix auth bug in jwt middleware"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### Shell Command Generator
|
|
51
|
+
Convert natural language into executable terminal commands.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
decrypt -s "find all png files larger than 10MB and delete them"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Slang Decoder
|
|
60
|
+
Expands internet slang and shorthand into readable text.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
decrypt -sl "hru btw idk"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Interactive Mode
|
|
69
|
+
Run without arguments:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
decrypt
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Installation
|
|
78
|
+
|
|
79
|
+
### From PyPI
|
|
80
|
+
```bash
|
|
81
|
+
pip install decrypt
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Recommended (CLI isolation)
|
|
85
|
+
```bash
|
|
86
|
+
pipx install decrypt
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Local install
|
|
90
|
+
```bash
|
|
91
|
+
git clone https://github.com/REvDl/Scripts.git
|
|
92
|
+
cd Scripts/automation_tool/DecrypMessage
|
|
93
|
+
pip install .
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Configuration
|
|
99
|
+
|
|
100
|
+
On first run:
|
|
101
|
+
- Gemini API key
|
|
102
|
+
- Default language
|
|
103
|
+
|
|
104
|
+
Stored at:
|
|
105
|
+
```
|
|
106
|
+
~/.config/decrypt/.env
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Reset:
|
|
110
|
+
```bash
|
|
111
|
+
decrypt --config
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## CLI Usage
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
120
|
+
|
|
121
|
+
positional arguments:
|
|
122
|
+
text input text or git diff
|
|
123
|
+
|
|
124
|
+
options:
|
|
125
|
+
-h, --help show help
|
|
126
|
+
--lang LANG output language
|
|
127
|
+
--config reconfigure API key and language
|
|
128
|
+
-sl, --slang decode slang
|
|
129
|
+
-s, --shell generate shell command
|
|
130
|
+
-c, --commit generate commit message
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Examples
|
|
136
|
+
|
|
137
|
+
Commit:
|
|
138
|
+
```bash
|
|
139
|
+
git add .
|
|
140
|
+
decrypt
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Shell:
|
|
144
|
+
```bash
|
|
145
|
+
decrypt -s "kill all processes on port 3000"
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Slang:
|
|
149
|
+
```bash
|
|
150
|
+
decrypt -sl "idk brb hru"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Why
|
|
156
|
+
|
|
157
|
+
Developers constantly:
|
|
158
|
+
- write commit messages manually
|
|
159
|
+
- translate natural language into shell commands
|
|
160
|
+
- decode slang and shorthand text
|
|
161
|
+
|
|
162
|
+
This tool unifies all of that into a single CLI.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Tech Stack
|
|
167
|
+
|
|
168
|
+
- Python 3.10+
|
|
169
|
+
- Google Gemini API
|
|
170
|
+
- Tenacity
|
|
171
|
+
- Pydantic Settings
|
|
172
|
+
- argparse
|
|
173
|
+
|
|
174
|
+
---
|
decrypt-1.1.2/README.md
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
```
|
|
2
|
+
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
3
|
+
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
4
|
+
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
5
|
+
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
6
|
+
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
7
|
+
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
AI-powered CLI tool that connects natural language with developer workflows:
|
|
11
|
+
|
|
12
|
+
- Git commit generation
|
|
13
|
+
- Shell command generation
|
|
14
|
+
- Slang / abbreviation decoding
|
|
15
|
+
|
|
16
|
+
Powered by Google Gemini API.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Features
|
|
21
|
+
|
|
22
|
+
### Commit Generator (default mode)
|
|
23
|
+
Generates Conventional Commit messages from:
|
|
24
|
+
- staged git diff (`git diff --staged`)
|
|
25
|
+
- or manual input text
|
|
26
|
+
|
|
27
|
+
Example:
|
|
28
|
+
```bash
|
|
29
|
+
git add .
|
|
30
|
+
decrypt
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
or:
|
|
34
|
+
```bash
|
|
35
|
+
decrypt "fix auth bug in jwt middleware"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
### Shell Command Generator
|
|
41
|
+
Convert natural language into executable terminal commands.
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
decrypt -s "find all png files larger than 10MB and delete them"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
### Slang Decoder
|
|
50
|
+
Expands internet slang and shorthand into readable text.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
decrypt -sl "hru btw idk"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### Interactive Mode
|
|
59
|
+
Run without arguments:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
decrypt
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Installation
|
|
68
|
+
|
|
69
|
+
### From PyPI
|
|
70
|
+
```bash
|
|
71
|
+
pip install decrypt
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Recommended (CLI isolation)
|
|
75
|
+
```bash
|
|
76
|
+
pipx install decrypt
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Local install
|
|
80
|
+
```bash
|
|
81
|
+
git clone https://github.com/REvDl/Scripts.git
|
|
82
|
+
cd Scripts/automation_tool/DecrypMessage
|
|
83
|
+
pip install .
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Configuration
|
|
89
|
+
|
|
90
|
+
On first run:
|
|
91
|
+
- Gemini API key
|
|
92
|
+
- Default language
|
|
93
|
+
|
|
94
|
+
Stored at:
|
|
95
|
+
```
|
|
96
|
+
~/.config/decrypt/.env
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Reset:
|
|
100
|
+
```bash
|
|
101
|
+
decrypt --config
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## CLI Usage
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
110
|
+
|
|
111
|
+
positional arguments:
|
|
112
|
+
text input text or git diff
|
|
113
|
+
|
|
114
|
+
options:
|
|
115
|
+
-h, --help show help
|
|
116
|
+
--lang LANG output language
|
|
117
|
+
--config reconfigure API key and language
|
|
118
|
+
-sl, --slang decode slang
|
|
119
|
+
-s, --shell generate shell command
|
|
120
|
+
-c, --commit generate commit message
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Examples
|
|
126
|
+
|
|
127
|
+
Commit:
|
|
128
|
+
```bash
|
|
129
|
+
git add .
|
|
130
|
+
decrypt
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Shell:
|
|
134
|
+
```bash
|
|
135
|
+
decrypt -s "kill all processes on port 3000"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Slang:
|
|
139
|
+
```bash
|
|
140
|
+
decrypt -sl "idk brb hru"
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Why
|
|
146
|
+
|
|
147
|
+
Developers constantly:
|
|
148
|
+
- write commit messages manually
|
|
149
|
+
- translate natural language into shell commands
|
|
150
|
+
- decode slang and shorthand text
|
|
151
|
+
|
|
152
|
+
This tool unifies all of that into a single CLI.
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Tech Stack
|
|
157
|
+
|
|
158
|
+
- Python 3.10+
|
|
159
|
+
- Google Gemini API
|
|
160
|
+
- Tenacity
|
|
161
|
+
- Pydantic Settings
|
|
162
|
+
- argparse
|
|
163
|
+
|
|
164
|
+
---
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: decrypt
|
|
3
|
+
Version: 1.1.2
|
|
4
|
+
Summary: AI-powered CLI tool that connects natural language with developer workflows
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: google-genai
|
|
8
|
+
Requires-Dist: pydantic-settings
|
|
9
|
+
Requires-Dist: tenacity
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
13
|
+
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
14
|
+
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
15
|
+
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
16
|
+
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
17
|
+
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
AI-powered CLI tool that connects natural language with developer workflows:
|
|
21
|
+
|
|
22
|
+
- Git commit generation
|
|
23
|
+
- Shell command generation
|
|
24
|
+
- Slang / abbreviation decoding
|
|
25
|
+
|
|
26
|
+
Powered by Google Gemini API.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
### Commit Generator (default mode)
|
|
33
|
+
Generates Conventional Commit messages from:
|
|
34
|
+
- staged git diff (`git diff --staged`)
|
|
35
|
+
- or manual input text
|
|
36
|
+
|
|
37
|
+
Example:
|
|
38
|
+
```bash
|
|
39
|
+
git add .
|
|
40
|
+
decrypt
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
or:
|
|
44
|
+
```bash
|
|
45
|
+
decrypt "fix auth bug in jwt middleware"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
### Shell Command Generator
|
|
51
|
+
Convert natural language into executable terminal commands.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
decrypt -s "find all png files larger than 10MB and delete them"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Slang Decoder
|
|
60
|
+
Expands internet slang and shorthand into readable text.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
decrypt -sl "hru btw idk"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Interactive Mode
|
|
69
|
+
Run without arguments:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
decrypt
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Installation
|
|
78
|
+
|
|
79
|
+
### From PyPI
|
|
80
|
+
```bash
|
|
81
|
+
pip install decrypt
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Recommended (CLI isolation)
|
|
85
|
+
```bash
|
|
86
|
+
pipx install decrypt
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Local install
|
|
90
|
+
```bash
|
|
91
|
+
git clone https://github.com/REvDl/Scripts.git
|
|
92
|
+
cd Scripts/automation_tool/DecrypMessage
|
|
93
|
+
pip install .
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Configuration
|
|
99
|
+
|
|
100
|
+
On first run:
|
|
101
|
+
- Gemini API key
|
|
102
|
+
- Default language
|
|
103
|
+
|
|
104
|
+
Stored at:
|
|
105
|
+
```
|
|
106
|
+
~/.config/decrypt/.env
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Reset:
|
|
110
|
+
```bash
|
|
111
|
+
decrypt --config
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## CLI Usage
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
120
|
+
|
|
121
|
+
positional arguments:
|
|
122
|
+
text input text or git diff
|
|
123
|
+
|
|
124
|
+
options:
|
|
125
|
+
-h, --help show help
|
|
126
|
+
--lang LANG output language
|
|
127
|
+
--config reconfigure API key and language
|
|
128
|
+
-sl, --slang decode slang
|
|
129
|
+
-s, --shell generate shell command
|
|
130
|
+
-c, --commit generate commit message
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Examples
|
|
136
|
+
|
|
137
|
+
Commit:
|
|
138
|
+
```bash
|
|
139
|
+
git add .
|
|
140
|
+
decrypt
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Shell:
|
|
144
|
+
```bash
|
|
145
|
+
decrypt -s "kill all processes on port 3000"
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Slang:
|
|
149
|
+
```bash
|
|
150
|
+
decrypt -sl "idk brb hru"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Why
|
|
156
|
+
|
|
157
|
+
Developers constantly:
|
|
158
|
+
- write commit messages manually
|
|
159
|
+
- translate natural language into shell commands
|
|
160
|
+
- decode slang and shorthand text
|
|
161
|
+
|
|
162
|
+
This tool unifies all of that into a single CLI.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Tech Stack
|
|
167
|
+
|
|
168
|
+
- Python 3.10+
|
|
169
|
+
- Google Gemini API
|
|
170
|
+
- Tenacity
|
|
171
|
+
- Pydantic Settings
|
|
172
|
+
- argparse
|
|
173
|
+
|
|
174
|
+
---
|
|
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "decrypt"
|
|
7
|
-
version = "1.1.
|
|
8
|
-
description = "CLI tool
|
|
7
|
+
version = "1.1.2"
|
|
8
|
+
description = "AI-powered CLI tool that connects natural language with developer workflows"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
dependencies = [
|
decrypt-1.1.0/PKG-INFO
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: decrypt
|
|
3
|
-
Version: 1.1.0
|
|
4
|
-
Summary: CLI tool for deciphering internet abbreviations using Gemini API
|
|
5
|
-
Requires-Python: >=3.10
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: google-genai
|
|
8
|
-
Requires-Dist: pydantic-settings
|
|
9
|
-
Requires-Dist: tenacity
|
|
10
|
-
|
|
11
|
-
```text
|
|
12
|
-
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
13
|
-
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
14
|
-
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
15
|
-
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
16
|
-
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
17
|
-
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
AI-powered CLI utility providing an operational bridge between natural language instructions, automatic Git commit generation, and contextual slang decoding using the Google Gemini API. Built for high performance and strict output isolation.
|
|
21
|
-
|
|
22
|
-
## Features
|
|
23
|
-
|
|
24
|
-
- **Automated Commit Generation (Default Mode):** Automatically extracts and staging-analyses active local diffs via `git diff --staged` to generate professional, clean Conventional Commits messages.
|
|
25
|
-
- **Natural Language Shell Commands (`-s` / `--shell`):** Converts loose technical intents into valid, optimized, executable Bash or cross-platform terminal commands.
|
|
26
|
-
- **Accurate Slang & Internet Abbreviation Decoder (`-sl` / `--slang`):** Recovers structure, expands short forms, and normalizes text lacking vowels or proper grammar into standard text for specified target languages.
|
|
27
|
-
- **Fault-Tolerant Fallback System:** Uses a multi-model architecture pool (`gemini-2.5-flash` -> `gemini-2.5-flash-lite`) combined with exponential backoff retries via `tenacity` to stay operational during 429 quota limits or 503 errors.
|
|
28
|
-
|
|
29
|
-
## Installation
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
git clone [https://github.com/REvDl/Scripts.git](https://github.com/REvDl/Scripts.git)
|
|
33
|
-
cd Scripts/automation_tool/DecrypMessage
|
|
34
|
-
pip install .
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Configuration
|
|
38
|
-
|
|
39
|
-
On the initial execution, the application will automatically prompt you to enter your **Gemini API Key** and preferred **default language**. These credentials are saved to a local configuration file.
|
|
40
|
-
|
|
41
|
-
- **Storage Location:** `~/.config/decrypt/.env`
|
|
42
|
-
- **Manual Reset Command:** `decrypt --config`
|
|
43
|
-
|
|
44
|
-
## Technical Reference & CLI Arguments
|
|
45
|
-
|
|
46
|
-
```text
|
|
47
|
-
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
48
|
-
|
|
49
|
-
AI-powered CLI tool
|
|
50
|
-
• Conventional Commits
|
|
51
|
-
• Shell Commands
|
|
52
|
-
• Slang Decoder
|
|
53
|
-
|
|
54
|
-
positional arguments:
|
|
55
|
-
text Optional text input. Commit mode (default): if empty, uses git diff;
|
|
56
|
-
if provided, generates commit from this description.
|
|
57
|
-
|
|
58
|
-
options:
|
|
59
|
-
-h, --help show this help message and exit
|
|
60
|
-
--lang LANG Transcription language (default from .env)
|
|
61
|
-
--config Force re-configure API key and language
|
|
62
|
-
-sl, --slang Mode: Accurately expand and decipher internet abbreviations and slang
|
|
63
|
-
-s, --shell Mode: Generate an executable shell command from natural language
|
|
64
|
-
-c, --commit Mode: Generate Git commit message from text or staged diffs (default)
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Usage Examples
|
|
68
|
-
|
|
69
|
-
### 1. Generating Conventional Commits
|
|
70
|
-
|
|
71
|
-
Stage your local changes and execute the default command pipeline:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
git add src/core.py
|
|
75
|
-
decrypt
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Alternatively, pass raw text input directly through standard arguments to format a manual draft:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
decrypt "fixed a broken connections pooling bug inside the database wrapper"
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### 2. Translating Natural Language to Terminal Syntax
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
decrypt -s "find all json files in the current folder larger than 50 megabytes and delete them"
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### 3. Expanding Slang / Chat History
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
decrypt -sl "hru btw" --lang "English"
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### 4. Interactive Mode (REPL)
|
|
97
|
-
|
|
98
|
-
Executing the engine without positional string parameters drops down into a low-overhead, persistent shell environment running standard loops:
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
decrypt -s
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
```text
|
|
105
|
-
Interactive mode (SHELL). Language: English. Type 'exit' to quit.
|
|
106
|
-
> list all docker containers running on port 80
|
|
107
|
-
docker ps --filter "publish=80"
|
|
108
|
-
>
|
|
109
|
-
```
|
decrypt-1.1.0/README.md
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
```text
|
|
2
|
-
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
3
|
-
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
4
|
-
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
5
|
-
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
6
|
-
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
7
|
-
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
AI-powered CLI utility providing an operational bridge between natural language instructions, automatic Git commit generation, and contextual slang decoding using the Google Gemini API. Built for high performance and strict output isolation.
|
|
11
|
-
|
|
12
|
-
## Features
|
|
13
|
-
|
|
14
|
-
- **Automated Commit Generation (Default Mode):** Automatically extracts and staging-analyses active local diffs via `git diff --staged` to generate professional, clean Conventional Commits messages.
|
|
15
|
-
- **Natural Language Shell Commands (`-s` / `--shell`):** Converts loose technical intents into valid, optimized, executable Bash or cross-platform terminal commands.
|
|
16
|
-
- **Accurate Slang & Internet Abbreviation Decoder (`-sl` / `--slang`):** Recovers structure, expands short forms, and normalizes text lacking vowels or proper grammar into standard text for specified target languages.
|
|
17
|
-
- **Fault-Tolerant Fallback System:** Uses a multi-model architecture pool (`gemini-2.5-flash` -> `gemini-2.5-flash-lite`) combined with exponential backoff retries via `tenacity` to stay operational during 429 quota limits or 503 errors.
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
git clone [https://github.com/REvDl/Scripts.git](https://github.com/REvDl/Scripts.git)
|
|
23
|
-
cd Scripts/automation_tool/DecrypMessage
|
|
24
|
-
pip install .
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Configuration
|
|
28
|
-
|
|
29
|
-
On the initial execution, the application will automatically prompt you to enter your **Gemini API Key** and preferred **default language**. These credentials are saved to a local configuration file.
|
|
30
|
-
|
|
31
|
-
- **Storage Location:** `~/.config/decrypt/.env`
|
|
32
|
-
- **Manual Reset Command:** `decrypt --config`
|
|
33
|
-
|
|
34
|
-
## Technical Reference & CLI Arguments
|
|
35
|
-
|
|
36
|
-
```text
|
|
37
|
-
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
38
|
-
|
|
39
|
-
AI-powered CLI tool
|
|
40
|
-
• Conventional Commits
|
|
41
|
-
• Shell Commands
|
|
42
|
-
• Slang Decoder
|
|
43
|
-
|
|
44
|
-
positional arguments:
|
|
45
|
-
text Optional text input. Commit mode (default): if empty, uses git diff;
|
|
46
|
-
if provided, generates commit from this description.
|
|
47
|
-
|
|
48
|
-
options:
|
|
49
|
-
-h, --help show this help message and exit
|
|
50
|
-
--lang LANG Transcription language (default from .env)
|
|
51
|
-
--config Force re-configure API key and language
|
|
52
|
-
-sl, --slang Mode: Accurately expand and decipher internet abbreviations and slang
|
|
53
|
-
-s, --shell Mode: Generate an executable shell command from natural language
|
|
54
|
-
-c, --commit Mode: Generate Git commit message from text or staged diffs (default)
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Usage Examples
|
|
58
|
-
|
|
59
|
-
### 1. Generating Conventional Commits
|
|
60
|
-
|
|
61
|
-
Stage your local changes and execute the default command pipeline:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
git add src/core.py
|
|
65
|
-
decrypt
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Alternatively, pass raw text input directly through standard arguments to format a manual draft:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
decrypt "fixed a broken connections pooling bug inside the database wrapper"
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### 2. Translating Natural Language to Terminal Syntax
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
decrypt -s "find all json files in the current folder larger than 50 megabytes and delete them"
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### 3. Expanding Slang / Chat History
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
decrypt -sl "hru btw" --lang "English"
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### 4. Interactive Mode (REPL)
|
|
87
|
-
|
|
88
|
-
Executing the engine without positional string parameters drops down into a low-overhead, persistent shell environment running standard loops:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
decrypt -s
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
```text
|
|
95
|
-
Interactive mode (SHELL). Language: English. Type 'exit' to quit.
|
|
96
|
-
> list all docker containers running on port 80
|
|
97
|
-
docker ps --filter "publish=80"
|
|
98
|
-
>
|
|
99
|
-
```
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: decrypt
|
|
3
|
-
Version: 1.1.0
|
|
4
|
-
Summary: CLI tool for deciphering internet abbreviations using Gemini API
|
|
5
|
-
Requires-Python: >=3.10
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: google-genai
|
|
8
|
-
Requires-Dist: pydantic-settings
|
|
9
|
-
Requires-Dist: tenacity
|
|
10
|
-
|
|
11
|
-
```text
|
|
12
|
-
██████╗ ███████╗ ██████╗██████╗ ██╗ ██╗██████╗ ████████╗
|
|
13
|
-
██╔══██╗██╔════╝██╔════╝██╔══██╗╚██╗ ██╔╝██╔══██╗╚══██╔══╝
|
|
14
|
-
██║ ██║█████╗ ██║ ██████╔╝ ╚████╔╝ ██████╔╝ ██║
|
|
15
|
-
██║ ██║██╔══╝ ██║ ██╔══██╗ ╚██╔╝ ██╔═══╝ ██║
|
|
16
|
-
██████╔╝███████╗╚██████╗██║ ██║ ██║ ██║ ██║
|
|
17
|
-
╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
AI-powered CLI utility providing an operational bridge between natural language instructions, automatic Git commit generation, and contextual slang decoding using the Google Gemini API. Built for high performance and strict output isolation.
|
|
21
|
-
|
|
22
|
-
## Features
|
|
23
|
-
|
|
24
|
-
- **Automated Commit Generation (Default Mode):** Automatically extracts and staging-analyses active local diffs via `git diff --staged` to generate professional, clean Conventional Commits messages.
|
|
25
|
-
- **Natural Language Shell Commands (`-s` / `--shell`):** Converts loose technical intents into valid, optimized, executable Bash or cross-platform terminal commands.
|
|
26
|
-
- **Accurate Slang & Internet Abbreviation Decoder (`-sl` / `--slang`):** Recovers structure, expands short forms, and normalizes text lacking vowels or proper grammar into standard text for specified target languages.
|
|
27
|
-
- **Fault-Tolerant Fallback System:** Uses a multi-model architecture pool (`gemini-2.5-flash` -> `gemini-2.5-flash-lite`) combined with exponential backoff retries via `tenacity` to stay operational during 429 quota limits or 503 errors.
|
|
28
|
-
|
|
29
|
-
## Installation
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
git clone [https://github.com/REvDl/Scripts.git](https://github.com/REvDl/Scripts.git)
|
|
33
|
-
cd Scripts/automation_tool/DecrypMessage
|
|
34
|
-
pip install .
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Configuration
|
|
38
|
-
|
|
39
|
-
On the initial execution, the application will automatically prompt you to enter your **Gemini API Key** and preferred **default language**. These credentials are saved to a local configuration file.
|
|
40
|
-
|
|
41
|
-
- **Storage Location:** `~/.config/decrypt/.env`
|
|
42
|
-
- **Manual Reset Command:** `decrypt --config`
|
|
43
|
-
|
|
44
|
-
## Technical Reference & CLI Arguments
|
|
45
|
-
|
|
46
|
-
```text
|
|
47
|
-
usage: decrypt [-h] [--lang LANG] [--config] [-sl] [-s] [-c] [text]
|
|
48
|
-
|
|
49
|
-
AI-powered CLI tool
|
|
50
|
-
• Conventional Commits
|
|
51
|
-
• Shell Commands
|
|
52
|
-
• Slang Decoder
|
|
53
|
-
|
|
54
|
-
positional arguments:
|
|
55
|
-
text Optional text input. Commit mode (default): if empty, uses git diff;
|
|
56
|
-
if provided, generates commit from this description.
|
|
57
|
-
|
|
58
|
-
options:
|
|
59
|
-
-h, --help show this help message and exit
|
|
60
|
-
--lang LANG Transcription language (default from .env)
|
|
61
|
-
--config Force re-configure API key and language
|
|
62
|
-
-sl, --slang Mode: Accurately expand and decipher internet abbreviations and slang
|
|
63
|
-
-s, --shell Mode: Generate an executable shell command from natural language
|
|
64
|
-
-c, --commit Mode: Generate Git commit message from text or staged diffs (default)
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Usage Examples
|
|
68
|
-
|
|
69
|
-
### 1. Generating Conventional Commits
|
|
70
|
-
|
|
71
|
-
Stage your local changes and execute the default command pipeline:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
git add src/core.py
|
|
75
|
-
decrypt
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Alternatively, pass raw text input directly through standard arguments to format a manual draft:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
decrypt "fixed a broken connections pooling bug inside the database wrapper"
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### 2. Translating Natural Language to Terminal Syntax
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
decrypt -s "find all json files in the current folder larger than 50 megabytes and delete them"
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### 3. Expanding Slang / Chat History
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
decrypt -sl "hru btw" --lang "English"
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### 4. Interactive Mode (REPL)
|
|
97
|
-
|
|
98
|
-
Executing the engine without positional string parameters drops down into a low-overhead, persistent shell environment running standard loops:
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
decrypt -s
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
```text
|
|
105
|
-
Interactive mode (SHELL). Language: English. Type 'exit' to quit.
|
|
106
|
-
> list all docker containers running on port 80
|
|
107
|
-
docker ps --filter "publish=80"
|
|
108
|
-
>
|
|
109
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|