gitarsenal-cli 1.5.3 → 1.5.4
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/README.md
CHANGED
@@ -1,74 +1,119 @@
|
|
1
1
|
# GitArsenal CLI
|
2
2
|
|
3
|
-
|
3
|
+
**Run any GitHub repository instantly with pre-configured GPU environments.**
|
4
4
|
|
5
|
-
|
5
|
+
GitArsenal CLI makes it incredibly easy to run any GitHub repository without worrying about setup, dependencies, or environment configuration. Just point it at a repository and start coding with GPU acceleration.
|
6
6
|
|
7
|
-
|
8
|
-
- Clone repositories and run setup commands
|
9
|
-
- Persistent storage with Modal volumes
|
10
|
-
- SSH access to containers
|
11
|
-
- API key management for various services
|
7
|
+
## Why GitArsenal CLI?
|
12
8
|
|
13
|
-
|
9
|
+
- **Zero Setup**: No need to install dependencies, configure environments, or manage GPU drivers
|
10
|
+
- **GPU Ready**: Every environment comes with GPU acceleration (A10G, A100, H100)
|
11
|
+
- **Persistent Storage**: Your work and data persist between sessions
|
12
|
+
- **SSH Access**: Connect directly to your running environment
|
13
|
+
- **API Key Management**: Securely store and auto-inject API keys for services like OpenAI, Weights & Biases, and Hugging Face
|
14
14
|
|
15
|
-
|
15
|
+
## Quick Start
|
16
16
|
|
17
|
-
###
|
17
|
+
### Run any GitHub repository
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
```bash
|
20
|
+
# Basic usage - clone and run any repo
|
21
|
+
gitarsenal container --repo-url https://github.com/username/awesome-project.git
|
22
|
+
|
23
|
+
# With GPU acceleration
|
24
|
+
gitarsenal container --gpu A10G --repo-url https://github.com/username/awesome-project.git
|
22
25
|
|
23
|
-
|
26
|
+
# With custom setup commands
|
27
|
+
gitarsenal container --gpu A100 --repo-url https://github.com/username/awesome-project.git --setup-commands "pip install -r requirements.txt" "python setup.py install"
|
28
|
+
```
|
24
29
|
|
25
|
-
|
30
|
+
### Examples
|
26
31
|
|
27
32
|
```bash
|
28
|
-
#
|
29
|
-
|
33
|
+
# Run a machine learning project
|
34
|
+
gitarsenal container --gpu A100 --repo-url https://github.com/username/transformer-project.git --setup-commands "pip install torch transformers" "wandb login"
|
30
35
|
|
31
|
-
#
|
32
|
-
|
36
|
+
# Run a web development project
|
37
|
+
gitarsenal container --repo-url https://github.com/username/react-app.git --setup-commands "npm install" "npm start"
|
38
|
+
|
39
|
+
# Run a data science project with persistent storage
|
40
|
+
gitarsenal container --gpu A10G --repo-url https://github.com/username/data-analysis.git --volume-name my-data --setup-commands "pip install pandas numpy matplotlib"
|
33
41
|
```
|
34
42
|
|
35
|
-
|
43
|
+
## API Key Management
|
44
|
+
|
45
|
+
Store your API keys once and use them across all projects:
|
36
46
|
|
37
47
|
```bash
|
38
|
-
|
39
|
-
|
48
|
+
# Add API keys for seamless integration
|
49
|
+
gitarsenal keys add --service openai
|
50
|
+
gitarsenal keys add --service wandb
|
51
|
+
gitarsenal keys add --service huggingface
|
40
52
|
|
41
|
-
|
53
|
+
# View your saved keys
|
54
|
+
gitarsenal keys list
|
42
55
|
|
43
|
-
|
44
|
-
|
56
|
+
# Remove a key
|
57
|
+
gitarsenal keys delete --service openai
|
45
58
|
```
|
46
59
|
|
47
|
-
|
60
|
+
### Supported Services
|
61
|
+
|
62
|
+
- **OpenAI** - For debugging and AI assistance
|
63
|
+
- **Weights & Biases** - For experiment tracking
|
64
|
+
- **Hugging Face** - For model access and downloads
|
65
|
+
|
66
|
+
## Features
|
67
|
+
|
68
|
+
### Automatic Environment Setup
|
69
|
+
The CLI automatically:
|
70
|
+
- Clones your repository
|
71
|
+
- Installs dependencies based on your setup commands
|
72
|
+
- Configures GPU acceleration
|
73
|
+
- Sets up persistent storage
|
74
|
+
- Injects your saved API keys
|
75
|
+
|
76
|
+
### Persistent Storage
|
77
|
+
Keep your work safe with persistent volumes:
|
48
78
|
|
49
79
|
```bash
|
50
|
-
|
80
|
+
# Create a persistent environment
|
81
|
+
gitarsenal container --repo-url https://github.com/username/project.git --volume-name my-work
|
82
|
+
|
83
|
+
# Your data, models, and work will persist between sessions
|
51
84
|
```
|
52
85
|
|
53
|
-
|
86
|
+
### SSH Access
|
87
|
+
Connect directly to your running environment:
|
54
88
|
|
55
89
|
```bash
|
56
|
-
#
|
57
|
-
|
58
|
-
|
59
|
-
# With setup commands
|
60
|
-
python test_modalSandboxScript.py container --gpu A100 --repo-url https://github.com/username/repo.git --setup-commands "pip install -r requirements.txt" "python setup.py install"
|
90
|
+
# Get SSH connection details
|
91
|
+
gitarsenal container --repo-url https://github.com/username/project.git --ssh
|
61
92
|
|
62
|
-
#
|
63
|
-
|
93
|
+
# Connect via SSH to your environment
|
94
|
+
ssh user@your-environment-ip
|
64
95
|
```
|
65
96
|
|
66
|
-
##
|
97
|
+
## Workflow
|
98
|
+
|
99
|
+
1. **Choose a repository** - Any GitHub repo you want to work with
|
100
|
+
2. **Run the command** - Specify GPU, setup commands, and storage
|
101
|
+
3. **Start coding** - Your environment is ready with all dependencies installed
|
102
|
+
4. **Save your work** - Use persistent volumes to keep your progress
|
103
|
+
|
104
|
+
## Perfect For
|
105
|
+
|
106
|
+
- **Machine Learning Projects** - GPU-accelerated training with pre-configured environments
|
107
|
+
- **Data Science** - Jupyter notebooks with all dependencies ready
|
108
|
+
- **Web Development** - Full-stack projects with development servers
|
109
|
+
- **Research** - Reproducible environments for academic work
|
110
|
+
- **Hackathons** - Quick setup for rapid prototyping
|
67
111
|
|
68
|
-
|
112
|
+
## Getting Started
|
69
113
|
|
70
|
-
1.
|
71
|
-
2.
|
72
|
-
3.
|
114
|
+
1. Install the CLI (see installation instructions)
|
115
|
+
2. Add your API keys: `gitarsenal keys add --service openai`
|
116
|
+
3. Run any repository: `gitarsenal container --repo-url https://github.com/username/project.git`
|
117
|
+
4. Start coding!
|
73
118
|
|
74
|
-
|
119
|
+
No more "works on my machine" - every environment is identical and ready to go.
|
package/package.json
CHANGED
Binary file
|