https://github.com/mrmurphy/mrmurphy-apps
https://github.com/mrmurphy/mrmurphy-apps
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrmurphy/mrmurphy-apps
- Owner: mrmurphy
- Created: 2026-06-06T03:04:20.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-06T03:43:02.000Z (about 2 months ago)
- Last Synced: 2026-06-14T18:39:58.784Z (about 2 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MrMurphy Apps
WordPress plugin for hosting static apps at `/apps/{slug}/`.
## Setup
Symlink into your WordPress site:
```bash
ln -s /Users/murphy/projects/mrmurphy-apps /path/to/site/wp-content/plugins/mrmurphy-apps
```
Activate with WP-CLI:
```bash
studio wp plugin activate mrmurphy-apps
```
## Usage
1. In wp-admin, go to **Apps → Add New**
2. Set the title and slug (`foo` → `/apps/foo/`)
3. Upload a zip of static files
4. Publish and open the public URL
Uploaded files are stored in `wp-content/uploads/mrmurphy-apps/{slug}/`.
HTML responses get a `` tag injected when one is not already present.
Visit stats (HTML document views) appear in the app edit screen sidebar.
## Build
Create a versioned zip for wp-admin upload:
```bash
./build.sh
```
Bump the patch version and build:
```bash
./build.sh --bump
```
Output: `dist/mrmurphy-apps-{version}.zip`
## Development
This repo lives next to [mrmurphy-theme](https://github.com/mrmurphy/mrmurphy-theme) under `~/projects/`.