lpdev-plugin-mixpost_tools
v1.0.3
Published
Mixpost.app specific development tools for lpdev
Maintainers
Readme
Mixpost Tools Plugin for lpdev
A development tools plugin for Mixpost.app that automatically manages SSL configuration based on your application URL. This plugin integrates with lpdev to streamline Mixpost development workflows.
Features
- Automatic SSL Configuration: Intelligently sets
ENABLE_SSLbased on yourAPP_URL - Environment Management: Syncs environment variables between app and package
- Development-friendly: Handles local domains (.test, .local, localhost) appropriately
- Status Monitoring: Check current SSL configuration status
Installation
This plugin is designed to work with lpdev. Install with:
lpdev plugin install mixpost_toolsUsage
Automatic Configuration
The plugin automatically activates when:
- Setting an
APP_URLenvironment variable - Add APP_URL to the
.envfile of Mixpost package
SSL Configuration Logic
The plugin automatically sets ENABLE_SSL based on your APP_URL:
- Local domains (
.test,.local): SetsENABLE_SSL=null - Localhost (
localhost,127.0.0.1,::1): SetsENABLE_SSL=null - Remote domains: Sets
ENABLE_SSL=false
Hooks
This plugin responds to the following lpdev hooks:
on_env_set: Triggered when environment variables are modifiedon_project_add: Triggered when new projects are added
Commands
| Command | Description |
|---------|-------------|
| enable-ssl-status | Display current SSL configuration status |
| help | Show plugin usage information |
Run command using:
lpdev plugin mixpost_tools <command>Requirements
- lpdev installed on your system
- Bash shell
- Mixpost project set up
