cocktail peanut Profile picture
Jul 17 25 tweets 8 min read Read on X
Introducing Pinokio 2.0

A complete rethinking of how offline web apps & AI apps should work.

- Invisible: pinokio-powered offline web apps should be indistinguishable from normal websites
- Frictionless: 0-click launch
- Shareable: turn local machine into a public web serviceImage
Update to the latest version (2.0.2 as of now) here: program.pinokio.computer/#/?id=install
Pinokio 2.0 Highlights:

1. Autostart Scripts
2. Zero Click Launch
3. Customizable Apps
4. Public Node
5. One-Click Off Switch
6. Gradio File System
7. Disposable Apps
8. Save More Disk Space
9. Bug Fix
10. Install Screen
11. Community Scripts
1. Autostart Scripts

Now Pinokio Scripts can automatically start WITHOUT user interaction.

No need to click "start" to launch an app. Pinokio will automatically determine which script to run and run it, and even this algorithm is programmable.
For example, installation now TRULY takes 1 click.

Just click "install" and forget about it. Come back in a while and you'll see that Pinokio has installed, launched, and finally sent you to the web UI, automatically.

A true "1 click" experience, fully programmable.
2. Zero Click Launch

1-click launchers aren't cool, you know what's cool?

0-CLICK LAUNCHERS.

Previously to run an app on Pinokio, you had to:

1. Open Pinokio
2. Find the app
3. Click to visit the app page
4. Click "start" to start
5. After the launch, click "web UI" to use.
Let's step back and rethink this.

What if we don't have to do ANY of that, and instead all these apps work EXACTLY like regular websites (like X, Google, etc.)?

Simply visit and use. No separate launch steps.

With 2.0, you can open Pinokio apps DIRECTLY from any web browser.
In your favorite web browser, simply start typing the app's name. Your browser will autocomplete the localhost URL.

Surf offline apps just like online websites.

If the app is not already running, it will autostart and redirect you to the web app right afterwards. Automatically.
If the app is already running (because you already visited earlier), you'll immediately land on the web UI page.

Completely indistinguishable from a normal online web app, but running 100% locally.

Here's me casually opening Stable Diffusion Web UI from a new browser tab.
The idea is, there's no reason offline web apps should be special.

Offline web apps should work just like any online web app.

You just visit, and the app should immediately load.
3. Customizable Apps

With Pinokio 2.0, apps can be customized easily by the END USERS (not developers).

Previously to customize apps, you had to directly edit the JSON script files, which is not what most people would do.
To make a script customizable, a script publisher may include a file named _ENVIRONMENT in the repository.

Users can edit this through the built-in form editor in Pinokio's "Configure" tab.

No need to edit the script code. Just customize environment variables through the form. Image
4. Pinokio Public Node

Now you can turn your local computer into a public web service instantly.

No setup required, it just works.

When you turn it on, a public cloudflare URL will be generated. Anyone with the URL can connect directly to your computer and run the apps.Image
Often you may want to limit who can connect to your computer to run the apps.

Simple. For each app, just set the passcode (can set as many as you want, separated by commas). Image
When an app is passcode-protected, users who visit the public URL will be presented with an authentication screen where they can enter the passcode to login and use the app. Image
5. Turn off Apps with One-Click

It's been painful to stop running apps. To stop an app on pinokio, you had to:

1. Visit the app page
2. Open the app terminal
3. And click the stop button once the terminal loaded.

This is no longer needed.
You can stop apps directly from Pinokio home, with just one click.

Or stop from the app page without having to open the app terminal.
Image
Image
6. Gradio File System

A lot of AI apps are powered by @Gradio. Gradio's default configuration is secure but limits what some of these apps can do.

Pinokio 2.0 has added dedicated Gradio file system related features to make working with Gradio much more powerful and efficient.
Gradio App File System

By default, all gradio apps store uploaded files under a central cache folder, for efficiency.

But often you probably want to see all the files uploaded by an app. This is the default on Pinokio now.

Gradio files stored under cache/GRADIO_TEMP_DIRImage
Cross-app File Sharing

Gradio has a default setting that blocks files generated by one app from being served by another app for security reasons.

This is inconvenient in many cases, and Pinokio already ensures the files are isolated inside Pinokio, so we don't need this restriction.

Gradio apps installed in Pinokio can serve files generated by other gradio apps, opening doors to some interesting ideas.
7. Disposable Apps

a way to install apps in a disposable manner--when you delete the app, all files associated with it are gone together.

Previously, apps that download files from Torch hub or Huggingface stored them (such as model checkpoints) in a central location.
This is good for saving the disk space, but it also means the files stick around even after the apps are deleted.

