envlink 0.0.1 → 1.0.0
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/LICENSE +21 -0
- package/README.md +93 -0
- package/dist/index.js +123 -0
- package/package.json +52 -6
- package/index.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License Copyright (c) 2026 AbabilCore
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of
|
|
4
|
+
charge, to any person obtaining a copy of this software and associated
|
|
5
|
+
documentation files (the "Software"), to deal in the Software without
|
|
6
|
+
restriction, including without limitation the rights to use, copy, modify, merge,
|
|
7
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
|
9
|
+
following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice
|
|
12
|
+
(including the next paragraph) shall be included in all copies or substantial
|
|
13
|
+
portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
16
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
|
18
|
+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
19
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
20
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# EnvLink
|
|
2
|
+
|
|
3
|
+
Secure and anonymous environment file sharing CLI - Share `.env` files with expiration and password protection.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/envlink)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
## Features
|
|
9
|
+
|
|
10
|
+
- Secure sharing with encryption
|
|
11
|
+
- Auto-expiration (minutes, hours, days, years, or never)
|
|
12
|
+
- Optional password protection
|
|
13
|
+
- No signup or authentication required
|
|
14
|
+
- Share multiple files at once
|
|
15
|
+
- Update existing EnvLinks
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install -g envlink
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Quick Start
|
|
24
|
+
|
|
25
|
+
### Create and Share
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
cd my-project
|
|
29
|
+
envlink create
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Install
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
envlink install <id>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
### Create EnvLink
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Interactive mode
|
|
44
|
+
envlink create
|
|
45
|
+
|
|
46
|
+
# With options
|
|
47
|
+
envlink create --exp 7d
|
|
48
|
+
envlink create --exp-pass mypassword
|
|
49
|
+
envlink create --exp 5d --exp-pass secretpass
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Expiration formats:** `30m`, `24h`, `5d`, `1y`, `never`
|
|
53
|
+
|
|
54
|
+
### Install EnvLink
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
envlink install <id>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### View Info
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
envlink info <id>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Update EnvLink
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
envlink update <id> --files
|
|
70
|
+
envlink update <id> --exp never
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Expire EnvLink
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
envlink expire <id>
|
|
77
|
+
envlink expire <id> --exp-pass mypassword
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Help
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
envlink --help
|
|
84
|
+
envlink create --help
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Security
|
|
88
|
+
|
|
89
|
+
- End-to-end encryption
|
|
90
|
+
- Password hashing with bcrypt
|
|
91
|
+
- Automatic expiration
|
|
92
|
+
- HTTPS transport only
|
|
93
|
+
- No authentication required (anonymous)
|