claudesync 0.2.3__tar.gz → 0.2.5__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.
- claudesync-0.2.5/PKG-INFO +85 -0
- claudesync-0.2.5/README.md +68 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/pyproject.toml +3 -2
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/__init__.py +3 -2
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/file_handler.py +2 -2
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/main.py +3 -3
- claudesync-0.2.5/src/claudesync.egg-info/PKG-INFO +85 -0
- claudesync-0.2.5/src/claudesync.egg-info/entry_points.txt +2 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync.egg-info/requires.txt +1 -0
- claudesync-0.2.3/PKG-INFO +0 -124
- claudesync-0.2.3/README.md +0 -108
- claudesync-0.2.3/src/claudesync.egg-info/PKG-INFO +0 -124
- claudesync-0.2.3/src/claudesync.egg-info/entry_points.txt +0 -2
- {claudesync-0.2.3 → claudesync-0.2.5}/LICENSE +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/setup.cfg +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/setup.py +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/api_utils.py +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/debounce.py +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/gitignore_utils.py +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync/manual_auth.py +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync.egg-info/SOURCES.txt +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync.egg-info/dependency_links.txt +0 -0
- {claudesync-0.2.3 → claudesync-0.2.5}/src/claudesync.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: claudesync
|
|
3
|
+
Version: 0.2.5
|
|
4
|
+
Summary: A tool to synchronize local files with Claude.ai projects
|
|
5
|
+
Author-email: Jahziah Wagner <jahziah.wagner+pypi@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/jahwag/claudesync
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/jahwag/claudesync/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: watchdog
|
|
15
|
+
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: pathspec
|
|
17
|
+
|
|
18
|
+
# ClaudeSync
|
|
19
|
+
|
|
20
|
+
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
21
|
+
|
|
22
|
+
ClaudeSync is a powerful tool designed to seamlessly synchronize your local files with [Claude.ai](https://www.anthropic.com/claude) projects.
|
|
23
|
+
|
|
24
|
+
## 🤖 What is Claude.ai?
|
|
25
|
+
|
|
26
|
+
[Claude.ai](https://www.anthropic.com/claude) is an advanced AI assistant created by Anthropic, capable of engaging in various tasks including analysis, coding, and creative writing. ClaudeSync bridges the gap between your local development environment and Claude.ai's knowledge base.
|
|
27
|
+
|
|
28
|
+
## 🚀 Key Features
|
|
29
|
+
|
|
30
|
+
- **Real-time synchronization** with Claude.ai projects
|
|
31
|
+
- **User-friendly Terminal User Interface (TUI)**
|
|
32
|
+
- **Automatic handling** of file creation, modification, and deletion
|
|
33
|
+
- **Intelligent file filtering** based on .gitignore rules
|
|
34
|
+
- **Configurable sync delay** to optimize performance
|
|
35
|
+
- **Seamless integration** with your existing workflow
|
|
36
|
+
|
|
37
|
+
## 🖼️ Screenshots
|
|
38
|
+
|
|
39
|
+
<table>
|
|
40
|
+
<tr>
|
|
41
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen1.png" alt="ClaudeSync Interface" width="400"/></td>
|
|
42
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen2.png" alt="ClaudeSync in Action" width="400"/></td>
|
|
43
|
+
</tr>
|
|
44
|
+
</table>
|
|
45
|
+
|
|
46
|
+
## 🚀 Quick Start
|
|
47
|
+
|
|
48
|
+
1. **Install ClaudeSync:**
|
|
49
|
+
```bash
|
|
50
|
+
pip install claudesync
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
2. **Run ClaudeSync:**
|
|
54
|
+
```bash
|
|
55
|
+
claudesync
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
That's it! ClaudeSync will guide you through obtaining your session key and selecting your project. It will then start syncing your current directory with your Claude.ai project.
|
|
59
|
+
|
|
60
|
+
## 🛠️ Advanced Usage
|
|
61
|
+
|
|
62
|
+
For more options and advanced configurations, run:
|
|
63
|
+
```bash
|
|
64
|
+
claudesync --help
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## 🤝 Contributing
|
|
68
|
+
|
|
69
|
+
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information.
|
|
70
|
+
|
|
71
|
+
## 📄 License
|
|
72
|
+
|
|
73
|
+
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|
|
74
|
+
|
|
75
|
+
## ⚠️ Disclaimer
|
|
76
|
+
|
|
77
|
+
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
|
78
|
+
|
|
79
|
+
## 📞 Support
|
|
80
|
+
|
|
81
|
+
If you encounter any issues or have questions, please [open an issue](https://github.com/jahwag/ClaudeSync/issues) on our GitHub repository.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
Made with ❤️ by the ClaudeSync team
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# ClaudeSync
|
|
2
|
+
|
|
3
|
+
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
4
|
+
|
|
5
|
+
ClaudeSync is a powerful tool designed to seamlessly synchronize your local files with [Claude.ai](https://www.anthropic.com/claude) projects.
|
|
6
|
+
|
|
7
|
+
## 🤖 What is Claude.ai?
|
|
8
|
+
|
|
9
|
+
[Claude.ai](https://www.anthropic.com/claude) is an advanced AI assistant created by Anthropic, capable of engaging in various tasks including analysis, coding, and creative writing. ClaudeSync bridges the gap between your local development environment and Claude.ai's knowledge base.
|
|
10
|
+
|
|
11
|
+
## 🚀 Key Features
|
|
12
|
+
|
|
13
|
+
- **Real-time synchronization** with Claude.ai projects
|
|
14
|
+
- **User-friendly Terminal User Interface (TUI)**
|
|
15
|
+
- **Automatic handling** of file creation, modification, and deletion
|
|
16
|
+
- **Intelligent file filtering** based on .gitignore rules
|
|
17
|
+
- **Configurable sync delay** to optimize performance
|
|
18
|
+
- **Seamless integration** with your existing workflow
|
|
19
|
+
|
|
20
|
+
## 🖼️ Screenshots
|
|
21
|
+
|
|
22
|
+
<table>
|
|
23
|
+
<tr>
|
|
24
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen1.png" alt="ClaudeSync Interface" width="400"/></td>
|
|
25
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen2.png" alt="ClaudeSync in Action" width="400"/></td>
|
|
26
|
+
</tr>
|
|
27
|
+
</table>
|
|
28
|
+
|
|
29
|
+
## 🚀 Quick Start
|
|
30
|
+
|
|
31
|
+
1. **Install ClaudeSync:**
|
|
32
|
+
```bash
|
|
33
|
+
pip install claudesync
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. **Run ClaudeSync:**
|
|
37
|
+
```bash
|
|
38
|
+
claudesync
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
That's it! ClaudeSync will guide you through obtaining your session key and selecting your project. It will then start syncing your current directory with your Claude.ai project.
|
|
42
|
+
|
|
43
|
+
## 🛠️ Advanced Usage
|
|
44
|
+
|
|
45
|
+
For more options and advanced configurations, run:
|
|
46
|
+
```bash
|
|
47
|
+
claudesync --help
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## 🤝 Contributing
|
|
51
|
+
|
|
52
|
+
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information.
|
|
53
|
+
|
|
54
|
+
## 📄 License
|
|
55
|
+
|
|
56
|
+
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|
|
57
|
+
|
|
58
|
+
## ⚠️ Disclaimer
|
|
59
|
+
|
|
60
|
+
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
|
61
|
+
|
|
62
|
+
## 📞 Support
|
|
63
|
+
|
|
64
|
+
If you encounter any issues or have questions, please [open an issue](https://github.com/jahwag/ClaudeSync/issues) on our GitHub repository.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
Made with ❤️ by the ClaudeSync team
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "claudesync"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.5"
|
|
8
8
|
authors = [
|
|
9
9
|
{name = "Jahziah Wagner", email = "jahziah.wagner+pypi@gmail.com"},
|
|
10
10
|
]
|
|
@@ -19,6 +19,7 @@ classifiers = [
|
|
|
19
19
|
dependencies = [
|
|
20
20
|
"watchdog",
|
|
21
21
|
"requests",
|
|
22
|
+
"pathspec",
|
|
22
23
|
]
|
|
23
24
|
|
|
24
25
|
[project.urls]
|
|
@@ -26,7 +27,7 @@ dependencies = [
|
|
|
26
27
|
"Bug Tracker" = "https://github.com/jahwag/claudesync/issues"
|
|
27
28
|
|
|
28
29
|
[project.scripts]
|
|
29
|
-
claudesync = "claudesync.
|
|
30
|
+
claudesync = "claudesync.main:main"
|
|
30
31
|
|
|
31
32
|
[tool.setuptools.packages.find]
|
|
32
33
|
where = ["src"]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from .main import main
|
|
2
|
-
from .file_handler import FileUploadHandler
|
|
3
2
|
from .api_utils import fetch_user_id, fetch_projects, select_project, create_project
|
|
3
|
+
from .debounce import DebounceHandler
|
|
4
|
+
from .file_handler import FileUploadHandler
|
|
4
5
|
from .manual_auth import get_session_key
|
|
5
6
|
|
|
6
|
-
__all__ = ['main', 'FileUploadHandler', 'fetch_user_id', 'fetch_projects', 'select_project', 'create_project', 'get_session_key']
|
|
7
|
+
__all__ = ['main', 'FileUploadHandler', 'DebounceHandler', 'fetch_user_id', 'fetch_projects', 'select_project', 'create_project', 'get_session_key']
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from watchdog.events import FileSystemEventHandler
|
|
3
|
-
from debounce import DebounceHandler
|
|
4
|
-
from gitignore_utils import load_gitignore, should_ignore
|
|
3
|
+
from .debounce import DebounceHandler
|
|
4
|
+
from .gitignore_utils import load_gitignore, should_ignore
|
|
5
5
|
import requests
|
|
6
6
|
|
|
7
7
|
class FileUploadHandler(FileSystemEventHandler):
|
|
@@ -5,10 +5,10 @@ import json
|
|
|
5
5
|
import os
|
|
6
6
|
import sys
|
|
7
7
|
from watchdog.observers import Observer
|
|
8
|
-
from file_handler import FileUploadHandler
|
|
9
|
-
from api_utils import fetch_user_id, fetch_projects, select_project, create_project
|
|
8
|
+
from .file_handler import FileUploadHandler
|
|
9
|
+
from .api_utils import fetch_user_id, fetch_projects, select_project, create_project
|
|
10
10
|
|
|
11
|
-
from manual_auth import get_session_key
|
|
11
|
+
from .manual_auth import get_session_key
|
|
12
12
|
|
|
13
13
|
class ClaudeSyncTUI:
|
|
14
14
|
def __init__(self, session_key, watch_dir, user_id, project_id, delay):
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: claudesync
|
|
3
|
+
Version: 0.2.5
|
|
4
|
+
Summary: A tool to synchronize local files with Claude.ai projects
|
|
5
|
+
Author-email: Jahziah Wagner <jahziah.wagner+pypi@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/jahwag/claudesync
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/jahwag/claudesync/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: watchdog
|
|
15
|
+
Requires-Dist: requests
|
|
16
|
+
Requires-Dist: pathspec
|
|
17
|
+
|
|
18
|
+
# ClaudeSync
|
|
19
|
+
|
|
20
|
+
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
21
|
+
|
|
22
|
+
ClaudeSync is a powerful tool designed to seamlessly synchronize your local files with [Claude.ai](https://www.anthropic.com/claude) projects.
|
|
23
|
+
|
|
24
|
+
## 🤖 What is Claude.ai?
|
|
25
|
+
|
|
26
|
+
[Claude.ai](https://www.anthropic.com/claude) is an advanced AI assistant created by Anthropic, capable of engaging in various tasks including analysis, coding, and creative writing. ClaudeSync bridges the gap between your local development environment and Claude.ai's knowledge base.
|
|
27
|
+
|
|
28
|
+
## 🚀 Key Features
|
|
29
|
+
|
|
30
|
+
- **Real-time synchronization** with Claude.ai projects
|
|
31
|
+
- **User-friendly Terminal User Interface (TUI)**
|
|
32
|
+
- **Automatic handling** of file creation, modification, and deletion
|
|
33
|
+
- **Intelligent file filtering** based on .gitignore rules
|
|
34
|
+
- **Configurable sync delay** to optimize performance
|
|
35
|
+
- **Seamless integration** with your existing workflow
|
|
36
|
+
|
|
37
|
+
## 🖼️ Screenshots
|
|
38
|
+
|
|
39
|
+
<table>
|
|
40
|
+
<tr>
|
|
41
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen1.png" alt="ClaudeSync Interface" width="400"/></td>
|
|
42
|
+
<td><img src="https://raw.githubusercontent.com/jahwag/ClaudeSync/master/screen2.png" alt="ClaudeSync in Action" width="400"/></td>
|
|
43
|
+
</tr>
|
|
44
|
+
</table>
|
|
45
|
+
|
|
46
|
+
## 🚀 Quick Start
|
|
47
|
+
|
|
48
|
+
1. **Install ClaudeSync:**
|
|
49
|
+
```bash
|
|
50
|
+
pip install claudesync
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
2. **Run ClaudeSync:**
|
|
54
|
+
```bash
|
|
55
|
+
claudesync
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
That's it! ClaudeSync will guide you through obtaining your session key and selecting your project. It will then start syncing your current directory with your Claude.ai project.
|
|
59
|
+
|
|
60
|
+
## 🛠️ Advanced Usage
|
|
61
|
+
|
|
62
|
+
For more options and advanced configurations, run:
|
|
63
|
+
```bash
|
|
64
|
+
claudesync --help
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## 🤝 Contributing
|
|
68
|
+
|
|
69
|
+
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information.
|
|
70
|
+
|
|
71
|
+
## 📄 License
|
|
72
|
+
|
|
73
|
+
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|
|
74
|
+
|
|
75
|
+
## ⚠️ Disclaimer
|
|
76
|
+
|
|
77
|
+
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
|
78
|
+
|
|
79
|
+
## 📞 Support
|
|
80
|
+
|
|
81
|
+
If you encounter any issues or have questions, please [open an issue](https://github.com/jahwag/ClaudeSync/issues) on our GitHub repository.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
Made with ❤️ by the ClaudeSync team
|
claudesync-0.2.3/PKG-INFO
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: claudesync
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary: A tool to synchronize local files with Claude.ai projects
|
|
5
|
-
Author-email: Jahziah Wagner <jahziah.wagner+pypi@gmail.com>
|
|
6
|
-
Project-URL: Homepage, https://github.com/jahwag/claudesync
|
|
7
|
-
Project-URL: Bug Tracker, https://github.com/jahwag/claudesync/issues
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.6
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
License-File: LICENSE
|
|
14
|
-
Requires-Dist: watchdog
|
|
15
|
-
Requires-Dist: requests
|
|
16
|
-
|
|
17
|
-
# ClaudeSync
|
|
18
|
-
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
19
|
-
|
|
20
|
-
ClaudeSync is a Python tool that automates the synchronization of local files with Claude.ai Projects. It watches specified directories and automatically uploads modified files to your Claude.ai Project's knowledge base.
|
|
21
|
-
|
|
22
|
-
Key features:
|
|
23
|
-
- Monitors local directories for file changes
|
|
24
|
-
- Automatically uploads new or modified files to Claude.ai Projects
|
|
25
|
-
- Configurable delay to prevent excessive uploads during active editing
|
|
26
|
-
- Supports both command-line arguments and config file for flexibility
|
|
27
|
-
- Handles recursive directory watching
|
|
28
|
-
- User-friendly Terminal User Interface (TUI)
|
|
29
|
-
|
|
30
|
-
Use ClaudeSync if you're working with Claude.ai Projects and want to keep your project's knowledge base updated with your local files without manual uploads.
|
|
31
|
-
|
|
32
|
-

|
|
33
|
-
|
|
34
|
-
## Installation
|
|
35
|
-
|
|
36
|
-
Install ClaudeSync using pip:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
pip install claudesync
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Configuration
|
|
43
|
-
|
|
44
|
-
You have two options for configuring ClaudeSync:
|
|
45
|
-
|
|
46
|
-
1. Command-line arguments (recommended for one-time use or testing)
|
|
47
|
-
2. Configuration file (recommended for repeated use)
|
|
48
|
-
|
|
49
|
-
### Option 1: Command-line Arguments
|
|
50
|
-
|
|
51
|
-
Provide your session key and watch directory directly in the command:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Option 2: Configuration File
|
|
58
|
-
|
|
59
|
-
Create a `config.json` file in your working directory:
|
|
60
|
-
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"user_id": "your-user-id-here",
|
|
64
|
-
"project_id": "your-project-id-here"
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Then run ClaudeSync:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Usage
|
|
75
|
-
|
|
76
|
-
### Basic Usage
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Parameters
|
|
83
|
-
|
|
84
|
-
- `--session-key`: Your Claude.ai session key (required)
|
|
85
|
-
- `--watch-dir`: Directory to watch for changes (default: current directory)
|
|
86
|
-
- `--user-id`: User ID for Claude API (optional if in config.json)
|
|
87
|
-
- `--project-id`: Project ID for Claude API (optional if in config.json)
|
|
88
|
-
- `--delay`: Delay in seconds before uploading (default: 5)
|
|
89
|
-
|
|
90
|
-
### Examples
|
|
91
|
-
|
|
92
|
-
Watch the current directory and sync changes:
|
|
93
|
-
```bash
|
|
94
|
-
claudesync --session-key YOUR_SESSION_KEY
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Watch a specific directory with a custom delay:
|
|
98
|
-
```bash
|
|
99
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch --delay 10
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## Terminal User Interface (TUI)
|
|
103
|
-
|
|
104
|
-
ClaudeSync now features a user-friendly TUI that displays:
|
|
105
|
-
|
|
106
|
-
- Watched directory
|
|
107
|
-
- Upload delay
|
|
108
|
-
- User ID
|
|
109
|
-
- Project ID
|
|
110
|
-
- Recent activity log
|
|
111
|
-
|
|
112
|
-
To exit the TUI, press 'q'.
|
|
113
|
-
|
|
114
|
-
## Contributing
|
|
115
|
-
|
|
116
|
-
We welcome contributions to ClaudeSync! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information on how to get started.
|
|
117
|
-
|
|
118
|
-
## License
|
|
119
|
-
|
|
120
|
-
[MIT License](https://opensource.org/licenses/MIT)
|
|
121
|
-
|
|
122
|
-
## Disclaimer
|
|
123
|
-
|
|
124
|
-
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
claudesync-0.2.3/README.md
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
# ClaudeSync
|
|
2
|
-
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
3
|
-
|
|
4
|
-
ClaudeSync is a Python tool that automates the synchronization of local files with Claude.ai Projects. It watches specified directories and automatically uploads modified files to your Claude.ai Project's knowledge base.
|
|
5
|
-
|
|
6
|
-
Key features:
|
|
7
|
-
- Monitors local directories for file changes
|
|
8
|
-
- Automatically uploads new or modified files to Claude.ai Projects
|
|
9
|
-
- Configurable delay to prevent excessive uploads during active editing
|
|
10
|
-
- Supports both command-line arguments and config file for flexibility
|
|
11
|
-
- Handles recursive directory watching
|
|
12
|
-
- User-friendly Terminal User Interface (TUI)
|
|
13
|
-
|
|
14
|
-
Use ClaudeSync if you're working with Claude.ai Projects and want to keep your project's knowledge base updated with your local files without manual uploads.
|
|
15
|
-
|
|
16
|
-

|
|
17
|
-
|
|
18
|
-
## Installation
|
|
19
|
-
|
|
20
|
-
Install ClaudeSync using pip:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
pip install claudesync
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Configuration
|
|
27
|
-
|
|
28
|
-
You have two options for configuring ClaudeSync:
|
|
29
|
-
|
|
30
|
-
1. Command-line arguments (recommended for one-time use or testing)
|
|
31
|
-
2. Configuration file (recommended for repeated use)
|
|
32
|
-
|
|
33
|
-
### Option 1: Command-line Arguments
|
|
34
|
-
|
|
35
|
-
Provide your session key and watch directory directly in the command:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Option 2: Configuration File
|
|
42
|
-
|
|
43
|
-
Create a `config.json` file in your working directory:
|
|
44
|
-
|
|
45
|
-
```json
|
|
46
|
-
{
|
|
47
|
-
"user_id": "your-user-id-here",
|
|
48
|
-
"project_id": "your-project-id-here"
|
|
49
|
-
}
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Then run ClaudeSync:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Usage
|
|
59
|
-
|
|
60
|
-
### Basic Usage
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Parameters
|
|
67
|
-
|
|
68
|
-
- `--session-key`: Your Claude.ai session key (required)
|
|
69
|
-
- `--watch-dir`: Directory to watch for changes (default: current directory)
|
|
70
|
-
- `--user-id`: User ID for Claude API (optional if in config.json)
|
|
71
|
-
- `--project-id`: Project ID for Claude API (optional if in config.json)
|
|
72
|
-
- `--delay`: Delay in seconds before uploading (default: 5)
|
|
73
|
-
|
|
74
|
-
### Examples
|
|
75
|
-
|
|
76
|
-
Watch the current directory and sync changes:
|
|
77
|
-
```bash
|
|
78
|
-
claudesync --session-key YOUR_SESSION_KEY
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Watch a specific directory with a custom delay:
|
|
82
|
-
```bash
|
|
83
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch --delay 10
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Terminal User Interface (TUI)
|
|
87
|
-
|
|
88
|
-
ClaudeSync now features a user-friendly TUI that displays:
|
|
89
|
-
|
|
90
|
-
- Watched directory
|
|
91
|
-
- Upload delay
|
|
92
|
-
- User ID
|
|
93
|
-
- Project ID
|
|
94
|
-
- Recent activity log
|
|
95
|
-
|
|
96
|
-
To exit the TUI, press 'q'.
|
|
97
|
-
|
|
98
|
-
## Contributing
|
|
99
|
-
|
|
100
|
-
We welcome contributions to ClaudeSync! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information on how to get started.
|
|
101
|
-
|
|
102
|
-
## License
|
|
103
|
-
|
|
104
|
-
[MIT License](https://opensource.org/licenses/MIT)
|
|
105
|
-
|
|
106
|
-
## Disclaimer
|
|
107
|
-
|
|
108
|
-
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: claudesync
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary: A tool to synchronize local files with Claude.ai projects
|
|
5
|
-
Author-email: Jahziah Wagner <jahziah.wagner+pypi@gmail.com>
|
|
6
|
-
Project-URL: Homepage, https://github.com/jahwag/claudesync
|
|
7
|
-
Project-URL: Bug Tracker, https://github.com/jahwag/claudesync/issues
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python: >=3.6
|
|
12
|
-
Description-Content-Type: text/markdown
|
|
13
|
-
License-File: LICENSE
|
|
14
|
-
Requires-Dist: watchdog
|
|
15
|
-
Requires-Dist: requests
|
|
16
|
-
|
|
17
|
-
# ClaudeSync
|
|
18
|
-
[](https://github.com/jahwag/ClaudeSync/actions/workflows/publish-to-pypi.yml)
|
|
19
|
-
|
|
20
|
-
ClaudeSync is a Python tool that automates the synchronization of local files with Claude.ai Projects. It watches specified directories and automatically uploads modified files to your Claude.ai Project's knowledge base.
|
|
21
|
-
|
|
22
|
-
Key features:
|
|
23
|
-
- Monitors local directories for file changes
|
|
24
|
-
- Automatically uploads new or modified files to Claude.ai Projects
|
|
25
|
-
- Configurable delay to prevent excessive uploads during active editing
|
|
26
|
-
- Supports both command-line arguments and config file for flexibility
|
|
27
|
-
- Handles recursive directory watching
|
|
28
|
-
- User-friendly Terminal User Interface (TUI)
|
|
29
|
-
|
|
30
|
-
Use ClaudeSync if you're working with Claude.ai Projects and want to keep your project's knowledge base updated with your local files without manual uploads.
|
|
31
|
-
|
|
32
|
-

|
|
33
|
-
|
|
34
|
-
## Installation
|
|
35
|
-
|
|
36
|
-
Install ClaudeSync using pip:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
pip install claudesync
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Configuration
|
|
43
|
-
|
|
44
|
-
You have two options for configuring ClaudeSync:
|
|
45
|
-
|
|
46
|
-
1. Command-line arguments (recommended for one-time use or testing)
|
|
47
|
-
2. Configuration file (recommended for repeated use)
|
|
48
|
-
|
|
49
|
-
### Option 1: Command-line Arguments
|
|
50
|
-
|
|
51
|
-
Provide your session key and watch directory directly in the command:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### Option 2: Configuration File
|
|
58
|
-
|
|
59
|
-
Create a `config.json` file in your working directory:
|
|
60
|
-
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"user_id": "your-user-id-here",
|
|
64
|
-
"project_id": "your-project-id-here"
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Then run ClaudeSync:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Usage
|
|
75
|
-
|
|
76
|
-
### Basic Usage
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Parameters
|
|
83
|
-
|
|
84
|
-
- `--session-key`: Your Claude.ai session key (required)
|
|
85
|
-
- `--watch-dir`: Directory to watch for changes (default: current directory)
|
|
86
|
-
- `--user-id`: User ID for Claude API (optional if in config.json)
|
|
87
|
-
- `--project-id`: Project ID for Claude API (optional if in config.json)
|
|
88
|
-
- `--delay`: Delay in seconds before uploading (default: 5)
|
|
89
|
-
|
|
90
|
-
### Examples
|
|
91
|
-
|
|
92
|
-
Watch the current directory and sync changes:
|
|
93
|
-
```bash
|
|
94
|
-
claudesync --session-key YOUR_SESSION_KEY
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Watch a specific directory with a custom delay:
|
|
98
|
-
```bash
|
|
99
|
-
claudesync --session-key YOUR_SESSION_KEY --watch-dir /path/to/watch --delay 10
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## Terminal User Interface (TUI)
|
|
103
|
-
|
|
104
|
-
ClaudeSync now features a user-friendly TUI that displays:
|
|
105
|
-
|
|
106
|
-
- Watched directory
|
|
107
|
-
- Upload delay
|
|
108
|
-
- User ID
|
|
109
|
-
- Project ID
|
|
110
|
-
- Recent activity log
|
|
111
|
-
|
|
112
|
-
To exit the TUI, press 'q'.
|
|
113
|
-
|
|
114
|
-
## Contributing
|
|
115
|
-
|
|
116
|
-
We welcome contributions to ClaudeSync! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more information on how to get started.
|
|
117
|
-
|
|
118
|
-
## License
|
|
119
|
-
|
|
120
|
-
[MIT License](https://opensource.org/licenses/MIT)
|
|
121
|
-
|
|
122
|
-
## Disclaimer
|
|
123
|
-
|
|
124
|
-
Ensure you have the necessary permissions to access and modify your Claude.ai projects. Keep your session key secure and do not share it publicly.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|