Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Designed for **single-owner** usage (restricted by `OWNER_ID`).
name = `repo-subdir`
- **🔄 Sync** button re-pulls the repo, offers to install any new dependencies,
and restarts the app
- **🔀 Switching an app's type**: upload a `.py` file / archive / GitHub link whose name matches
an existing app of a **different** type — the bot will ask for confirmation before converting.
All old versions are preserved and ⏪ Rollback works across the type boundary, fully restoring
the previous type (source files, virtual environment, metadata), so switching is always reversible.
- **🧪 ENV**: global env + per-script/app env, optional env key detection from code
(scans all `.py` files for apps, same detection logic as before for scripts)
- **🚀 Autostart**: run selected scripts/apps automatically when the manager starts
Expand Down Expand Up @@ -115,6 +119,16 @@ docker compose down
- `https://github.com/owner/repo/tree/main/subdir`
- Legend in menus: `📄` script · `📦` archive app · `🌐` GitHub app.

### Switching an app's type
Upload a `.py` file, an archive, or a GitHub link whose **name resolves to the same id** as an
existing app of a different type:
- The bot shows a confirmation dialog (`✅ Convert` / `❌ Cancel`) before doing anything.
- On confirmation: the running process is stopped, old-type artifacts (source tree, venv, `.py`
file) are removed, and the new type is set up from scratch.
- **All previous versions are kept.** ⏪ Rollback works across the type boundary — choosing a
version from before the conversion fully restores the old type (source files, virtual environment,
and all metadata). The conversion itself is also snapshotted, so it too is reversible.

---

## Notes
Expand Down
Loading
Loading