@uge/payo 0.1.6 → 0.2.0
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 +64 -1
- package/assets/demo.gif +0 -0
- package/dist/index.js +19 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,10 @@ project's conventions instead of guessing.
|
|
|
13
13
|
[](https://bun.sh)
|
|
14
14
|
[](https://www.typescriptlang.org/)
|
|
15
15
|
|
|
16
|
+
<br />
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
16
20
|
</div>
|
|
17
21
|
|
|
18
22
|
---
|
|
@@ -20,6 +24,7 @@ project's conventions instead of guessing.
|
|
|
20
24
|
## Contents
|
|
21
25
|
|
|
22
26
|
- [What is Payo?](#what-is-payo)
|
|
27
|
+
- [Why Payo?](#why-payo)
|
|
23
28
|
- [Who is this for?](#who-is-this-for)
|
|
24
29
|
- [Quick Start](#quick-start)
|
|
25
30
|
- [How to use — a walkthrough](#how-to-use--a-walkthrough)
|
|
@@ -29,6 +34,7 @@ project's conventions instead of guessing.
|
|
|
29
34
|
- [Bootstrap prompt](#bootstrap-prompt)
|
|
30
35
|
- [Resume anytime](#resume-anytime)
|
|
31
36
|
- [Requirements](#requirements)
|
|
37
|
+
- [Run locally](#run-locally)
|
|
32
38
|
- [Contributing](#contributing)
|
|
33
39
|
- [License](#license)
|
|
34
40
|
|
|
@@ -44,6 +50,38 @@ Where the assistant ships a headless CLI, Payo drives that tool's own AI to
|
|
|
44
50
|
write rich, project-specific docs; where it doesn't, Payo falls back to solid
|
|
45
51
|
templates — so you always end up with usable output.
|
|
46
52
|
|
|
53
|
+
## Why Payo?
|
|
54
|
+
|
|
55
|
+
Every AI coding session starts cold. Your assistant doesn't know you use Drizzle
|
|
56
|
+
over Prisma, that handlers live in `src/routes`, that you write Vitest specs
|
|
57
|
+
beside the file, or that commits follow Conventional Commits. So you re-explain
|
|
58
|
+
it — in chat after chat — and still get code that ignores half of it.
|
|
59
|
+
|
|
60
|
+
The fix is the guidance files each tool already reads (`CLAUDE.md`,
|
|
61
|
+
`.cursorrules`, `.github/copilot-instructions.md`, `AGENTS.md`). But writing them
|
|
62
|
+
by hand is tedious, easy to get wrong, and different for every tool. Most people
|
|
63
|
+
never do it, or do it once and let it rot.
|
|
64
|
+
|
|
65
|
+
Payo writes them for you in about two minutes — tailored to your actual stack,
|
|
66
|
+
in each tool's native format — so your assistant follows _your_ conventions from
|
|
67
|
+
the first prompt instead of guessing.
|
|
68
|
+
|
|
69
|
+
### Vibe coding, without the mess
|
|
70
|
+
|
|
71
|
+
Vibe coding is fast and fun — you prompt, the AI improvises, code appears. The
|
|
72
|
+
problem isn't the speed, it's that the assistant has no rules to improvise
|
|
73
|
+
_within_. So it guesses: a different ORM than the rest of the repo, files
|
|
74
|
+
scattered wherever, its own naming, your tests and commit conventions skipped.
|
|
75
|
+
Fine for a throwaway demo; on a real codebase it quietly piles up inconsistency
|
|
76
|
+
you pay for later in reviews, bugs, and refactors — and each new chat starts the
|
|
77
|
+
guessing over.
|
|
78
|
+
|
|
79
|
+
Payo gives that improvisation a guardrail. It generates the guidance files your
|
|
80
|
+
assistant already reads, so the AI reaches for _your_ framework, _your_ folder
|
|
81
|
+
layout, _your_ testing and git rules every time — without you stopping to explain
|
|
82
|
+
them. You keep vibe coding at full speed; the output just fits the project
|
|
83
|
+
instead of fighting it.
|
|
84
|
+
|
|
47
85
|
## Who is this for?
|
|
48
86
|
|
|
49
87
|
- **Devs starting a new repo** who want their AI assistant productive from
|
|
@@ -161,7 +199,32 @@ generating what's missing. Finished runs clean the directory up automatically.
|
|
|
161
199
|
|
|
162
200
|
## Requirements
|
|
163
201
|
|
|
164
|
-
|
|
202
|
+
**To run Payo:** [Node.js](https://nodejs.org) **>= 18**. That's it — `npx @uge/payo`
|
|
203
|
+
runs the published, Node-targeted binary, so **you do not need Bun to use Payo.**
|
|
204
|
+
If you prefer Bun, `bunx @uge/payo` works too.
|
|
205
|
+
|
|
206
|
+
**To develop Payo:** [Bun](https://bun.sh) **>= 1.1.0** (the project builds, tests,
|
|
207
|
+
and runs from source with Bun — see [Run locally](#run-locally)).
|
|
208
|
+
|
|
209
|
+
## Run locally
|
|
210
|
+
|
|
211
|
+
Hacking on Payo or running it from source:
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
git clone https://github.com/uttam-gelot/payo.git
|
|
215
|
+
cd payo
|
|
216
|
+
bun install # Bun >= 1.1.0
|
|
217
|
+
bun run dev # runs src/index.ts directly
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Other useful scripts:
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
bun test # run the test suite
|
|
224
|
+
bun run typecheck # tsc --noEmit
|
|
225
|
+
bun run lint # eslint
|
|
226
|
+
bun run build # bundle to dist/ (Node target)
|
|
227
|
+
```
|
|
165
228
|
|
|
166
229
|
## Contributing
|
|
167
230
|
|
package/assets/demo.gif
ADDED
|
Binary file
|