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 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
- ![shellfie](examples/svgs/logo-2.svg)
6
+ ![shellfie](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/logo-2.svg)
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
- ![Git Log](examples/svgs/git-log.svg)
26
+ ![Git Log](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/git-log.svg)
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
- | ![macos](examples/svgs/macos.svg) | ![windows](examples/svgs/windows.svg) | ![minimal](examples/svgs/minimal.svg) |
72
+ | ![macos](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/macos.svg) | ![windows](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/windows.svg) | ![minimal](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/minimal.svg) |
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
- | ![Dracula](examples/svgs/themes/dracula.svg) | ![Nord](examples/svgs/themes/nord.svg) | ![Tokyo Night](examples/svgs/themes/tokyo-night.svg) |
188
+ | ![Dracula](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/dracula.svg) | ![Nord](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/nord.svg) | ![Tokyo Night](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/tokyo-night.svg) |
189
189
 
190
190
  | One Dark | Monokai | Catppuccin Mocha |
191
191
  | ---------------------------------------------- | -------------------------------------------- | -------------------------------------------------------------- |
192
- | ![One Dark](examples/svgs/themes/one-dark.svg) | ![Monokai](examples/svgs/themes/monokai.svg) | ![Catppuccin Mocha](examples/svgs/themes/catppuccin-mocha.svg) |
192
+ | ![One Dark](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/one-dark.svg) | ![Monokai](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/monokai.svg) | ![Catppuccin Mocha](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/catppuccin-mocha.svg) |
193
193
 
194
194
  | GitHub Dark | GitHub Light | Gruvbox Dark |
195
195
  | ---------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------ |
196
- | ![GitHub Dark](examples/svgs/themes/github-dark.svg) | ![GitHub Light](examples/svgs/themes/github-light.svg) | ![Gruvbox Dark](examples/svgs/themes/gruvbox-dark.svg) |
196
+ | ![GitHub Dark](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/github-dark.svg) | ![GitHub Light](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/github-light.svg) | ![Gruvbox Dark](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/gruvbox-dark.svg) |
197
197
 
198
198
  | Gruvbox Light | Solarized Dark | Solarized Light |
199
199
  | -------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
200
- | ![Gruvbox Light](examples/svgs/themes/gruvbox-light.svg) | ![Solarized Dark](examples/svgs/themes/solarized-dark.svg) | ![Solarized Light](examples/svgs/themes/solarized-light.svg) |
200
+ | ![Gruvbox Light](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/gruvbox-light.svg) | ![Solarized Dark](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/solarized-dark.svg) | ![Solarized Light](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/themes/solarized-light.svg) |
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
- ![Gradient String](examples/svgs/gradient-string.svg)
233
+ ![Gradient String](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/gradient-string.svg)
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
- ![Chartscii](examples/svgs/chartscii.svg)
256
+ ![Chartscii](https://raw.githubusercontent.com/tool3/shellfie/refs/heads/master/examples/svgs/chartscii.svg)
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
 
@@ -26,7 +26,7 @@ exports.macosTemplate = (0, base_1.createTemplate)('macos', {
26
26
  size: 12,
27
27
  },
28
28
  header: {
29
- backgroundColor: 'rgb(36, 37, 38)',
29
+ backgroundColor: '#242526',
30
30
  border: false
31
31
  },
32
32
  padding: 16,
@@ -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,iBAAiB;QAClC,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"}
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.5",
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",