Python automation script
Rename files in bulk, sort photos, merge spreadsheets... describe the chore and get a script that does it in one go.
Home / Prompts / Life / Single-file web app
Saved
Saved items are kept in this browser. To get back faster, press Ctrl+D to bookmark this page.
Saved items are kept in this browser. To get back faster, press ⌘+D to bookmark this page.
Saved items are kept in this browser. To get back faster, use your browser’s Share → “Add to Home Screen”.
No coding needed: describe the tool you want and get one HTML file that works when you open it.
The prompt is put together in your browser. Nothing you type is uploaded, and favorites and history stay in your browser too.
Fill it in like this. Press the button below to put the example into the form above.
Illustrative excerpt: the real answer depends on the AI you use and what you fill in.
Approach: one button adds a glass, the data is kept in the browser's localStorage, and the page shows today's total and the last 7 days.
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Water tracker</title>
<style>body{font:20px system-ui;text-align:center;padding:24px}button{font-size:28px;padding:16px 32px}</style>
</head>
<body>
<h1>Today: <span id="today">0</span> glasses</h1>
<button id="add">+ One glass</button>
<p>This week: <span id="week">0</span></p>
<script>
// Records look like { "2026-11-05": 3, ... }
... (rest omitted)
```
How to use it: save everything as water.html and open it in your browser. Rename files in bulk, sort photos, merge spreadsheets... describe the chore and get a script that does it in one go.
Paste your code and the error message to get the cause, a fixed version and how to avoid it next time.
Learning a language, preparing for an exam or learning to code? Get weekly goals with review and quizzes built in.