shellfie 2.0.5 → 2.0.9
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 +11 -11
- package/dist/templates/macos.js +1 -1
- package/dist/templates/macos.js.map +1 -1
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Take a shell selfie.
|
|
4
4
|
Your terminal output deserves better than a blurry screenshot.
|
|
5
5
|
|
|
6
|
-

|
|
6
|
+

|
|
7
7
|
|
|
8
8
|
| Feature | shellfie | carbon-now-cli | svg-term | termtosvg |
|
|
9
9
|
| ------------------- | -------- | -------------- | -------- | --------- |
|
|
@@ -23,7 +23,7 @@ const log = execSync("git log --oneline --graph --color=always").toString();
|
|
|
23
23
|
const svg = shellfie(log, { title: "git log" });
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-

|
|
26
|
+

|
|
27
27
|
|
|
28
28
|
## Why SVG?
|
|
29
29
|
|
|
@@ -69,7 +69,7 @@ const svg = shellfie(terminalOutput, {
|
|
|
69
69
|
|
|
70
70
|
| macOS | Windows | Minimal |
|
|
71
71
|
| --------------------------------- | ------------------------------------- | ------------------------------------- |
|
|
72
|
-
|  |  |  |
|
|
72
|
+
|  |  |  |
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
75
|
shellfie(output, { template: "macos" }); // default
|
|
@@ -185,19 +185,19 @@ shellfie(output, { theme: dracula });
|
|
|
185
185
|
|
|
186
186
|
| Dracula | Nord | Tokyo Night |
|
|
187
187
|
| -------------------------------------------- | -------------------------------------- | ---------------------------------------------------- |
|
|
188
|
-
|  |  |  |
|
|
188
|
+
|  |  |  |
|
|
189
189
|
|
|
190
190
|
| One Dark | Monokai | Catppuccin Mocha |
|
|
191
191
|
| ---------------------------------------------- | -------------------------------------------- | -------------------------------------------------------------- |
|
|
192
|
-
|  |  |  |
|
|
192
|
+
|  |  |  |
|
|
193
193
|
|
|
194
194
|
| GitHub Dark | GitHub Light | Gruvbox Dark |
|
|
195
195
|
| ---------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------ |
|
|
196
|
-
|  |  |  |
|
|
196
|
+
|  |  |  |
|
|
197
197
|
|
|
198
198
|
| Gruvbox Light | Solarized Dark | Solarized Light |
|
|
199
199
|
| -------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
|
|
200
|
-
|  |  |  |
|
|
200
|
+
|  |  |  |
|
|
201
201
|
|
|
202
202
|
## Custom Themes
|
|
203
203
|
|
|
@@ -230,7 +230,7 @@ const svg = shellfie(gradient.rainbow("Hello World"), {
|
|
|
230
230
|
});
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-

|
|
233
|
+

|
|
234
234
|
|
|
235
235
|
### Works with any ANSI output
|
|
236
236
|
|
|
@@ -253,7 +253,7 @@ const svg = shellfie(chart.create(), {
|
|
|
253
253
|
});
|
|
254
254
|
```
|
|
255
255
|
|
|
256
|
-

|
|
256
|
+

|
|
257
257
|
|
|
258
258
|
### CLI tools, test runners, anything
|
|
259
259
|
|
|
@@ -277,8 +277,8 @@ getMaxWidth(lines); // 80
|
|
|
277
277
|
|
|
278
278
|
## Related
|
|
279
279
|
- See [shellfie-cli](https://github.com/tool3/shellfie-cli) for command line usage
|
|
280
|
+
- See [shellfied](https://github.com/tool3/shellfied) the shellfie web app
|
|
280
281
|
|
|
281
282
|
## License
|
|
282
|
-
|
|
283
|
-
MIT — do whatever you want with it. If you build something cool, I'd love to see it.
|
|
283
|
+
MIT
|
|
284
284
|
|
package/dist/templates/macos.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"macos.js","sourceRoot":"","sources":["../../src/templates/macos.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAGH,iCAAwC;AAE3B,QAAA,aAAa,GAAa,IAAA,qBAAc,EAAC,OAAO,EAAE;IAC7D,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,MAAM;IACxB,YAAY,EAAE;QACZ,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"macos.js","sourceRoot":"","sources":["../../src/templates/macos.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAGH,iCAAwC;AAE3B,QAAA,aAAa,GAAa,IAAA,qBAAc,EAAC,OAAO,EAAE;IAC7D,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,MAAM;IACxB,YAAY,EAAE;QACZ,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,EAAE;KACT;IACD,MAAM,EAAE;QACN,eAAe,EAAE,SAAS;QAC1B,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,KAAK,EAAE,kDAAkD;IACjE,WAAW,EAAE,CAAC;CACf,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shellfie",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Convert terminal output to crystal-clear SVG images",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
],
|
|
33
33
|
"author": "tool3",
|
|
34
34
|
"license": "MIT",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://github.com/tool3/shellfie"
|
|
38
|
+
},
|
|
35
39
|
"devDependencies": {
|
|
36
40
|
"@types/node": "^20.10.0",
|
|
37
41
|
"chartscii": "^3.2.0",
|