Fix menu errors, tunneling bugs, and improve README#86
Draft
EricksonAtHome wants to merge 1 commit into
Draft
Conversation
- Accept zero-padded menu choices (01, 06, etc.) to fix Invalid option errors - Validate template folders before starting PHP server - Fix Localtunnel startup (was incorrectly launching ngrok) - Add dependency checks for php and jq with clear install hints - Prevent infinite menu loops in non-interactive shells - Stop deleting .gitignore on launch - Rewrite README with requirements, install steps, and bundled templates Co-authored-by: Erickson Hyppolite Poel <EricksonAtHome@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the most common runtime errors reported in issues (#66, #77, #53) and rewrites the README with accurate setup instructions.
Changes
blackeye.sh01,06,34) so users are no longer shownInvalid option!sites/<template>exists before starting the PHP server (preventscd: No such file or directory)ltbinarynode_modulesvianpm installphp,jq)ngrok-free.appdomains.gitignoreand other repo files on launchREADME.mdTesting
bash -n blackeye.shpasses01maps to Instagram and shows a friendly missing-template message instead of crashing