# Edit this app: Tech-Realm/starter-portfolio (make your own flavour, LogicPacks)

Remixes so far: 0 (GitHub's fork count). Code: https://github.com/Tech-Realm/starter-portfolio

## Licence

**Open.** MIT: you may fork, change and share your flavour; keep the copyright notice and licence.

## One command (run on the user's machine, or ask their agent to)

```sh
uvx logicpacks@latest remix github.com/Tech-Realm/starter-portfolio
```

1. Forks Tech-Realm/starter-portfolio to the user's GitHub with THEIR OWN `gh` login, on their machine (LogicPacks never holds a GitHub token).
2. Clones the fork (the original is added as the `upstream` remote) and builds the pack: `LOGICPACKS.md`, `.logicpacks/pack/`
   (purpose, playbooks, rules), `lp-mock.sh` and `lp-run.sh`.
3. Every key the user does not have runs on a local stateful mock with demo data, so they can change the app with their agent
   right away: `./lp-mock.sh &` then `./lp-run.sh <the dev command in LOGICPACKS.md>`.
4. Credit: the fork's README gets "Remixed from Tech-Realm/starter-portfolio" with a link back and the flavour's own Edit button
   (https://logicpacks.io/<you>/starter-portfolio/edit), committed, and pushed to the fork when the licence is open (`--no-push` keeps it local).

Agents with the LogicPacks MCP: tool `remix_app` (local: does it; remote mcp.logicpacks.io: returns this hand-off).
If `logicpacks remix` is not found (an older logicpacks):

```sh
gh repo fork Tech-Realm/starter-portfolio --clone=false
gh repo clone <you>/starter-portfolio && cd starter-portfolio
uvx logicpacks@latest add github.com/Tech-Realm/starter-portfolio --clone   # pack + local mocks in the clone
# add the credit line to README.md, commit, push
```

## Keys: the user's own, never the owner's

The original owner's keys are never part of a remix. Your flavour runs on local stateful mocks; for live services use your OWN keys: `logicpacks key add NAME` (hidden prompt, stays in your local vault), then re-run `logicpacks add github.com/<you>/starter-portfolio --clone` in the folder.

## Put the flavour live

Put your flavour live: `logicpacks deploy` is coming soon (Pakistan first, then other regions). Until then host it anywhere (Vercel, Netlify, Fly, Render, Railway, your own server): the pack's deploy playbook is in .logicpacks/pack/playbooks/deploy.md, with your own keys set on that host.

## Owner: add an Edit button to your app

A plain link and a static image (no script, no cookies, no tracking). Remixes are counted from GitHub's fork count only.
`logicpacks edit-button` in the repo prints these.

README:

```md
[![Edit this app](https://logicpacks.io/badge/edit.svg)](https://logicpacks.io/Tech-Realm/starter-portfolio/edit)
```

Web app footer:

```html
<a href="https://logicpacks.io/Tech-Realm/starter-portfolio/edit" target="_blank" rel="noopener"><img src="https://logicpacks.io/badge/edit.svg" alt="Edit this app" height="20" referrerpolicy="no-referrer" loading="lazy"></a>
```

More about this app as a pack: https://logicpacks.io/Tech-Realm/starter-portfolio.md
