Skip to content

offen/pyla

Repository files navigation

offen.software logo

Pyla

Python in Your Browser. Local First. Built for fast results.

Pyla is a web tool to create and run custom mini-apps from a simple prompt. Complete small tasks on the spot, without slowing down. No installs. No setup screens.

Bookmark your mini-app and share the link with your team. For bigger workflows, paste in your vibe code and start it instantly. Everything runs on your machine, your data stays with you.

Perfect for freeing automations stuck in Photoshop or sketchy legacy tools.

Beta

Pyla is currently in beta and works only in Chrome browser. We tested these setups:

  • macOS Big Sur with Chrome 131 or newer
  • Windows 10 with Chrome 131 or newer

How it works

  1. Open Pyla

    https://pyla.offen.dev

  2. Describe the task

    Fill in What do you want to do? with a small task your mini-app should complete.

    Remember, LLMs still have their limits. Not every prompt will succeed. Stick to common terms and outline the steps clearly. Any errors appear at the bottom in Output.

    A few example prompts below; more are available here.

    Rotate pdf -90 degrees

    Put row 4 to 8 from an Excel file into a text document

    Convert all files in a folder from .webp to .png file format

  3. Choose workflow

    Augmented prompt:

    Click Copy augmented prompt and paste it into your preferred LLM. Bring back the code snippet it generates and paste it into the Script window.

    Connected model:

    Working with GitHub? Create a personal access token, paste it into Paste personal access token for GitHub Models, and hit Provide token.

    Once connected, hit Generate script and your mini-app is created automatically.

  4. Run your mini-app

    Click Run script, select your workspace and files, and the results will appear in the pyla_output folder.

    Experiment freely. We're curious to see what you come up with.

  5. Save and share

    Add a name in Type script title, click Generate script URL, and you'll get a link with the full mini-app inside. Bookmark it or share it with your team.

Quickstart

Here's a set of quick wins you can run with a simple prompt. Small tasks completed in under a minute to spark your inspiration. Click a link to try them.

Images

Scale and crop to 1080x1350 | Pyla

Scales images from a folder to 1080x1350 pixel. Images should first be scaled to the correct height and then cropped to fit.

Sort PNG+alpha and JPG above 1500 | Pyla

Sort images in a folder into subfolders of these 3 cohorts: A) PNG with alpha channel B) JPG width bigger than 1500 px C) Rest

Add blur and scale to 1 MB JPG | Pyla

Open an image file from a folder. Add a Gaussian blur of 2% and scale it so that a saved high-quality JPG version has abut 1 MB in size. Then save it as such.

Tile images randomly | Pyla

Combine images with a size of 250 x 250 pixels from a folder into one image with a size of 25000 x 15000 pixels. The size of the specified images should be retained, they should not overlap and should be used several times in random order.

PDF

Combine PDF | Pyla

Combine all pdf files from a folder to one single pdf file. Save the result as a new pdf file.

1 page from PDF rotated | Pyla

Take page 13 from a PDF, rotate it 90 degrees, and save it.

Spreadsheets

Status thumbnails | Pyla

Open a Excel file. Create 500x500 preview images for following Status. New: blue color, In progress: yellow color. Published: green color. Save them with Post date in filename.

CSV to PDF / Owners grouped by post dates | Pyla

Open a CSV file and create a PDF file in which Owner are grouped by Post date.

Files & Folders

Create folders from Markdown table | Pyla

Create folders named according to all values from for ID and TYPE from columns of a table in a Markdown file. Compose the names as follows: ID + _ + TYPE

Move .mp4 files into matching subfolder | Pyla

A folder contains .mp4 files with a number in the file name. There are also subfolders with the same numbers in the file name. Move each .mp4 file to the respective subfolder with the identical number.

Bookmarks

Extract from Chrome bookmarks | Pyla

Open a bookmark file and isolate the "Pyla bookmarks" section from it. Save this section as a new bookmark file. Use the "<!DOCTYPE NETSCAPE-Bookmark-file-1>" formatting.

Create PDF from Chrome bookmarks | Pyla

Open a bookmark file and create a PDF file including the links. Use the "<!DOCTYPE NETSCAPE-Bookmark-file-1>" formatting.

Feedback and contributions welcome

What do you use Pyla for? What works well, and what's still missing? Found a bug or have an idea to improve it? Send us an email, file an issue, or open a pull request. We'd love to hear from you.


Copyright © 2025 offen.software and contributors. Distributed under the MPL-2.0 License.

About

An in-browser Python runtime for local-first software.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors 2

  •  
  •