envlink 1.0.2 → 1.0.7
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.
Potentially problematic release.
This version of envlink might be problematic. Click here for more details.
- package/README.md +2 -1
- package/commands.md +10 -9
- package/dist/index.js +87 -85
- package/faq.md +166 -0
- package/package.json +2 -1
package/faq.md
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# EnvLink FAQ
|
|
2
|
+
|
|
3
|
+
## General
|
|
4
|
+
|
|
5
|
+
<details>
|
|
6
|
+
<summary>What is EnvLink?</summary>
|
|
7
|
+
|
|
8
|
+
EnvLink is a secure and anonymous CLI tool for sharing environment (.env) files with your team. It allows you to share sensitive configuration files with built-in expiration and optional password protection without requiring signup or authentication.
|
|
9
|
+
|
|
10
|
+
</details>
|
|
11
|
+
|
|
12
|
+
<details>
|
|
13
|
+
<summary>How do I install EnvLink?</summary>
|
|
14
|
+
|
|
15
|
+
You can install EnvLink globally with `npm install -g envlink`, or use it without installation via `npx envlink`, `bunx envlink`, or `pnpm dlx envlink`.
|
|
16
|
+
|
|
17
|
+
</details>
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>What is the basic workflow for sharing .env files?</summary>
|
|
21
|
+
|
|
22
|
+
Run `envlink create` in your project directory to create an EnvLink and get a unique ID (e.g., el_abc123xyz456). Share this ID with your team, and they can run `envlink install el_abc123xyz456` to receive the files.
|
|
23
|
+
|
|
24
|
+
</details>
|
|
25
|
+
|
|
26
|
+
<details>
|
|
27
|
+
<summary>Do I need to create an account to use EnvLink?</summary>
|
|
28
|
+
|
|
29
|
+
No, EnvLink is completely anonymous and does not require any signup or authentication.
|
|
30
|
+
|
|
31
|
+
</details>
|
|
32
|
+
|
|
33
|
+
<details>
|
|
34
|
+
<summary>What Node.js version is required?</summary>
|
|
35
|
+
|
|
36
|
+
EnvLink requires Node.js version 18.0.0 or higher.
|
|
37
|
+
|
|
38
|
+
</details>
|
|
39
|
+
|
|
40
|
+
## Commands
|
|
41
|
+
|
|
42
|
+
<details>
|
|
43
|
+
<summary>How do I see all available commands?</summary>
|
|
44
|
+
|
|
45
|
+
Run `envlink --help` to see all commands, or `envlink <command> --help` for help with a specific command.
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<details>
|
|
50
|
+
<summary>How do I check the status of an EnvLink?</summary>
|
|
51
|
+
|
|
52
|
+
Use `envlink info <id>` to view details including status, file count, expiration date, install count, and file names.
|
|
53
|
+
|
|
54
|
+
</details>
|
|
55
|
+
|
|
56
|
+
<details>
|
|
57
|
+
<summary>Can I update an existing EnvLink?</summary>
|
|
58
|
+
|
|
59
|
+
Yes, use `envlink update <id>` with options like `--files` to update files, `--exp` to change expiration, or `--exp-pass` to modify the password. Protected links require `--current-pass` for authentication.
|
|
60
|
+
|
|
61
|
+
</details>
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
<summary>How do I manually expire an EnvLink?</summary>
|
|
65
|
+
|
|
66
|
+
Use `envlink expire <id>` to manually expire a link. If the link is password-protected, include `--exp-pass <password>` for validation.
|
|
67
|
+
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
<details>
|
|
71
|
+
<summary>Can I select which files to install?</summary>
|
|
72
|
+
|
|
73
|
+
Yes, use `envlink install <id> --select-files` or `-s` to get a prompt allowing you to choose which files to install.
|
|
74
|
+
|
|
75
|
+
</details>
|
|
76
|
+
|
|
77
|
+
## Expiration
|
|
78
|
+
|
|
79
|
+
<details>
|
|
80
|
+
<summary>What expiration formats are supported?</summary>
|
|
81
|
+
|
|
82
|
+
EnvLink supports: minutes (m), hours (h), days (d), months (M), years (y), or 'never'. Examples: `30m` for 30 minutes, `24h` for 24 hours, `5d` for 5 days, `6M` for 6 months, `1y` for 1 year, or `never` for permanent links.
|
|
83
|
+
|
|
84
|
+
</details>
|
|
85
|
+
|
|
86
|
+
<details>
|
|
87
|
+
<summary>What is the default expiration time?</summary>
|
|
88
|
+
|
|
89
|
+
The default expiration time is 1 day if not specified during creation.
|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
<details>
|
|
94
|
+
<summary>Can I create an EnvLink that never expires?</summary>
|
|
95
|
+
|
|
96
|
+
Yes, use `--exp never` when creating or updating an EnvLink to make it permanent.
|
|
97
|
+
|
|
98
|
+
</details>
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary>What happens to expired EnvLinks?</summary>
|
|
102
|
+
|
|
103
|
+
Expired EnvLinks cannot be installed or updated. The status automatically changes to 'expired' when the expiration date is reached or when manually expired. Additionally, the record will be deleted from the EnvLink server after expiration.
|
|
104
|
+
|
|
105
|
+
</details>
|
|
106
|
+
|
|
107
|
+
## Security
|
|
108
|
+
|
|
109
|
+
<details>
|
|
110
|
+
<summary>Can I protect my EnvLink with a password?</summary>
|
|
111
|
+
|
|
112
|
+
Yes, use the `--exp-pass <password>` option when creating or updating an EnvLink. Password-protected links require authentication for updates and manual expiration.
|
|
113
|
+
|
|
114
|
+
</details>
|
|
115
|
+
|
|
116
|
+
<details>
|
|
117
|
+
<summary>How is my data secured?</summary>
|
|
118
|
+
|
|
119
|
+
All file content is encrypted using AES-256-GCM encryption before storage. The encryption uses a unique initialization vector (IV) for each EnvLink, and passwords are hashed using bcrypt.
|
|
120
|
+
|
|
121
|
+
</details>
|
|
122
|
+
|
|
123
|
+
## File Limits
|
|
124
|
+
|
|
125
|
+
<details>
|
|
126
|
+
<summary>How many files can I share in one EnvLink?</summary>
|
|
127
|
+
|
|
128
|
+
You can share up to 10 .env files in a single EnvLink.
|
|
129
|
+
|
|
130
|
+
</details>
|
|
131
|
+
|
|
132
|
+
<details>
|
|
133
|
+
<summary>What is the file size limit?</summary>
|
|
134
|
+
|
|
135
|
+
Each individual file can be up to 100KB, and the total payload for all files combined cannot exceed 500KB.
|
|
136
|
+
|
|
137
|
+
</details>
|
|
138
|
+
|
|
139
|
+
<details>
|
|
140
|
+
<summary>What file naming patterns are accepted?</summary>
|
|
141
|
+
|
|
142
|
+
Files must follow the .env naming pattern: `.env` or `.env.{suffix}` where suffix can contain alphanumeric characters, underscores, or hyphens (e.g., .env, .env.local, .env.production).
|
|
143
|
+
|
|
144
|
+
</details>
|
|
145
|
+
|
|
146
|
+
## Technical
|
|
147
|
+
|
|
148
|
+
<details>
|
|
149
|
+
<summary>What is the format of an EnvLink ID?</summary>
|
|
150
|
+
|
|
151
|
+
EnvLink IDs follow the format `el_` followed by 16 alphanumeric characters (e.g., el_abc123xyz456).
|
|
152
|
+
|
|
153
|
+
</details>
|
|
154
|
+
|
|
155
|
+
<details>
|
|
156
|
+
<summary>What happens if a file already exists during installation?</summary>
|
|
157
|
+
|
|
158
|
+
EnvLink will detect existing files and prompt you to confirm overwriting them. Files marked as existing will show a warning indicator during the selection process.
|
|
159
|
+
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
## Note:
|
|
163
|
+
|
|
164
|
+
> **"If EnvLink doesn't resonate with your workflow, that's perfectly fine—you're free to choose what works best for you. But if it does, I hope it makes sharing environment files just a little bit easier and safer for your team."**
|
|
165
|
+
>
|
|
166
|
+
> — _**envlink** developer team_
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "envlink",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Secure and anonymous environment file sharing CLI",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"dist/index.js",
|
|
46
46
|
"README.md",
|
|
47
47
|
"commands.md",
|
|
48
|
+
"faq.md",
|
|
48
49
|
"LICENSE"
|
|
49
50
|
],
|
|
50
51
|
"devDependencies": {
|