With 2.0, apps are installed in a "disposable mode" by default.

Apps store files under its folder so when you delete an app, all the associated files are deleted and you no longer waste storage for the files you don't even use anymore.
You can customize this behavior with the "Configure" menu.

For example if you want to store these files in a central location, just reinstall the app with empty HF_HOME & TORCH_HOME values.

The cache files will now be stored under ~/pinokio/cache instead of each app folder.Image
8. Save More Disk Space

Pinokio has a built-in system called "Virtual drives" for saving disk space by utilizing symbolic links for duplicate files, which can be used for deduplicating large checkpoint files and library files (like torch).

The problem was, not all apps were able to take advantage of this feature because of some edge case scenarios.

This has been fixed and now most apps can take advantage of the virtual drive feature, allowing you to save even more disk space going forward. program.pinokio.computer/#/?id=virtual-…Image
9. Conda Bug Fix

Several critical bugs related to conda have been plaguing Pinokio since the beginning.

Finally figured out the fundamental issue, and fixed it once and for all.

If you have been having trouble with Conda in Pinokio, try deleting the ~/pinokio/bin folder and reinstall things from scratch. Most of the issues should be gone.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with cocktail peanut

cocktail peanut Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @cocktailpeanut

Feb 23
Gligen GUI 1 Click Launcher

Simply draw regions to turn your imagination into images.

And now, you can run Gligen GUI on your local computer with one click. Works on ALL OS (Windows, Linux, Mac).
To install, you MUST upgrade to Pinokio 1.2.

Again, UPDATE TO PINKIO 1.2

After upgrading, install Gligen from the discover page.docs.pinokio.computer/download/Image
This app's not easy to run if you try to run manually because it requires both ComfyUI & Gligen GUI to be running simultaneously.

Basically, this is an orchestration problem.

This is where the new Modal API comes in.

Read 5 tweets
Jan 13
Vid2Pose 1 Click Launcher

A dead simple Gradio app that lets you convert ANY video to OpenPose & DWPose.

And now anyone can install and run it on their computer locally, with 1-click.

Use this to generate DWPose videos to use in AnimateAnyone.

Supports: Mac, Linux, Windows
You can find it on pinokio.computer
Image
Yesterday I started looking for an easy way to transform any video into DWPose, because.....
Read 11 tweets
Nov 20, 2023
Introducing DEUS, a Realtime Image Generation Engine.

1. Realtime Native
Designed from scratch with a "everything is realtime" assumption

2. Simple
If you can draw, and google, you know how to use DEUS

3. Intuitive
Create exactly what you imagine without special knowledge
Read 15 tweets
Nov 8, 2023
Mirror: A hackable AI-powered Mirror on Your Laptop.

Mirror is a simple yet powerful web app that runs 100% locally, where the AI (@ggerganov's llama.cpp + @skunkworks_ai's Bakllava) constantly watches your webcam feed and sends you messages.

And you can try it too, right now.
Mirror was inspired by the amazing Realtime Bakllava project by @Karmedge

I extended the realtime-bakllava logic and added the web UI, so it runs in a browser and displays the AI messages inline along with the video feed.

Read 8 tweets
Oct 26, 2023
Introducing 1 Click Installer for LCM Image Generator

Just made a 1 click installer for this app from @replicate that generates images infinitely. It is SUPER FAST!

And now, run it on your own machine with one click. No terminals. All you need is click!

Read on to learn more.

First of all...

you can install the Infinite LCM Image generator here:

pinokio.computer/item?uri=https…
Image
The original repository from @replicate was built only for Apple Silicon (M1/M2) but I modified the code a bit to make it work on:

1. M1/M2 Macs
2. CUDA (Nvidia GPU)
3. CPU (even works on slower Intel macs)

github.com/cocktailpeanut…
Read 7 tweets
Aug 29, 2023
Run Deepfake on Your Computer with One Click

Facefusion is an app that lets you easily swap faces in images and videos using a super-intuitive UI powered by @gradio

And today I'm releasing a one-click installer for it.

This video of @elonmusk took only ~10 minutes to generate.
To get started,

1. Download Pinokio AI Browser at (If you already have Pinokio, you must UPGRADE to the latest version)
2. Go to the Discover tab and find "Facefusion"
3. Click "Install"

That's it!pinokio.computer

Once you're in, it's super easy to use.

1. Drag & drop the image of any face you want to insert.
2. Drag & drop a video or an image you want to insert the face into
3. Click "Generate"

Seriously, it's too easy. Deepfake used to be too much work. Not anymore.

Future is now.
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(