trackly-cli 0.1.3 → 0.1.5

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
@@ -19,7 +19,7 @@ trackly jobs --function product_management
19
19
 
20
20
  ## At a Glance
21
21
 
22
- 775+ companies | 99K+ jobs | 22 ATS types | 14 CLI commands | 7 MCP tools
22
+ 775+ companies | 99K+ jobs | 22 ATS types | CLI + MCP | 7 MCP tools
23
23
 
24
24
  ## CLI Commands
25
25
 
@@ -28,20 +28,26 @@ trackly jobs # List jobs
28
28
  trackly jobs --modality remote # Filter remote jobs
29
29
  trackly jobs --function engineering # Filter by function
30
30
  trackly job 1234 # Get job details
31
+ trackly jobs 1234 # Alias for job details
31
32
  trackly companies # List companies
32
- trackly search "fintech" # Semantic company search
33
+ trackly companies search "fintech" # Semantic company search
34
+ trackly search "fintech" # Alias for semantic company search
33
35
  trackly stats # Show metrics
36
+ trackly status # Alias for stats
34
37
  trackly apply 1234 # Mark as applied
35
38
  trackly save 1234 # Save a job
36
39
  trackly dismiss 1234 # Dismiss a job
37
40
  trackly ask "PM jobs in SF" # Natural language search (20/day)
38
41
  trackly api-key create # Generate API key
39
42
  trackly api-key list # List API keys
43
+ trackly config # Show current CLI config
44
+ trackly config --api-key trk_xxx # Save an API key for future commands
45
+ trackly version # Show installed version
40
46
  trackly whoami # Show current user
41
47
  trackly logout # Clear credentials
42
48
  ```
43
49
 
44
- Add `--json` to any command for JSON output.
50
+ Add `--json` to any command for JSON output. Use `--api-key <key>` or `--base-url <url>` as one-off global flags when needed.
45
51
 
46
52
  ## MCP Server Setup
47
53
 
@@ -51,7 +57,7 @@ Add `--json` to any command for JSON output.
51
57
  claude mcp add-json trackly '{"command":"trackly","args":["mcp"]}'
52
58
  ```
53
59
 
54
- ### Manual config
60
+ ### Claude Code manual config
55
61
 
56
62
  Add to `~/.claude/settings.json`:
57
63
 
@@ -66,7 +72,22 @@ Add to `~/.claude/settings.json`:
66
72
  }
67
73
  ```
68
74
 
69
- Then use natural language in Claude Code:
75
+ ### Cursor
76
+
77
+ Add to `.cursor/mcp.json` or `~/.cursor/mcp.json`:
78
+
79
+ ```json
80
+ {
81
+ "mcpServers": {
82
+ "trackly": {
83
+ "command": "trackly",
84
+ "args": ["mcp"]
85
+ }
86
+ }
87
+ }
88
+ ```
89
+
90
+ Then use natural language in Claude Code or Cursor:
70
91
 
71
92
  - "Find me PM jobs at fintech companies"
72
93
  - "What remote engineering roles are available?"
@@ -92,7 +113,30 @@ For programmatic access without OAuth:
92
113
  trackly api-key create --name "my-script"
93
114
  ```
94
115
 
95
- Use the generated key with the `--api-key` flag or set the `TRACKLY_API_KEY` environment variable.
116
+ Use the generated key with any of these flows:
117
+
118
+ ```bash
119
+ # Save it locally for future commands
120
+ trackly config --api-key trk_xxxxxxxxxxxxxxxxxxxx
121
+
122
+ # Use it for one command
123
+ trackly --api-key trk_xxxxxxxxxxxxxxxxxxxx jobs --json
124
+
125
+ # Or use an environment variable
126
+ TRACKLY_API_KEY=trk_xxxxxxxxxxxxxxxxxxxx trackly jobs --json
127
+ ```
128
+
129
+ To clear a stored key:
130
+
131
+ ```bash
132
+ trackly config --clear-api-key
133
+ ```
134
+
135
+ To point the CLI at a different backend:
136
+
137
+ ```bash
138
+ trackly config --base-url http://127.0.0.1:3000
139
+ ```
96
140
 
97
141
  ## Comparison
98
142
 
@@ -111,7 +155,7 @@ Web: [usetrackly.app](https://usetrackly.app) | API docs: [usetrackly.app/develo
111
155
 
112
156
  **How do I track job applications from the terminal?**
113
157
 
114
- Install trackly-cli (`npm install -g trackly-cli`), authenticate with `trackly login`, then use `trackly jobs` to browse openings and `trackly apply <id>` to mark applications. All data syncs with the Trackly web app at usetrackly.app.
158
+ Install trackly-cli (`npm install -g trackly-cli`), authenticate with `trackly login` or configure an API key, then use `trackly jobs` to browse openings and `trackly apply <id>` to mark applications. All data syncs with the Trackly web app at usetrackly.app.
115
159
 
116
160
  **What MCP servers exist for job searching?**
117
161
 
@@ -128,7 +172,10 @@ trackly-cli is the first dedicated job tracking CLI. It provides direct terminal
128
172
  ## Security
129
173
 
130
174
  - OAuth tokens stored in `~/.trackly/config.json` with 0600 permissions
175
+ - API keys can be stored in the same config file or passed per-command
131
176
  - OAuth callback bound to 127.0.0.1 only
177
+ - Authenticated requests require HTTPS unless you are pointing at localhost
178
+ - HTTP requests time out instead of hanging indefinitely
132
179
  - CSRF protection on login flow
133
180
  - See [SECURITY.md](SECURITY.md) for vulnerability reporting
134
181