diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml deleted file mode 100644 index 48f7937..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ /dev/null @@ -1,100 +0,0 @@ -name: Bug Report -description: Found a bug? Report it here! -title: "[BUG] " -labels: ["bug"] -assignees: - - Patricklumowa -body: - - type: markdown - attributes: - value: | - Thank you for taking the time to fill out this template! - **The more information you provide, the easier it will be to identify and fix the bug.** - If you want a guide on filing bug reports effectively, you can [find it here](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html). - - type: checkboxes - id: checked-bugs - attributes: - label: Have you checked to see if this issue has already been reported? - options: - - label: This bug has not been previously reported. - validations: - required: true - - type: textarea - id: describe-bug - attributes: - label: Describe The Bug - description: "Explain what goes wrong when using the bot." - placeholder: "E.g. The bot places pixels on the wrong coordinates or skips areas." - validations: - required: true - - type: textarea - id: expected-behavior - attributes: - label: Expected Behavior - description: "Describe what you expected to happen or why you think the current behavior is wrong." - placeholder: | - E.g. The bot should place pixels exactly according to the template image. - E.g. The bot should respect rate limits and avoid bans. - validations: - required: false - - type: textarea - id: things-tried - attributes: - label: Things You Tried - description: "List all attempts you made to fix or work around the bug." - placeholder: "E.g. Restarted the bot, tried a different template, or updated the pixel map." - validations: - required: false - - type: textarea - id: reproduce-bug - attributes: - label: Reproduce The Bug - description: "Explain exactly how to trigger the bug." - placeholder: | - E.g. - 1. Launch the bot - 2. Load a template image - 3. Start pixel placement - 4. Observe that some pixels are placed incorrectly or skipped - validations: - required: false - - type: textarea - id: error-message - attributes: - label: Error Message - description: "If there are error messages, add them here." - placeholder: "E.g. Error: Coordinates out of range!" - validations: - required: false - - type: textarea - id: screenshots - attributes: - label: Screenshots - description: "Include screenshots or links to illustrate the problem." - placeholder: "E.g. Imgur link showing the pixel placement error" - validations: - required: false - - type: textarea - id: system-information - attributes: - label: System Information - description: "Provide details about your OS, bot version, and browser. Please fill this out!" - placeholder: | - OS: (E.g. Windows) - wplace-autoBOT Version: 2.0 - Browser: Mozilla 142.0 - You found an easter egg :3 - value: | - OS: - wplace-autoBOT Version: - Browser: - validations: - required: true - - type: textarea - id: additional - attributes: - label: Additional Information - description: "Add any other context about the problem here." - placeholder: "E.g. This issue started after the last update or happens only with large templates." - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index c92e633..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Community Support & Questions (Discord) - url: https://discord.gg/knkNRYyQcm - about: Join the Discord if you have questions or want to discuss AutoBOT with the community. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml deleted file mode 100644 index 8d442eb..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Feature Request -description: Have an idea you want added? Suggest it here! -title: "[FEAT] " -labels: ["enhancement"] -assignees: - - Patricklumowa -body: - - type: textarea - id: related-problem - attributes: - label: Is your feature request related to a problem? Please describe. - description: "Describe what the problem is." - placeholder: | - E.g. It's tedious to manually place pixels to recreate complex designs. - E.g. The bot currently can't detect areas that need fixing automatically. - validations: - required: false - - type: textarea - id: feature-solution - attributes: - label: Describe the solution you'd like - description: "Describe what you want to happen." - placeholder: | - E.g. Add an automatic pixel placement feature that matches a template image. - E.g. Implement prioritization of important areas first, like outlines or text. - E.g. Allow configuration of rate limits to avoid getting banned. - validations: - required: true - - type: textarea - id: feature-alternatives - attributes: - label: Describe alternatives you've considered - description: "Describe any alternative solutions or features you've considered." - placeholder: | - E.g. Manually placing pixels myself. - E.g. Using a different bot that doesn't support template images. - E.g. Semi-automatic scripts that still require manual correction. - validations: - required: false - - type: textarea - id: additional-context - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. If your feature is based on "something," please add any links relative to that "something" here. - placeholder: | - E.g. A sample template image the bot should replicate. - E.g. A video of the bot in action or a similar tool online. - E.g. Notes on color palette, priority zones, or timing restrictions. \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md deleted file mode 100644 index 5b2ef76..0000000 --- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ /dev/null @@ -1,28 +0,0 @@ -# Pull Request -Fill out the following details to submit your PR. - -## Summary -Please briefly describe the changes in your PR. -E.g. Fixes display bug with templates. -E.g. Adds a template tab that users can manage all templates through. - -## Related Issue(s) -Link to the related issues your PR would solve here. -E.g. Fixes #14 -E.g. Adds #4 - -## Changes -Select the type of change your PR is: -- [ ] Feature -- [ ] Bug fix -- [ ] Documentation -- [ ] Refactoring -- [ ] Build -- [ ] Other - -## Checklist -- [ ] This PR follows the project's style of coding and documentation. -- [ ] Auto-Bot has been verified to work correctly for this PR. - -## Additional Notes -Anything else reviewers should know? \ No newline at end of file diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml deleted file mode 100644 index 8d1c7f4..0000000 --- a/.github/workflows/cd.yml +++ /dev/null @@ -1,187 +0,0 @@ -name: Pages – aggregate all branches - -on: - push: - branches: ["**"] - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: pages - cancel-in-progress: true - -jobs: - aggregate_deploy: - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deploy.outputs.page_url }} - - steps: - - name: Checkout (shallow) - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Configure Pages - uses: actions/configure-pages@v5 - - - name: Aggregate and build recursive directory pages - shell: bash - run: | - set -euo pipefail - - # jq for JSON escaping (present on runners, but ensure) - if ! command -v jq >/dev/null 2>&1; then - sudo apt-get update -y - sudo apt-get install -y jq - fi - - REPO="${GITHUB_REPOSITORY#*/}" - SITE_ROOT="/${REPO}/" - - mkdir -p public - : > public/.nojekyll - - # Tiny favicon assets to avoid 404s - printf "%s" \ - "" \ - > public/favicon.svg - - # List remote branches - mapfile -t BRANCHES < <( - git ls-remote --heads origin | awk '{print $2}' \ - | sed 's@refs/heads/@@' - ) - - # Landing page (no globals except window.__branches) - cat > public/index.html <<'HTML' - - - - -
| Name | Size | Modified |
|---|---|---|
| 📁 %s/ | — | — |
| 📄 %s | %s | %s |
Generated $(date -u '+%Y-%m-%d %H:%M UTC')
" - } > "$DIR/index.html" - } - - # Build per-branch trees and indexes - for BR in "${BRANCHES[@]}"; do - SAFE="$(echo "$BR" | tr '/:@ ' '----' | sed 's/[^A-Za-z0-9._-]/-/g')" - mkdir -p "public/$SAFE" - - git fetch --depth=1 origin "$BR" - git archive --format=tar FETCH_HEAD | tar -x -C "public/$SAFE" - - # Keep only static assets; prune empty dirs - rm -rf "public/$SAFE/.git" "public/$SAFE/.github" \ - "public/$SAFE/node_modules" - find "public/$SAFE" -type f ! \ - \( -name '*.html' -o -name '*.js' -o -name '*.css' -o \ - -name '*.json' -o -name '*.png' -o -name '*.jpg' -o \ - -name '*.jpeg' -o -name '*.gif' -o -name '*.svg' \) \ - -delete - find "public/$SAFE" -type d -empty -delete - - ROOT_DIR="public/$SAFE" - while IFS= read -r -d '' d; do - gen_index_dir "$d" "$ROOT_DIR" "$BR" - done < <(find "$ROOT_DIR" -type d -print0) - - # Append to landing page (JSON-escaped) - SAFE_JSON=$(printf '%s' "$SAFE" | jq -Rr @json) - BR_JSON=$(printf '%s' "$BR" | jq -Rr @json) - echo "" \ - >> public/index.html - done - - # Finish landing page - cat >> public/index.html <<'HTML' - - HTML - - - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v4 - with: - path: public - - - name: Deploy to GitHub Pages - id: deploy - uses: actions/deploy-pages@v4