pinme 1.1.4-alpha.3 → 1.1.5-alpha.1
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 +2 -9
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
# PinMe
|
|
2
2
|
|
|
3
|
-
[PinMe](https://pinme.eth.limo/) is a
|
|
3
|
+
[PinMe](https://pinme.eth.limo/) is a one-command deploy tool that turns static sites into permanent, verifiable frontends by pinning to [IPFS](https://ipfs.tech/), writing contenthash to [ENS](https://ens.domains/) subnames, and serving through gateways like [eth.limo](https://eth.limo/)—no DNS, no servers.
|
|
4
4
|
|
|
5
5
|
Website:[https://pinme.eth.limo/](https://pinme.eth.limo/)
|
|
6
6
|
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
- 🚀 Quickly upload files and directories to IPFS
|
|
10
|
-
- 📂 Support for various file types and sizes
|
|
11
|
-
- 📊 View and manage upload history
|
|
12
|
-
- 🔗 Automatically generate accessible IPFS links
|
|
13
|
-
- 🌐 Preview uploaded content
|
|
14
7
|
|
|
15
8
|
## Installation
|
|
16
9
|
|
|
@@ -208,4 +201,4 @@ If you have questions or suggestions, please contact us through:
|
|
|
208
201
|
|
|
209
202
|
---
|
|
210
203
|
|
|
211
|
-
Developed and maintained by the [Glitter Protocol](https://glitterprotocol.io/) team
|
|
204
|
+
Developed and maintained by the [Glitter Protocol](https://glitterprotocol.io/) team
|
package/dist/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ var import_chalk6 = __toESM(require("chalk"));
|
|
|
1523
1523
|
var import_figlet3 = __toESM(require("figlet"));
|
|
1524
1524
|
|
|
1525
1525
|
// package.json
|
|
1526
|
-
var version = "1.1.
|
|
1526
|
+
var version = "1.1.5-alpha.1";
|
|
1527
1527
|
|
|
1528
1528
|
// bin/upload.ts
|
|
1529
1529
|
var import_path5 = __toESM(require("path"));
|
|
@@ -4673,13 +4673,13 @@ async function calculateMD5(filePath) {
|
|
|
4673
4673
|
}
|
|
4674
4674
|
async function compressDirectory(sourcePath) {
|
|
4675
4675
|
return new Promise((resolve, reject) => {
|
|
4676
|
-
const tempDir =
|
|
4676
|
+
const tempDir = require("os").tmpdir();
|
|
4677
4677
|
if (!import_fs_extra3.default.existsSync(tempDir)) {
|
|
4678
4678
|
import_fs_extra3.default.mkdirSync(tempDir, { recursive: true });
|
|
4679
4679
|
}
|
|
4680
4680
|
const outputPath = import_path4.default.join(
|
|
4681
4681
|
tempDir,
|
|
4682
|
-
|
|
4682
|
+
`pinme_${import_path4.default.basename(sourcePath)}_${Date.now()}.zip`
|
|
4683
4683
|
);
|
|
4684
4684
|
const output = import_fs_extra3.default.createWriteStream(outputPath);
|
|
4685
4685
|
const zlib2 = require("zlib");
|