pinokiod 1.3.62 → 1.3.63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.3.62",
3
+ "version": "1.3.63",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -283,9 +283,6 @@ body.dark .browser-options-row {
283
283
  <div class='title'><%=item.name%></div>
284
284
  <div class='description'><%=item.description%></div>
285
285
  <div>
286
- <button class='btn browse' data-src="<%=item.browser_url%>/browse">
287
- <i class="fa-regular fa-folder-open"></i>
288
- </button>
289
286
  <% if (item.running_scripts) { %>
290
287
  <% item.running_scripts.forEach((s) => { %>
291
288
  <button class='btn shutdown' data-src="<%=s.path%>">
@@ -333,9 +330,6 @@ body.dark .browser-options-row {
333
330
  <div class='uri'><i class="fa-regular fa-folder"></i><%=item.url%></div>
334
331
  <div class='title'><%=item.name%></div>
335
332
  <div class='description'><%=item.description%></div>
336
- <button class='btn browse' data-src="<%=item.browser_url%>/browse">
337
- <i class="fa-regular fa-folder-open"></i>
338
- </button>
339
333
  <% if (item.shortcuts && item.shortcuts.length > 0) { %>
340
334
  <div class='btns'>
341
335
  <% item.shortcuts.forEach((btn) => { %>
@@ -109,6 +109,11 @@ body.dark .env-item label {
109
109
  display: inline-block;
110
110
  margin-bottom: 5px;
111
111
  font-weight: bold;
112
+ font-size: 20px;
113
+ letter-spacing: -1px;
114
+ }
115
+ .env-item ul {
116
+ margin: 5px 0;
112
117
  }
113
118
  .env-item {
114
119
  padding-top: 10px;
@@ -173,8 +178,14 @@ document.addEventListener("DOMContentLoaded", async () => {
173
178
  <% } else { %>
174
179
  <input type="checkbox" id="PINOKIO_SHARE_CLOUDFLARE" name="cloudflare" />
175
180
  <% } %>
176
- <label for="cloudflare">Share Publicly</label>
177
- <div>This will set the PINOKIO_SHARE_CLOUDFLARE environment variable to true, and share your local app to the public internet, powered by <a href="https://www.cloudflare.com/products/tunnel/" target="_blank" features="browser">Cloudflare Tunnel</a></div>
181
+ <label for="cloudflare"><i class="fa-brands fa-cloudflare"></i> Start a Public Node</label>
182
+ <ul>
183
+ <li>This will turn this local app into a public node.</li>
184
+ <li>Anyone with a URL can access a public node.</li>
185
+ <li>Users can't access Pinokio itself, only can access each app's UI.</li>
186
+ <li>Powered by <a href="https://www.cloudflare.com/products/tunnel/" target="_blank" features="browser">Cloudflare Tunnel</a></li>
187
+ <li>You can manually configure this in through the Configure menu (set PINOKIO_SHARE_CLOUDFLARE to true)</li>
188
+ </ul>
178
189
  </div>
179
190
  <div class='env-item'>
180
191
  <% if (config.PINOKIO_SHARE_LOCAL.toString() === "true") { %>
@@ -182,8 +193,12 @@ document.addEventListener("DOMContentLoaded", async () => {
182
193
  <% } else { %>
183
194
  <input type="checkbox" id="PINOKIO_SHARE_LOCAL" name="local" />
184
195
  <% } %>
185
- <label for="local">Share with Local Network Devices</label>
186
- <div>This will set the PINOKIO_SHARE_LOCAL environment variable to true, and share your local app to any device on the same local network</div>
196
+ <label for="local"><i class="fa-solid fa-network-wired"></i> Share with Local Network</label>
197
+ <ul>
198
+ <li>This will allow any device on the same local network to access the app.</li>
199
+ <li>A new IP will be provided when local sharing is on, which can be used to access from any device on the same network.</li>
200
+ <li>You can manually configure this through the Configure menu (set PINOKIO_SHARE_LOCAL to true)</li>
201
+ </ul>
187
202
  </div>
188
203
  <div class='runner'>
189
204
  <div id='save' class='btn'>