diff --git a/.github/star-history/THIRD_PARTY_NOTICES.md b/.github/star-history/THIRD_PARTY_NOTICES.md deleted file mode 100644 index 54cb54b7c5..0000000000 --- a/.github/star-history/THIRD_PARTY_NOTICES.md +++ /dev/null @@ -1,29 +0,0 @@ -# Third-party notices - -## Star History logo icon - -The self-contained Star History SVG renderer includes `logo-icon.png` from -[star-history/star-history](https://github.com/star-history/star-history), used -as the `star-history.com` watermark. - -MIT License - -Copyright (c) 2025 Star History - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/.github/star-history/history.json b/.github/star-history/history.json deleted file mode 100644 index 8af8a15f08..0000000000 --- a/.github/star-history/history.json +++ /dev/null @@ -1,878 +0,0 @@ -{ - "ongoing_interval_days": 13, - "reconstruction": { - "daily": [ - { - "date": "2025-11-28", - "stars": 1 - }, - { - "date": "2025-12-22", - "stars": 40 - }, - { - "date": "2025-12-23", - "stars": 270 - }, - { - "date": "2025-12-24", - "stars": 378 - }, - { - "date": "2025-12-25", - "stars": 430 - }, - { - "date": "2025-12-26", - "stars": 477 - }, - { - "date": "2025-12-27", - "stars": 497 - }, - { - "date": "2025-12-28", - "stars": 525 - }, - { - "date": "2025-12-29", - "stars": 577 - }, - { - "date": "2025-12-30", - "stars": 611 - }, - { - "date": "2025-12-31", - "stars": 646 - }, - { - "date": "2026-01-01", - "stars": 683 - }, - { - "date": "2026-01-02", - "stars": 719 - }, - { - "date": "2026-01-03", - "stars": 753 - }, - { - "date": "2026-01-04", - "stars": 798 - }, - { - "date": "2026-01-05", - "stars": 838 - }, - { - "date": "2026-01-06", - "stars": 894 - }, - { - "date": "2026-01-07", - "stars": 955 - }, - { - "date": "2026-01-08", - "stars": 1026 - }, - { - "date": "2026-01-09", - "stars": 1073 - }, - { - "date": "2026-01-10", - "stars": 1085 - }, - { - "date": "2026-01-11", - "stars": 1101 - }, - { - "date": "2026-01-12", - "stars": 1125 - }, - { - "date": "2026-01-13", - "stars": 1455 - }, - { - "date": "2026-01-14", - "stars": 1768 - }, - { - "date": "2026-01-15", - "stars": 1955 - }, - { - "date": "2026-01-16", - "stars": 2060 - }, - { - "date": "2026-01-17", - "stars": 2082 - }, - { - "date": "2026-01-18", - "stars": 2109 - }, - { - "date": "2026-01-19", - "stars": 2162 - }, - { - "date": "2026-01-20", - "stars": 2341 - }, - { - "date": "2026-01-21", - "stars": 2604 - }, - { - "date": "2026-01-22", - "stars": 2735 - }, - { - "date": "2026-01-23", - "stars": 2829 - }, - { - "date": "2026-01-24", - "stars": 2900 - }, - { - "date": "2026-01-25", - "stars": 2958 - }, - { - "date": "2026-01-26", - "stars": 2999 - }, - { - "date": "2026-01-27", - "stars": 3076 - }, - { - "date": "2026-01-28", - "stars": 3114 - }, - { - "date": "2026-01-29", - "stars": 3158 - }, - { - "date": "2026-01-30", - "stars": 3212 - }, - { - "date": "2026-01-31", - "stars": 3234 - }, - { - "date": "2026-02-01", - "stars": 3253 - }, - { - "date": "2026-02-02", - "stars": 3283 - }, - { - "date": "2026-02-03", - "stars": 3327 - }, - { - "date": "2026-02-04", - "stars": 3367 - }, - { - "date": "2026-02-05", - "stars": 3406 - }, - { - "date": "2026-02-06", - "stars": 3435 - }, - { - "date": "2026-02-07", - "stars": 3467 - }, - { - "date": "2026-02-08", - "stars": 3503 - }, - { - "date": "2026-02-09", - "stars": 3527 - }, - { - "date": "2026-02-10", - "stars": 3551 - }, - { - "date": "2026-02-11", - "stars": 3579 - }, - { - "date": "2026-02-12", - "stars": 3606 - }, - { - "date": "2026-02-13", - "stars": 3634 - }, - { - "date": "2026-02-14", - "stars": 3657 - }, - { - "date": "2026-02-15", - "stars": 3673 - }, - { - "date": "2026-02-16", - "stars": 3703 - }, - { - "date": "2026-02-17", - "stars": 3732 - }, - { - "date": "2026-02-18", - "stars": 3752 - }, - { - "date": "2026-02-19", - "stars": 3834 - }, - { - "date": "2026-02-20", - "stars": 3912 - }, - { - "date": "2026-02-21", - "stars": 3931 - }, - { - "date": "2026-02-22", - "stars": 3941 - }, - { - "date": "2026-02-23", - "stars": 3954 - }, - { - "date": "2026-02-24", - "stars": 3973 - }, - { - "date": "2026-02-25", - "stars": 3989 - }, - { - "date": "2026-02-26", - "stars": 4002 - }, - { - "date": "2026-02-27", - "stars": 4020 - }, - { - "date": "2026-02-28", - "stars": 4042 - }, - { - "date": "2026-03-01", - "stars": 4058 - }, - { - "date": "2026-03-02", - "stars": 4085 - }, - { - "date": "2026-03-03", - "stars": 4109 - }, - { - "date": "2026-03-04", - "stars": 4128 - }, - { - "date": "2026-03-05", - "stars": 4248 - }, - { - "date": "2026-03-06", - "stars": 4695 - }, - { - "date": "2026-03-07", - "stars": 5336 - }, - { - "date": "2026-03-08", - "stars": 6575 - }, - { - "date": "2026-03-09", - "stars": 10278 - }, - { - "date": "2026-03-10", - "stars": 13543 - }, - { - "date": "2026-03-11", - "stars": 16122 - }, - { - "date": "2026-03-12", - "stars": 18426 - }, - { - "date": "2026-03-13", - "stars": 21121 - }, - { - "date": "2026-03-14", - "stars": 23302 - }, - { - "date": "2026-03-15", - "stars": 26299 - }, - { - "date": "2026-03-16", - "stars": 29077 - }, - { - "date": "2026-03-17", - "stars": 31779 - }, - { - "date": "2026-03-18", - "stars": 33459 - }, - { - "date": "2026-03-19", - "stars": 34942 - }, - { - "date": "2026-03-20", - "stars": 36279 - }, - { - "date": "2026-03-21", - "stars": 37440 - }, - { - "date": "2026-03-22", - "stars": 38779 - }, - { - "date": "2026-03-23", - "stars": 39941 - }, - { - "date": "2026-03-24", - "stars": 40913 - }, - { - "date": "2026-03-25", - "stars": 41761 - }, - { - "date": "2026-03-26", - "stars": 42672 - }, - { - "date": "2026-03-27", - "stars": 43370 - }, - { - "date": "2026-03-28", - "stars": 43999 - }, - { - "date": "2026-03-29", - "stars": 44630 - }, - { - "date": "2026-03-30", - "stars": 45425 - }, - { - "date": "2026-03-31", - "stars": 46118 - }, - { - "date": "2026-04-01", - "stars": 46740 - }, - { - "date": "2026-04-02", - "stars": 47421 - }, - { - "date": "2026-04-03", - "stars": 48061 - }, - { - "date": "2026-04-04", - "stars": 48517 - }, - { - "date": "2026-04-05", - "stars": 49170 - }, - { - "date": "2026-04-06", - "stars": 49863 - }, - { - "date": "2026-04-07", - "stars": 50461 - }, - { - "date": "2026-04-08", - "stars": 51175 - }, - { - "date": "2026-04-09", - "stars": 51931 - }, - { - "date": "2026-04-10", - "stars": 52444 - }, - { - "date": "2026-04-11", - "stars": 52970 - }, - { - "date": "2026-04-12", - "stars": 53419 - }, - { - "date": "2026-04-13", - "stars": 53936 - }, - { - "date": "2026-04-14", - "stars": 54326 - }, - { - "date": "2026-04-15", - "stars": 54652 - }, - { - "date": "2026-04-16", - "stars": 54949 - }, - { - "date": "2026-04-17", - "stars": 55207 - }, - { - "date": "2026-04-18", - "stars": 55386 - }, - { - "date": "2026-04-19", - "stars": 55574 - }, - { - "date": "2026-04-20", - "stars": 55783 - }, - { - "date": "2026-04-21", - "stars": 55988 - }, - { - "date": "2026-04-22", - "stars": 56203 - }, - { - "date": "2026-04-23", - "stars": 56364 - }, - { - "date": "2026-04-24", - "stars": 56530 - }, - { - "date": "2026-04-25", - "stars": 56689 - }, - { - "date": "2026-04-26", - "stars": 56921 - }, - { - "date": "2026-04-27", - "stars": 57161 - }, - { - "date": "2026-04-28", - "stars": 57400 - }, - { - "date": "2026-04-29", - "stars": 57658 - }, - { - "date": "2026-04-30", - "stars": 57873 - }, - { - "date": "2026-05-01", - "stars": 58048 - }, - { - "date": "2026-05-02", - "stars": 58213 - }, - { - "date": "2026-05-03", - "stars": 58386 - }, - { - "date": "2026-05-04", - "stars": 58522 - }, - { - "date": "2026-05-05", - "stars": 58673 - }, - { - "date": "2026-05-06", - "stars": 58820 - }, - { - "date": "2026-05-07", - "stars": 58977 - }, - { - "date": "2026-05-08", - "stars": 59115 - }, - { - "date": "2026-05-09", - "stars": 59239 - }, - { - "date": "2026-05-10", - "stars": 59417 - }, - { - "date": "2026-05-11", - "stars": 59622 - }, - { - "date": "2026-05-12", - "stars": 59811 - }, - { - "date": "2026-05-13", - "stars": 60008 - }, - { - "date": "2026-05-14", - "stars": 60186 - }, - { - "date": "2026-05-15", - "stars": 60318 - }, - { - "date": "2026-05-16", - "stars": 60431 - }, - { - "date": "2026-05-17", - "stars": 60563 - }, - { - "date": "2026-05-18", - "stars": 60695 - }, - { - "date": "2026-05-19", - "stars": 60807 - }, - { - "date": "2026-05-20", - "stars": 60921 - }, - { - "date": "2026-05-21", - "stars": 61024 - }, - { - "date": "2026-05-22", - "stars": 61118 - }, - { - "date": "2026-05-23", - "stars": 61320 - }, - { - "date": "2026-05-24", - "stars": 61680 - }, - { - "date": "2026-05-25", - "stars": 62078 - }, - { - "date": "2026-05-26", - "stars": 62214 - }, - { - "date": "2026-05-27", - "stars": 62411 - }, - { - "date": "2026-05-28", - "stars": 62613 - }, - { - "date": "2026-05-29", - "stars": 62761 - }, - { - "date": "2026-05-30", - "stars": 62909 - }, - { - "date": "2026-05-31", - "stars": 63036 - }, - { - "date": "2026-06-01", - "stars": 63165 - }, - { - "date": "2026-06-02", - "stars": 63305 - }, - { - "date": "2026-06-03", - "stars": 63519 - }, - { - "date": "2026-06-04", - "stars": 63957 - }, - { - "date": "2026-06-05", - "stars": 64352 - }, - { - "date": "2026-06-06", - "stars": 64705 - }, - { - "date": "2026-06-07", - "stars": 64892 - }, - { - "date": "2026-06-08", - "stars": 65095 - }, - { - "date": "2026-06-09", - "stars": 65280 - }, - { - "date": "2026-06-10", - "stars": 65552 - }, - { - "date": "2026-06-11", - "stars": 65807 - }, - { - "date": "2026-06-12", - "stars": 65963 - }, - { - "date": "2026-06-13", - "stars": 66069 - }, - { - "date": "2026-06-14", - "stars": 66175 - }, - { - "date": "2026-06-15", - "stars": 66280 - }, - { - "date": "2026-06-16", - "stars": 66358 - }, - { - "date": "2026-06-17", - "stars": 66457 - }, - { - "date": "2026-06-18", - "stars": 66537 - }, - { - "date": "2026-06-19", - "stars": 66594 - }, - { - "date": "2026-06-20", - "stars": 66640 - }, - { - "date": "2026-06-21", - "stars": 66703 - }, - { - "date": "2026-06-22", - "stars": 66792 - }, - { - "date": "2026-06-23", - "stars": 66863 - }, - { - "date": "2026-06-24", - "stars": 66943 - }, - { - "date": "2026-06-25", - "stars": 67021 - }, - { - "date": "2026-06-26", - "stars": 67107 - }, - { - "date": "2026-06-27", - "stars": 67199 - }, - { - "date": "2026-06-28", - "stars": 67276 - }, - { - "date": "2026-06-29", - "stars": 67351 - }, - { - "date": "2026-06-30", - "stars": 67430 - }, - { - "date": "2026-07-01", - "stars": 67497 - }, - { - "date": "2026-07-02", - "stars": 67586 - }, - { - "date": "2026-07-03", - "stars": 67664 - }, - { - "date": "2026-07-04", - "stars": 67720 - }, - { - "date": "2026-07-05", - "stars": 67775 - }, - { - "date": "2026-07-06", - "stars": 67842 - }, - { - "date": "2026-07-07", - "stars": 67986 - }, - { - "date": "2026-07-08", - "stars": 68088 - }, - { - "date": "2026-07-09", - "stars": 68192 - }, - { - "date": "2026-07-10", - "stars": 68262 - }, - { - "date": "2026-07-11", - "stars": 68330 - }, - { - "date": "2026-07-12", - "stars": 68384 - }, - { - "date": "2026-07-13", - "stars": 68443 - }, - { - "date": "2026-07-14", - "stars": 68512 - }, - { - "date": "2026-07-15", - "stars": 68582 - }, - { - "date": "2026-07-16", - "stars": 68640 - }, - { - "date": "2026-07-17", - "stars": 68714 - }, - { - "date": "2026-07-18", - "stars": 68766 - }, - { - "date": "2026-07-19", - "stars": 68901 - }, - { - "date": "2026-07-20", - "stars": 68993 - } - ], - "generated_at": "2026-07-21T07:30:41Z", - "method": "current_stargazers_starred_at" - }, - "repository": "666ghj/MiroFish", - "schema_version": 1, - "snapshots": [ - { - "at": "2026-07-21T07:46:01Z", - "stars": 69026 - }, - { - "at": "2026-08-03T10:13:09Z", - "stars": 69857 - }, - { - "at": "2026-08-16T03:33:27Z", - "stars": 70983 - }, - { - "at": "2026-09-01T03:33:34Z", - "stars": 71809 - } - ], - "timezone": "UTC" -} diff --git a/.github/workflows/update-star-history.yml b/.github/workflows/update-star-history.yml deleted file mode 100644 index 90f5048a66..0000000000 --- a/.github/workflows/update-star-history.yml +++ /dev/null @@ -1,500 +0,0 @@ -name: Update Star History - -on: - schedule: - - cron: '17 3 1,16 * *' - timezone: 'UTC' - workflow_dispatch: -permissions: - contents: read - -concurrency: - group: repository-star-history-${{ github.repository_id }} - cancel-in-progress: false - -jobs: - update-default-branch: - if: >- - ${{ - github.repository == '666ghj/MiroFish' && - github.ref_name == github.event.repository.default_branch && - ( - github.event_name == 'schedule' || - ( - github.event_name == 'workflow_dispatch' && - github.actor_id == '110395318' && - github.triggering_actor == '666ghj' - ) - ) - }} - runs-on: ubuntu-24.04 - timeout-minutes: 10 - permissions: - contents: write - pull-requests: write - env: - GIT_TERMINAL_PROMPT: '0' - EXPECTED_REPOSITORY: '666ghj/MiroFish' - EXPECTED_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} - steps: - - name: Fetch triggering public commit without credentials - shell: bash - env: - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: | - set -euo pipefail - [[ "${GITHUB_REPOSITORY,,}" == "${EXPECTED_REPOSITORY,,}" ]] - [[ "$GITHUB_REF" == "refs/heads/$EXPECTED_DEFAULT_BRANCH" ]] - git init . - git remote add origin 'https://github.com/666ghj/MiroFish.git' - git \ - -c credential.helper= \ - -c http.followRedirects=false \ - fetch \ - --no-tags \ - --depth=1 \ - origin \ - "$GITHUB_REF" - [[ "$(git rev-parse FETCH_HEAD)" == "$GITHUB_SHA" ]] - git -c core.hooksPath=/dev/null checkout --detach "$GITHUB_SHA" - [[ -z "$(git status --porcelain --untracked-files=all)" ]] - - - name: Run Star History tests without tokens - env: - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: >- - python3 -m unittest - tests.test_local_star_history - tests.test_local_star_count_fetch - -v - - - name: Fetch aggregate Star count only - id: count - shell: bash - env: - GITHUB_TOKEN: ${{ github.token }} - run: | - set -euo pipefail - umask 077 - printf '%s %s\n' \ - 'dfe9e0060d9abb0b3e1cda61bd73bba77fe878815adcbea14601666dce30e927' \ - 'scripts/fetch_star_count.py' | - sha256sum --check --strict - - output="$RUNNER_TEMP/repository-star-count.txt" - [[ ! -e "$output" && ! -L "$output" ]] - python3 scripts/fetch_star_count.py > "$output" - [[ -f "$output" && ! -L "$output" ]] - (( $(wc -c < "$output") <= 32 )) - mapfile -t lines < "$output" - (( ${#lines[@]} == 1 )) - [[ "${lines[0]}" =~ ^[0-9]+$ ]] - printf 'value=%s\n' "${lines[0]}" >> "$GITHUB_OUTPUT" - - - name: Record scheduled aggregate Star snapshot offline without tokens - shell: bash - env: - STAR_COUNT_FILE: ${{ runner.temp }}/repository-star-count.txt - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: | - set -euo pipefail - trap 'rm -f -- "$STAR_COUNT_FILE"' EXIT - [[ -z "${GITHUB_TOKEN:-}" && -z "${GH_TOKEN:-}" ]] - python3 scripts/star_history.py record \ - --count-file "$STAR_COUNT_FILE" \ - --force - - - name: Verify generated outputs without tokens - env: - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: | - python3 scripts/star_history.py check - python3 -m unittest \ - tests.test_local_star_history \ - tests.test_local_star_count_fetch \ - -v - - - name: Commit exact output allowlist - id: commit - shell: bash - env: - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: | - set -euo pipefail - - allowed() { - case "$1" in - .github/star-history/history.json|\ - static/image/star-history-light.svg|\ - static/image/star-history-dark.svg) return 0 ;; - *) return 1 ;; - esac - } - - bad=0 - while IFS= read -r -d '' path; do - if ! allowed "$path"; then - printf '::error::Unexpected changed path: %q\n' "$path" - bad=1 - fi - done < <( - git diff --name-only -z - git diff --cached --name-only -z - git ls-files --others --exclude-standard -z - ) - (( bad == 0 )) || exit 1 - - for path in \ - .github/star-history/history.json \ - static/image/star-history-light.svg \ - static/image/star-history-dark.svg - do - [[ -f "$path" && ! -L "$path" && -s "$path" ]] || { - printf '::error::Invalid output file: %s\n' "$path" - exit 1 - } - [[ "$(realpath -e -- "$path")" == "$GITHUB_WORKSPACE/$path" ]] || { - printf '::error::Output escaped workspace: %s\n' "$path" - exit 1 - } - done - - git add -- \ - .github/star-history/history.json \ - static/image/star-history-light.svg \ - static/image/star-history-dark.svg - - if git diff --cached --quiet; then - printf 'created=false\n' >> "$GITHUB_OUTPUT" - exit 0 - fi - - count=0 - while IFS= read -r -d '' path; do - allowed "$path" || exit 1 - ((count += 1)) - done < <(git diff --cached --name-only -z) - (( count > 0 )) || exit 1 - - git config user.name 'github-actions[bot]' - git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - git \ - -c commit.gpgsign=false \ - -c core.hooksPath=/dev/null \ - commit \ - -m 'chore: update star history [skip ci]' - printf 'created=true\n' >> "$GITHUB_OUTPUT" - - - name: Verify one allowlisted commit and unchanged main target - id: verify - if: ${{ steps.commit.outputs.created == 'true' }} - shell: bash - env: - GITHUB_TOKEN: '' - GH_TOKEN: '' - run: | - set -euo pipefail - - allowed() { - case "$1" in - .github/star-history/history.json|\ - static/image/star-history-light.svg|\ - static/image/star-history-dark.svg) return 0 ;; - *) return 1 ;; - esac - } - - base="$GITHUB_SHA" - target_ref="$GITHUB_REF" - [[ "$GITHUB_RUN_ID" =~ ^[0-9]+$ ]] - [[ "$GITHUB_RUN_ATTEMPT" =~ ^[0-9]+$ ]] - update_branch="automation/star-history/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}" - [[ "${GITHUB_REPOSITORY,,}" == "${EXPECTED_REPOSITORY,,}" ]] - [[ "$GITHUB_REF" == "refs/heads/$EXPECTED_DEFAULT_BRANCH" ]] - [[ "$(git rev-parse HEAD^)" == "$base" ]] - [[ "$(git rev-list --count "${base}..HEAD")" == 1 ]] - [[ -z "$(git status --porcelain --untracked-files=all)" ]] - - origin="$(git remote get-url origin)" - case "$origin" in - https://github.com/666ghj/MiroFish|\ - https://github.com/666ghj/MiroFish.git) ;; - *) - echo "::error::Unexpected origin" - exit 1 - ;; - esac - mapfile -t push_urls < <(git remote get-url --push --all origin) - (( ${#push_urls[@]} == 1 )) - [[ "${push_urls[0]}" == "$origin" ]] - - count=0 - while IFS= read -r -d '' path; do - allowed "$path" || { - printf '::error::Unexpected committed path: %q\n' "$path" - exit 1 - } - ((count += 1)) - done < <(git diff-tree --no-commit-id --name-only -r -z HEAD) - (( count > 0 )) || exit 1 - - git \ - -c credential.helper= \ - -c http.followRedirects=false \ - fetch \ - --no-tags \ - --depth=1 \ - origin \ - "$target_ref" - [[ "$(git rev-parse FETCH_HEAD)" == "$base" ]] || { - echo "::error::Target advanced; refusing to rebase or overwrite" - exit 1 - } - - if git \ - -c credential.helper= \ - -c http.followRedirects=false \ - ls-remote \ - --exit-code \ - --heads \ - origin \ - "refs/heads/$update_branch" >/dev/null - then - echo "::error::Temporary branch already exists" - exit 1 - else - status=$? - [[ "$status" -eq 2 ]] || exit "$status" - fi - - printf 'branch=%s\n' "$update_branch" >> "$GITHUB_OUTPUT" - printf 'head=%s\n' "$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - - - name: Publish through a verified pull request with an ephemeral credential - id: publish - if: ${{ steps.commit.outputs.created == 'true' }} - shell: bash - env: - GITHUB_TOKEN: ${{ github.token }} - UPDATE_BRANCH: ${{ steps.verify.outputs.branch }} - EXPECTED_HEAD: ${{ steps.verify.outputs.head }} - EXPECTED_STAR_COUNT: ${{ steps.count.outputs.value }} - GIT_TERMINAL_PROMPT: '0' - run: | - set -euo pipefail - umask 077 - - allowed() { - case "$1" in - .github/star-history/history.json|\ - static/image/star-history-light.svg|\ - static/image/star-history-dark.svg) return 0 ;; - *) return 1 ;; - esac - } - - base="$GITHUB_SHA" - head="$(git rev-parse HEAD)" - update_branch="$UPDATE_BRANCH" - [[ "$GITHUB_RUN_ID" =~ ^[0-9]+$ ]] - [[ "$GITHUB_RUN_ATTEMPT" =~ ^[0-9]+$ ]] - [[ "$update_branch" == "automation/star-history/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}" ]] - [[ "$head" == "$EXPECTED_HEAD" ]] - [[ "$EXPECTED_STAR_COUNT" =~ ^[0-9]+$ ]] - [[ "${GITHUB_REPOSITORY,,}" == "${EXPECTED_REPOSITORY,,}" ]] - [[ "$GITHUB_REF" == "refs/heads/$EXPECTED_DEFAULT_BRANCH" ]] - [[ "$(git rev-parse HEAD^)" == "$base" ]] - [[ "$(git rev-list --count "${base}..HEAD")" == 1 ]] - [[ -z "$(git status --porcelain --untracked-files=all)" ]] - - origin="$(git remote get-url origin)" - case "$origin" in - https://github.com/666ghj/MiroFish|\ - https://github.com/666ghj/MiroFish.git) ;; - *) - echo "::error::Unexpected origin" - exit 1 - ;; - esac - mapfile -t push_urls < <(git remote get-url --push --all origin) - (( ${#push_urls[@]} == 1 )) - [[ "${push_urls[0]}" == "$origin" ]] - - count=0 - while IFS= read -r -d '' path; do - allowed "$path" || { - printf '::error::Unexpected committed path: %q\n' "$path" - exit 1 - } - ((count += 1)) - done < <(git diff-tree --no-commit-id --name-only -r -z HEAD) - (( count > 0 )) || exit 1 - - expected_files="$RUNNER_TEMP/star-history-expected-files-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}.txt" - pr_files="$RUNNER_TEMP/star-history-pr-files-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}.txt" - open_prs="$RUNNER_TEMP/star-history-open-prs-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}.txt" - body_file="$RUNNER_TEMP/star-history-pr-body-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}.md" - [[ ! -e "$expected_files" && ! -L "$expected_files" ]] - [[ ! -e "$pr_files" && ! -L "$pr_files" ]] - [[ ! -e "$open_prs" && ! -L "$open_prs" ]] - [[ ! -e "$body_file" && ! -L "$body_file" ]] - git diff-tree --no-commit-id --name-only -r HEAD | - LC_ALL=C sort > "$expected_files" - [[ -s "$expected_files" && ! -L "$expected_files" ]] - trap ' - rm -f -- "$expected_files" "$pr_files" "$open_prs" "$body_file" - unset GH_TOKEN GITHUB_TOKEN - unset GIT_CONFIG_COUNT GIT_CONFIG_KEY_0 GIT_CONFIG_VALUE_0 - ' EXIT - - [[ -n "$GITHUB_TOKEN" ]] - [[ "$GITHUB_TOKEN" != *$'\n'* && "$GITHUB_TOKEN" != *$'\r'* ]] - command -v gh >/dev/null - export GH_TOKEN="$GITHUB_TOKEN" - - gh api --paginate \ - "repos/$EXPECTED_REPOSITORY/pulls?state=open&base=$EXPECTED_DEFAULT_BRANCH&per_page=100" \ - --jq '.[] | [.number, .user.login, .head.repo.full_name, .head.ref] | @tsv' \ - > "$open_prs" - [[ -f "$open_prs" && ! -L "$open_prs" ]] - while IFS=$'\t' read -r existing_number existing_author existing_repo existing_head; do - if [[ \ - "$existing_number" =~ ^[0-9]+$ && - "$existing_author" == 'github-actions[bot]' && - "${existing_repo,,}" == "${EXPECTED_REPOSITORY,,}" && - "$existing_head" == automation/star-history/* - ]]; then - echo "::error::An existing automated Star History pull request is still open: #$existing_number" - exit 1 - fi - done < "$open_prs" - - current_base="$( - gh api \ - "repos/$EXPECTED_REPOSITORY/git/ref/heads/$EXPECTED_DEFAULT_BRANCH" \ - --jq '.object.sha' - )" - [[ "$current_base" == "$base" ]] - - encoded="$( - printf 'x-access-token:%s' "$GITHUB_TOKEN" | - base64 | - tr -d '\n' - )" - export GIT_CONFIG_COUNT=1 - export GIT_CONFIG_KEY_0="http.${origin}.extraheader" - export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic $encoded" - unset encoded - - git \ - -c core.hooksPath=/dev/null \ - -c credential.helper= \ - push \ - --porcelain \ - origin \ - "HEAD:refs/heads/$update_branch" - - unset GIT_CONFIG_COUNT GIT_CONFIG_KEY_0 GIT_CONFIG_VALUE_0 - - remote_head="$( - gh api \ - "repos/$EXPECTED_REPOSITORY/git/ref/heads/$update_branch" \ - --jq '.object.sha' - )" - [[ "$remote_head" == "$head" ]] - - current_base="$( - gh api \ - "repos/$EXPECTED_REPOSITORY/git/ref/heads/$EXPECTED_DEFAULT_BRANCH" \ - --jq '.object.sha' - )" - [[ "$current_base" == "$base" ]] - - { - echo 'Automated aggregate Star History refresh.' - echo - echo 'Please review and merge this pull request manually.' - echo - printf -- '- Triggering main SHA: `%s`\n' "$base" - printf -- '- Generated commit SHA: `%s`\n' "$head" - printf -- '- Recorded Star count: `%s`\n' "$EXPECTED_STAR_COUNT" - echo '- Allowed files: history JSON plus light and dark SVGs only.' - } > "$body_file" - [[ -s "$body_file" && ! -L "$body_file" ]] - - create_result="$( - gh api --method POST "repos/$EXPECTED_REPOSITORY/pulls" \ - -f 'title=chore: update Star History' \ - -f "head=$update_branch" \ - -f "base=$EXPECTED_DEFAULT_BRANCH" \ - -f "body=$(<"$body_file")" \ - --jq '[.number, .html_url] | @tsv' - )" - IFS=$'\t' read -r pr_number pr_url <<< "$create_result" - [[ "$pr_number" =~ ^[0-9]+$ ]] - [[ "$pr_url" == "https://github.com/$EXPECTED_REPOSITORY/pull/$pr_number" ]] - - validate_open_pr() { - local metadata - local pr_state pr_draft pr_base_repo pr_base_ref pr_base_sha - local pr_head_repo pr_head_ref pr_head_sha pr_author - - metadata="$( - gh api "repos/$EXPECTED_REPOSITORY/pulls/$pr_number" \ - --jq '[.state, (.draft | tostring), .base.repo.full_name, .base.ref, .base.sha, .head.repo.full_name, .head.ref, .head.sha, .user.login] | @tsv' - )" - IFS=$'\t' read -r \ - pr_state pr_draft pr_base_repo pr_base_ref pr_base_sha \ - pr_head_repo pr_head_ref pr_head_sha pr_author <<< "$metadata" - [[ "$pr_state" == "open" ]] - [[ "$pr_draft" == "false" ]] - [[ "${pr_base_repo,,}" == "${EXPECTED_REPOSITORY,,}" ]] - [[ "$pr_base_ref" == "$EXPECTED_DEFAULT_BRANCH" ]] - [[ "$pr_base_sha" == "$base" ]] - [[ "${pr_head_repo,,}" == "${EXPECTED_REPOSITORY,,}" ]] - [[ "$pr_head_ref" == "$update_branch" ]] - [[ "$pr_head_sha" == "$head" ]] - [[ "$pr_author" == 'github-actions[bot]' ]] - } - - validate_open_pr - gh api \ - "repos/$EXPECTED_REPOSITORY/pulls/$pr_number/files?per_page=100" \ - --jq '.[].filename' | - LC_ALL=C sort > "$pr_files" - [[ -s "$pr_files" && ! -L "$pr_files" ]] - cmp --silent "$expected_files" "$pr_files" - - validate_open_pr - remote_head="$( - gh api \ - "repos/$EXPECTED_REPOSITORY/git/ref/heads/$update_branch" \ - --jq '.object.sha' - )" - [[ "$remote_head" == "$head" ]] - - current_base="$( - gh api \ - "repos/$EXPECTED_REPOSITORY/git/ref/heads/$EXPECTED_DEFAULT_BRANCH" \ - --jq '.object.sha' - )" - [[ "$current_base" == "$base" ]] - - { - echo '### Star History pull request' - echo - printf -- '- Pull request: [#%s](%s)\n' "$pr_number" "$pr_url" - printf -- '- Base SHA: `%s`\n' "$base" - printf -- '- Head SHA: `%s`\n' "$head" - printf -- '- Recorded Star count: `%s`\n' "$EXPECTED_STAR_COUNT" - echo '- Merge: manual owner review required' - } >> "$GITHUB_STEP_SUMMARY" - - printf 'branch=%s\n' "$update_branch" >> "$GITHUB_OUTPUT" - printf 'head_sha=%s\n' "$head" >> "$GITHUB_OUTPUT" - printf 'pr_number=%s\n' "$pr_number" >> "$GITHUB_OUTPUT" - printf 'pr_url=%s\n' "$pr_url" >> "$GITHUB_OUTPUT" diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000000..78239b26f6 --- /dev/null +++ b/NOTICE @@ -0,0 +1,19 @@ +JevFish +Copyright (c) 2026 Mark Wee + +This product includes software developed as MiroFish +(https://github.com/666ghj/MiroFish), Copyright (c) 666ghj and contributors, +licensed under the GNU Affero General Public License version 3 or later. + +JevFish is a derivative work. The jevfish/ directory is new work by Mark Wee, +first published 17 September 2026. The backend/, frontend/, locales/, scripts/ +and static/ directories are unmodified upstream code, retained for reference. + +This program is distributed WITHOUT ANY WARRANTY, without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Affero General Public License for more details. + +"MiroFish" is used only to identify the upstream project. "Jev" and "TypeSafe" +are used only to identify TypeSafe AI's model and API. "Gemini" identifies +Google's model. No endorsement by any of them is claimed or implied, and none +of their logos are used. diff --git a/README.md b/README.md index aa2579dad7..574282817b 100644 --- a/README.md +++ b/README.md @@ -1,207 +1,144 @@ -> **This fork adds JevFish.** [`jevfish/`](jevfish/) is our own rebuild of MiroFish's five-stage pipeline. TypeSafe's Jev decides every simulated person's turn; an LLM only writes the text. The graph is local, so no Zep account is needed, and the prediction is calibrated. See [jevfish/README.md](jevfish/README.md). The original MiroFish code below is kept unchanged as reference. -> -> **To run it on a Mac, double-click `JevFish.app` in this folder.** The first start installs everything it needs and opens JevFish in your browser; the app then asks for your Jev and language-model keys on screen. No terminal, no Homebrew, no Node. If macOS blocks the app because you downloaded the ZIP, open System Settings, Privacy & Security, and click Open Anyway. Keep the folder in your home folder rather than Desktop, Documents or Downloads, or JevFish starts in a Terminal window instead. Full instructions: [jevfish/README.md](jevfish/README.md). +# JevFish -
+**Ask how a population will react. JevFish builds a synthetic crowd, polls every single person, and tells you when the answer came from your prompt instead of from the world.** -MiroFish Logo +[![Licence: AGPL v3](https://img.shields.io/badge/licence-AGPL--3.0--or--later-blue.svg)](LICENSE) +[![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](https://www.python.org/) +[![Install size 27 MB](https://img.shields.io/badge/install-27%20MB-brightgreen.svg)](#install) -666ghj%2FMiroFish | Trendshift +## See it work before you sign up for anything -简洁通用的群体智能引擎,预测万物 -
-A Simple and Universal Swarm Intelligence Engine, Predicting Anything - -666ghj%2FMiroFish | Shanda - -[![GitHub Stars](https://img.shields.io/github/stars/666ghj/MiroFish?style=flat-square&color=DAA520)](https://github.com/666ghj/MiroFish/stargazers) -[![GitHub Watchers](https://img.shields.io/github/watchers/666ghj/MiroFish?style=flat-square)](https://github.com/666ghj/MiroFish/watchers) -[![GitHub Forks](https://img.shields.io/github/forks/666ghj/MiroFish?style=flat-square)](https://github.com/666ghj/MiroFish/network) -[![Docker](https://img.shields.io/badge/Docker-Build-2496ED?style=flat-square&logo=docker&logoColor=white)](https://hub.docker.com/) -[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/666ghj/MiroFish) - -[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=flat-square&logo=discord&logoColor=white)](http://discord.gg/ePf5aPaHnA) -[![X](https://img.shields.io/badge/X-Follow-000000?style=flat-square&logo=x&logoColor=white)](https://x.com/mirofish_ai) -[![Instagram](https://img.shields.io/badge/Instagram-Follow-E4405F?style=flat-square&logo=instagram&logoColor=white)](https://www.instagram.com/mirofish_ai/) - -[English](./README.md) | [中文文档](./README-ZH.md) - -
- -## ⚡ Overview - -**MiroFish** is a next-generation AI prediction engine powered by multi-agent technology. By extracting seed information from the real world (such as breaking news, policy drafts, or financial signals), it automatically constructs a high-fidelity parallel digital world. Within this space, thousands of intelligent agents with independent personalities, long-term memory, and behavioral logic freely interact and undergo social evolution. You can inject variables dynamically from a "God's-eye view" to precisely deduce future trajectories — **rehearse the future in a digital sandbox, and win decisions after countless simulations**. - -> You only need to: Upload seed materials (data analysis reports or interesting novel stories) and describe your prediction requirements in natural language
-> MiroFish will return: A detailed prediction report and a deeply interactive high-fidelity digital world - -### Our Vision - -MiroFish is dedicated to creating a swarm intelligence mirror that maps reality. By capturing the collective emergence triggered by individual interactions, we break through the limitations of traditional prediction: - -- **At the Macro Level**: We are a rehearsal laboratory for decision-makers, allowing policies and public relations to be tested at zero risk -- **At the Micro Level**: We are a creative sandbox for individual users — whether deducing novel endings or exploring imaginative scenarios, everything can be fun, playful, and accessible - -From serious predictions to playful simulations, we let every "what if" see its outcome, making it possible to predict anything. - -## 🌐 Live Demo - -Welcome to visit our online demo environment and experience a prediction simulation on trending public opinion events we've prepared for you: [mirofish-live-demo](https://666ghj.github.io/mirofish-demo/) - -## 📸 Screenshots - -
- - - - - - - - - - - - - -
Screenshot 1Screenshot 2
Screenshot 3Screenshot 4
Screenshot 5Screenshot 6
-
- -## 🎬 Demo Videos - -### 1. Wuhan University Public Opinion Simulation + MiroFish Project Introduction - -
-MiroFish Demo Video - -Click the image to watch the complete demo video for prediction using BettaFish-generated "Wuhan University Public Opinion Report" -
- -### 2. Dream of the Red Chamber Lost Ending Simulation - -
-MiroFish Demo Video +```bash +JEVFISH_FAKE_JUDGE=1 JEVFISH_FAKE_LLM=1 uvx jevfish demo --platform lite +``` -Click the image to watch MiroFish's deep prediction of the lost ending based on hundreds of thousands of words from the first 80 chapters of "Dream of the Red Chamber" -
+About ten seconds, no API keys, no account. It runs all five stages on deterministic +stand-in answers and prints a real report. Then, with keys: -> **Financial Prediction**, **Political News Prediction** and more examples coming soon... +```bash +uvx jevfish serve +``` -## 🔄 Workflow +That is the whole install. It opens in your browser and asks for two keys on screen. No +clone, no Node, no Homebrew. -1. **Graph Building**: Seed extraction & Individual/collective memory injection & GraphRAG construction -2. **Environment Setup**: Entity relationship extraction & Persona generation & Agent configuration injection -3. **Simulation**: Dual-platform parallel simulation & Auto-parse prediction requirements & Dynamic temporal memory updates -4. **Report Generation**: ReportAgent with rich toolset for deep interaction with post-simulation environment -5. **Deep Interaction**: Chat with any agent in the simulated world & Interact with ReportAgent +## What it does -## 🚀 Quick Start +Give it a yes-or-no question and the documents behind it. -### Option 1: Source Code Deployment (Recommended) +1. **Graph** reads the documents and pulls out the people, places and facts. +2. **Crowd** writes a segmented synthetic public plus the real named stakeholders. +3. **Simulate** lets them argue on a social feed, then polls every one of them. +4. **Report** gives you the number, the segments behind it, and what moved. +5. **Ask** lets you interview any single simulated person afterwards. -#### Prerequisites +Every person's judgment comes from a typed decision model rather than free text, so polling +a thousand people costs cents instead of dollars. -| Tool | Version | Description | Check Installation | -|------|---------|-------------|-------------------| -| **Node.js** | 18+ | Frontend runtime, includes npm | `node -v` | -| **Python** | ≥3.11, ≤3.12 | Backend runtime | `python --version` | -| **uv** | Latest | Python package manager | `uv --version` | +## What it will not do -#### 1. Configure Environment Variables +This section is above the screenshots on purpose. -```bash -# Copy the example configuration file -cp .env.example .env +- **The number is not a real-world rate.** It is an acceptance rate within the crowd you + described, or a share of the option set you described. A listing with a 22 percent choice + share can sit in a flat running at 89 percent occupancy, because occupancy is arrival + volume over supply. JevFish names which quantity it is reporting, every time. +- **With no resolved outcomes on file it reports no interval worth trusting, and says so.** + On our own backtest the naive interval was 11.5 times too narrow, and it got *narrower* + as we added people, because sampling noise shrinks while model bias does not move. Record + one real outcome with `jevfish anchor add` and it fits a calibration map. Nine outcomes + buys a distribution-free 90 percent interval. Below four it prints the raw errors instead + of inventing a range. +- **It checks whether it is quoting your own prompt.** On one real price ladder, the wording + the frame generator wrote into the options gave an elasticity of -1.43 and said cut the + rate, while neutral wording of the same length gave -0.09 and said raise it, on identical + inputs. JevFish now refuses frames that describe one option in terms of another, and + reports whether a comparison survives neutral wording. -# Edit the .env file and fill in the required API keys -``` +The full write-up, including the experiments that failed, is in +[jevfish/docs/research/calibration-experiment.md](jevfish/docs/research/calibration-experiment.md). -**Required Environment Variables:** +## Install -```env -# LLM API Configuration (supports any LLM API with OpenAI SDK format) -# Recommended: Alibaba Qwen-plus model via Bailian Platform: https://bailian.console.aliyun.com/ -# High consumption, try simulations with fewer than 40 rounds first -LLM_API_KEY=your_api_key -LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 -LLM_MODEL_NAME=qwen-plus +| | Command | Size | +|---|---|---| +| Just the predictor | `uvx jevfish serve` | 27 MB | +| With PDF seed upload | `uv tool install 'jevfish[pdf]'` | plus 5 MB | +| With the OASIS social feed | `uv tool install 'jevfish[oasis]'` | about 1 GB | +| Everything | `uv tool install 'jevfish[all]'` | about 1 GB | -# Zep Cloud Configuration -# Free monthly quota is sufficient for simple usage: https://app.getzep.com/ -ZEP_API_KEY=your_zep_api_key -``` +The OASIS extra is large because it pulls a machine-learning stack that the prediction +itself never uses. The default `lite` platform gives the same prediction without the +simulated social feed, so start there. -#### 2. Install Dependencies +No `uv`? `curl -LsSf https://astral.sh/uv/install.sh | sh`, or use `pipx install jevfish`. -```bash -# One-click installation of all dependencies (root + frontend + backend) -npm run setup:all -``` +You need a [TypeSafe](https://console.typesafe.ai/settings/keys) key and any +OpenAI-compatible key (a free Google Gemini key works). The app asks for both on first run +and checks them before spending anything. -Or install step by step: +### Mac, without a terminal -```bash -# Install Node dependencies (root + frontend) -npm run setup +Download `JevFish-macos.dmg` from the +[latest release](https://github.com/markiewee/jevfish/releases/latest), drag it to +Applications and open it. It is not code-signed, so the first launch needs System Settings, +Privacy and Security, Open Anyway. If that annoys you, `uvx jevfish serve` does the same +thing in one line with no dialog. -# Install Python dependencies (backend, auto-creates virtual environment) -npm run setup:backend -``` +## Recording what actually happened -#### 3. Start Services +This is the part that turns a plausible number into a trustworthy one. ```bash -# Start both frontend and backend (run from project root) -npm run dev +jevfish anchor add --question "..." --option "MYR 300" \ + --predicted 0.568 --actual 0.892 --n 801 +jevfish anchor list ``` -**Service URLs:** -- Frontend: `http://localhost:3000` -- Backend API: `http://localhost:5001` +| Outcomes on file | What you get | +|---|---| +| 0 | an uncalibrated number, labelled as such | +| 1 | a fitted level shift | +| 5 | level plus scale, so the shape is corrected too | +| 9 | a distribution-free 90 percent interval | +| about 70 | near-optimal decisions, by the published evidence | -**Start Individually:** - -```bash -npm run backend # Start backend only -npm run frontend # Start frontend only -``` +Anchors record the model version they were fitted against, because the same prompt gives +different answers across versions and a calibration must not silently transfer. -### Option 2: Docker Deployment +## Developing ```bash -# 1. Configure environment variables (same as source deployment) -cp .env.example .env - -# 2. Pull image and start -docker compose up -d +git clone https://github.com/markiewee/jevfish +cd jevfish/jevfish +uv sync +uv run pytest -q # 158 pass, 4 skip without the optional extras +uv sync --all-extras && uv run pytest -q # 175 pass ``` -Reads `.env` from root directory by default, maps ports `3000 (frontend) / 5001 (backend)` - -> Mirror address for faster pulling is provided as comments in `docker-compose.yml`, replace if needed. - -## 📬 Join the Conversation - -
-QQ Group -
+Nothing in the test suite needs API keys. See [CONTRIBUTING.md](CONTRIBUTING.md). -  +## Credits and licence -The MiroFish team is recruiting full-time/internship positions. If you're interested in multi-agent simulation and LLM applications, feel free to send your resume to: **mirofish@shanda.com** +JevFish is a rebuild of the five-stage pipeline from +**[MiroFish](https://github.com/666ghj/MiroFish)** by 666ghj, running on a different +decision engine. -## 📄 Acknowledgments +**Modifications by Mark Wee, from 17 September 2026.** The `jevfish/` tree is new work. The +upstream `backend/`, `frontend/`, `locales/`, `scripts/` and `static/` trees are unmodified +and kept for reference. MiroFish's own README is preserved at +[docs/UPSTREAM-README.md](docs/UPSTREAM-README.md). -**MiroFish has received strategic support and incubation from Shanda Group!** +### Licence -MiroFish's simulation engine is powered by **[OASIS (Open Agent Social Interaction Simulations)](https://github.com/camel-ai/oasis)**, We sincerely thank the CAMEL-AI team for their open-source contributions! +JevFish is licensed **AGPL-3.0-or-later**, inherited from MiroFish. In plain terms: -## 📈 Project Statistics +- You may use, study, change and redistribute it. +- If you distribute a modified version you must release your changes under the same + licence, with a dated notice of what you changed. +- **Section 13:** if you run a modified JevFish as a service that others reach over a + network, you must offer those users the corresponding source of your version. A static + replay of a finished run is not covered, because nothing is accepting requests. - - - - - 666ghj/MiroFish Star History Chart - - +Full text in [LICENSE](LICENSE). Third-party components are listed in +[THIRD_PARTY.md](THIRD_PARTY.md), and the copyright notice is in [NOTICE](NOTICE). diff --git a/THIRD_PARTY.md b/THIRD_PARTY.md new file mode 100644 index 0000000000..7a2a063676 --- /dev/null +++ b/THIRD_PARTY.md @@ -0,0 +1,30 @@ +# Third-party components + +| Component | Licence | Why it is here | +|---|---|---| +| [MiroFish](https://github.com/666ghj/MiroFish) | AGPL-3.0 | JevFish reimplements its five-stage pipeline. The upstream trees are kept unmodified | +| [typesafe-sdk](https://pypi.org/project/typesafe-sdk/) | see package | Calls the Jev decision model | +| [Flask](https://flask.palletsprojects.com/) | BSD-3-Clause | HTTP API and static file serving | +| [openai](https://pypi.org/project/openai/) | Apache-2.0 | Any OpenAI-compatible endpoint | +| [python-dotenv](https://pypi.org/project/python-dotenv/) | BSD-3-Clause | Reads the key file | +| [pypdf](https://pypi.org/project/pypdf/) | BSD-3-Clause | Optional `[pdf]` extra, PDF seed upload | +| [camel-ai](https://github.com/camel-ai/camel) | Apache-2.0 | Optional `[oasis]` extra | +| [camel-oasis](https://github.com/camel-ai/oasis) | Apache-2.0 | Optional `[oasis]` extra, the reddit and twitter feeds | +| [Vue](https://vuejs.org/) | MIT | The web app | + +## Removed deliberately + +**PyMuPDF** was replaced by `pypdf` on 18 September 2026. PyMuPDF is dual licensed, +AGPL-3.0 or a paid Artifex commercial licence, so keeping it meant `jevfish/` carried a +copyleft obligation with nothing to do with MiroFish, and it would have pulled a hosted +interactive demo into AGPL section 13 on its own. `pypdf` is BSD-3-Clause. The swap also +removed 54 MB from the install. + +**mcp** was removed on 18 September 2026. It was declared as a runtime dependency with +zero imports anywhere in `src/` or `tests/`. + +## Trademarks + +Product names are used for identification only. No affiliation with or endorsement by +TypeSafe AI, Google, or the MiroFish authors is claimed. TypeSafe's and Google's logos are +not used anywhere in this project. diff --git a/README-ZH.md b/docs/UPSTREAM-README-ZH.md similarity index 100% rename from README-ZH.md rename to docs/UPSTREAM-README-ZH.md diff --git a/docs/UPSTREAM-README.md b/docs/UPSTREAM-README.md new file mode 100644 index 0000000000..aa2579dad7 --- /dev/null +++ b/docs/UPSTREAM-README.md @@ -0,0 +1,207 @@ +> **This fork adds JevFish.** [`jevfish/`](jevfish/) is our own rebuild of MiroFish's five-stage pipeline. TypeSafe's Jev decides every simulated person's turn; an LLM only writes the text. The graph is local, so no Zep account is needed, and the prediction is calibrated. See [jevfish/README.md](jevfish/README.md). The original MiroFish code below is kept unchanged as reference. +> +> **To run it on a Mac, double-click `JevFish.app` in this folder.** The first start installs everything it needs and opens JevFish in your browser; the app then asks for your Jev and language-model keys on screen. No terminal, no Homebrew, no Node. If macOS blocks the app because you downloaded the ZIP, open System Settings, Privacy & Security, and click Open Anyway. Keep the folder in your home folder rather than Desktop, Documents or Downloads, or JevFish starts in a Terminal window instead. Full instructions: [jevfish/README.md](jevfish/README.md). + +
+ +MiroFish Logo + +666ghj%2FMiroFish | Trendshift + +简洁通用的群体智能引擎,预测万物 +
+A Simple and Universal Swarm Intelligence Engine, Predicting Anything + +666ghj%2FMiroFish | Shanda + +[![GitHub Stars](https://img.shields.io/github/stars/666ghj/MiroFish?style=flat-square&color=DAA520)](https://github.com/666ghj/MiroFish/stargazers) +[![GitHub Watchers](https://img.shields.io/github/watchers/666ghj/MiroFish?style=flat-square)](https://github.com/666ghj/MiroFish/watchers) +[![GitHub Forks](https://img.shields.io/github/forks/666ghj/MiroFish?style=flat-square)](https://github.com/666ghj/MiroFish/network) +[![Docker](https://img.shields.io/badge/Docker-Build-2496ED?style=flat-square&logo=docker&logoColor=white)](https://hub.docker.com/) +[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/666ghj/MiroFish) + +[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=flat-square&logo=discord&logoColor=white)](http://discord.gg/ePf5aPaHnA) +[![X](https://img.shields.io/badge/X-Follow-000000?style=flat-square&logo=x&logoColor=white)](https://x.com/mirofish_ai) +[![Instagram](https://img.shields.io/badge/Instagram-Follow-E4405F?style=flat-square&logo=instagram&logoColor=white)](https://www.instagram.com/mirofish_ai/) + +[English](./README.md) | [中文文档](./README-ZH.md) + +
+ +## ⚡ Overview + +**MiroFish** is a next-generation AI prediction engine powered by multi-agent technology. By extracting seed information from the real world (such as breaking news, policy drafts, or financial signals), it automatically constructs a high-fidelity parallel digital world. Within this space, thousands of intelligent agents with independent personalities, long-term memory, and behavioral logic freely interact and undergo social evolution. You can inject variables dynamically from a "God's-eye view" to precisely deduce future trajectories — **rehearse the future in a digital sandbox, and win decisions after countless simulations**. + +> You only need to: Upload seed materials (data analysis reports or interesting novel stories) and describe your prediction requirements in natural language
+> MiroFish will return: A detailed prediction report and a deeply interactive high-fidelity digital world + +### Our Vision + +MiroFish is dedicated to creating a swarm intelligence mirror that maps reality. By capturing the collective emergence triggered by individual interactions, we break through the limitations of traditional prediction: + +- **At the Macro Level**: We are a rehearsal laboratory for decision-makers, allowing policies and public relations to be tested at zero risk +- **At the Micro Level**: We are a creative sandbox for individual users — whether deducing novel endings or exploring imaginative scenarios, everything can be fun, playful, and accessible + +From serious predictions to playful simulations, we let every "what if" see its outcome, making it possible to predict anything. + +## 🌐 Live Demo + +Welcome to visit our online demo environment and experience a prediction simulation on trending public opinion events we've prepared for you: [mirofish-live-demo](https://666ghj.github.io/mirofish-demo/) + +## 📸 Screenshots + +
+ + + + + + + + + + + + + +
Screenshot 1Screenshot 2
Screenshot 3Screenshot 4
Screenshot 5Screenshot 6
+
+ +## 🎬 Demo Videos + +### 1. Wuhan University Public Opinion Simulation + MiroFish Project Introduction + +
+MiroFish Demo Video + +Click the image to watch the complete demo video for prediction using BettaFish-generated "Wuhan University Public Opinion Report" +
+ +### 2. Dream of the Red Chamber Lost Ending Simulation + +
+MiroFish Demo Video + +Click the image to watch MiroFish's deep prediction of the lost ending based on hundreds of thousands of words from the first 80 chapters of "Dream of the Red Chamber" +
+ +> **Financial Prediction**, **Political News Prediction** and more examples coming soon... + +## 🔄 Workflow + +1. **Graph Building**: Seed extraction & Individual/collective memory injection & GraphRAG construction +2. **Environment Setup**: Entity relationship extraction & Persona generation & Agent configuration injection +3. **Simulation**: Dual-platform parallel simulation & Auto-parse prediction requirements & Dynamic temporal memory updates +4. **Report Generation**: ReportAgent with rich toolset for deep interaction with post-simulation environment +5. **Deep Interaction**: Chat with any agent in the simulated world & Interact with ReportAgent + +## 🚀 Quick Start + +### Option 1: Source Code Deployment (Recommended) + +#### Prerequisites + +| Tool | Version | Description | Check Installation | +|------|---------|-------------|-------------------| +| **Node.js** | 18+ | Frontend runtime, includes npm | `node -v` | +| **Python** | ≥3.11, ≤3.12 | Backend runtime | `python --version` | +| **uv** | Latest | Python package manager | `uv --version` | + +#### 1. Configure Environment Variables + +```bash +# Copy the example configuration file +cp .env.example .env + +# Edit the .env file and fill in the required API keys +``` + +**Required Environment Variables:** + +```env +# LLM API Configuration (supports any LLM API with OpenAI SDK format) +# Recommended: Alibaba Qwen-plus model via Bailian Platform: https://bailian.console.aliyun.com/ +# High consumption, try simulations with fewer than 40 rounds first +LLM_API_KEY=your_api_key +LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 +LLM_MODEL_NAME=qwen-plus + +# Zep Cloud Configuration +# Free monthly quota is sufficient for simple usage: https://app.getzep.com/ +ZEP_API_KEY=your_zep_api_key +``` + +#### 2. Install Dependencies + +```bash +# One-click installation of all dependencies (root + frontend + backend) +npm run setup:all +``` + +Or install step by step: + +```bash +# Install Node dependencies (root + frontend) +npm run setup + +# Install Python dependencies (backend, auto-creates virtual environment) +npm run setup:backend +``` + +#### 3. Start Services + +```bash +# Start both frontend and backend (run from project root) +npm run dev +``` + +**Service URLs:** +- Frontend: `http://localhost:3000` +- Backend API: `http://localhost:5001` + +**Start Individually:** + +```bash +npm run backend # Start backend only +npm run frontend # Start frontend only +``` + +### Option 2: Docker Deployment + +```bash +# 1. Configure environment variables (same as source deployment) +cp .env.example .env + +# 2. Pull image and start +docker compose up -d +``` + +Reads `.env` from root directory by default, maps ports `3000 (frontend) / 5001 (backend)` + +> Mirror address for faster pulling is provided as comments in `docker-compose.yml`, replace if needed. + +## 📬 Join the Conversation + +
+QQ Group +
+ +  + +The MiroFish team is recruiting full-time/internship positions. If you're interested in multi-agent simulation and LLM applications, feel free to send your resume to: **mirofish@shanda.com** + +## 📄 Acknowledgments + +**MiroFish has received strategic support and incubation from Shanda Group!** + +MiroFish's simulation engine is powered by **[OASIS (Open Agent Social Interaction Simulations)](https://github.com/camel-ai/oasis)**, We sincerely thank the CAMEL-AI team for their open-source contributions! + +## 📈 Project Statistics + + + + + + 666ghj/MiroFish Star History Chart + + diff --git a/jevfish/docs/research/adoption-and-packaging.md b/jevfish/docs/research/adoption-and-packaging.md new file mode 100644 index 0000000000..e23d4fadb0 --- /dev/null +++ b/jevfish/docs/research/adoption-and-packaging.md @@ -0,0 +1,1623 @@ +# JevFish: adoption and packaging research + +Compiled 18 September 2026. Star counts and release figures pulled live from the GitHub REST API on that date. Local measurements were run on this machine against `/Users/mark/Desktop/claudine/projects/mirofish-jev`. + +Two corrections to the brief before anything else, both measured: + +1. The committed frontend is **332 KB**, not 39 MB. `jevfish/web/dist` is 3 tracked files (332 KB); the 39 MB is `jevfish/web/node_modules`, which is gitignored (`jevfish/.gitignore:6`). Only 34 files are tracked under `jevfish/web`. +2. The backend is **Flask**, not FastAPI. `jevfish/src/jevfish/api.py:1` reads `"""HTTP API (Flask). Serves the Vue app from web/dist at /."""`, and `pyproject.toml` lists `flask>=3.0`. This matters for the Vercel and PyInstaller sections below. + +Emoji have been removed from the quoted README excerpts below. They are otherwise verbatim. + +--- + +## Executive summary, ranked by impact per unit of effort + +1. **The repo is a GitHub fork, so it does not exist in GitHub search.** `search/repositories?q=mirofish-jev` returns **0**; with `fork:true` it returns **1**. Forks are excluded from repository search and from topic pages by default. Leaving the fork network is self-service and free, and costs nothing here (0 stars, 0 issues, 0 child forks). Natural experiment in the same ecosystem: `nikmcfly/MiroFish-Offline` (detached, 10 topics) has **2,522 stars** while `EleutheroiEdge/mirofish-offline` (a fork, 0 topics) has **0**, on a byte-identical description. +2. **The repo still presents itself as MiroFish.** Description is MiroFish's Chinese-and-English tagline, the homepage field points at `mirofish.ai`, topics are **zero of a permitted 20**, and three badges plus a whole 18 KB workflow report upstream's star count. Every shared link unfurls as MiroFish. Fix: about 40 minutes. +3. **A one-line install already works and nobody knows.** Verified live: `uv` clones the public repo, finds the package via `git+https://github.com/markiewee/mirofish-jev#subdirectory=jevfish` and resolves all 140 packages, with the commit SHA pinned for free. +4. **But the wheel ships no UI.** `uv build --wheel` gives 34 files / 168,620 bytes and **no `web/dist`**, because `PACKAGE_ROOT = Path(__file__).resolve().parents[2]` (`config.py:19`) resolves to `lib/python3.12` once installed. I applied the two-line fix and verified the wheel then serves `GET /` at 200 with the real index and the 301 KB JS bundle. +5. **The install is 1.1 GB and about 940 MB of that is never used.** `camel-oasis==0.2.5` hard-depends on `sentence-transformers`, dragging torch 2.14.0 (553 MB), transformers (59 MB), scipy (82 MB), scikit-learn (34 MB), sympy (41 MB), plus `pre-commit` and `pytest` as runtime deps. Measured: **1.1 GB / 161 packages** today, **118 MB / 59** without `camel-oasis`, **66 MB** if `pymupdf` also goes. Cold install drops from 27.4 s to 4.4 s. +6. **PyMuPDF is itself AGPL** ("Dual Licensed, GNU AFFERO GPL 3.0 or Artifex Commercial License"), used in exactly one already-lazy import at `service.py:59`. So `jevfish/` carries a copyleft obligation independent of MiroFish, and a hosted demo triggers AGPL Section 13 through it. Swapping to `pypdf` (BSD-3-Clause) is five lines, removes that obligation and saves 54 MB. Best value-per-line change in the report. +7. **The keyless demo already exists and is undiscoverable.** With `JEVFISH_FAKE_JUDGE=1 JEVFISH_FAKE_LLM=1` the full five-stage pipeline runs in about ten seconds with no API keys and returns a real calibrated prediction with a 90% range. No competitor in this market lets anyone see output without a signup. This belongs as the first command in the README. +8. **The unsigned `.app` is the weakest part of the funnel, and signing it would certify nothing.** `spctl` reports `rejected, source=no usable signature`. The right-click-Open bypass was removed in macOS 15.0, so the only path is System Settings, Open Anyway, which needs an admin password and expires after about an hour. Notarization costs USD 99/yr and would seal a 148 KB shell around 1 GB downloaded after launch. Switching the ZIP to a DMG is near-free and strictly better today. +9. **The README buries the install and the numbers.** First fenced block is at **line 112** against a 46-repo median of 60 and Ollama's 15, the brand ratio is 37 MiroFish mentions to 4 JevFish, and 44 of 46 high-star adjacent repos put media at a median of line 3. Target hero GIF: 300 to 900 KB, the band lazygit (665 KB) and zoxide (627 KB) sit in. +10. **The name is clear, the vocabulary is not.** `jevfish` is free on PyPI, npm and GitHub (0 repos, 0 users), and all four of `jevfish.com/.ai/.dev/.app` have no DNS records. But the README uses none of the words the audience types: silicon sampling, generative agents, synthetic respondents, AI focus group, social simulation. + +--- + +## 1. Comparable projects and what their repos look like + +### 1.1 Live figures, 18 September 2026 + +| Repo | Stars | Forks | Lang | Licence | README lines | First install command at line | Position | +|---|---|---|---|---|---|---|---| +| ollama/ollama | 181,191 | 17,922 | Go | MIT | 356 | 16 | 4% | +| langflow-ai/langflow | 154,960 | | Python | MIT | | | | +| open-webui/open-webui | 152,442 | 22,304 | Python | custom | 261 | 116 | 44% | +| AUTOMATIC1111/stable-diffusion-webui | 164,994 | 30,938 | Python | AGPL-3.0 | 205 | 154 | 75% | +| Comfy-Org/ComfyUI | 133,718 | 15,829 | Python | GPL-3.0 | 437 | 185 | 42% | +| tauri-apps/tauri | 111,148 | | Rust | Apache-2.0 | | | | +| astral-sh/uv | 89,946 | 3,591 | Rust | Apache-2.0 | 326 | 50 | 15% | +| **666ghj/MiroFish (upstream)** | **73,886** | **11,362** | Python | **AGPL-3.0** | 203 | 172 | **84%** | +| openinterpreter/openinterpreter | 68,378 | 5,884 | Rust | Apache-2.0 | 147 | 34 | 23% | +| Mintplex-Labs/anything-llm | 66,164 | 7,348 | JS | MIT | 326 | none (download button) | | +| lllyasviel/Fooocus | 53,098 | 8,612 | Python | GPL-3.0 | 486 | 132 | 27% | +| Aider-AI/aider | 49,036 | | Python | Apache-2.0 | 180 | none (docs link) | | +| oobabooga/textgen | 47,681 | | Python | AGPL-3.0 | | | | +| janhq/jan | 44,517 | 3,032 | TS | custom | 204 | 114 | 55% | +| danny-avila/LibreChat | 44,264 | 9,099 | TS | MIT | 264 | none | | +| khoj-ai/khoj | 37,399 | 2,484 | Python | **AGPL-3.0** | **107** | none (docs link) | | +| ItzCrazyKns/Vane (ex-Perplexica) | 36,867 | 4,092 | TS | MIT | 251 | 71 | 28% | +| Genesis-Embodied-AI/genesis-world | 29,963 | | Python | Apache-2.0 | | | | +| assafelovic/gpt-researcher | 29,503 | 4,014 | Python | Apache-2.0 | 369 | 102 | 27% | +| marimo-team/marimo | 22,821 | 1,275 | Python | Apache-2.0 | 350 | 60 | 17% | +| joonspk-research/generative_agents | 22,121 | 3,107 | - | Apache-2.0 | 141 | 45 | 31% | +| camel-ai/camel | 17,741 | 2,083 | Python | Apache-2.0 | | | | +| Nuitka/Nuitka | 15,129 | | Python | AGPL-3.0 | | | | +| SakanaAI/AI-Scientist | 14,574 | 2,056 | Notebook | custom | | | | +| pyinstaller/pyinstaller | 13,095 | | Python | custom | | | | +| pypa/pipx | 12,967 | | Python | MIT | | | | +| simonw/llm | 12,526 | | Python | Apache-2.0 | | | | +| darrenburns/posting | 12,424 | | Python | Apache-2.0 | 60 | 34 | 56% | +| **microsoft/TinyTroupe** | **7,571** | | Notebook | MIT | 844 | 237 | 28% | +| tconbeer/harlequin | 6,403 | | Python | MIT | 179 | 23 | 12% | +| **camel-ai/oasis** | **5,156** | 631 | Python | Apache-2.0 | 369 | 115 | 31% | +| OpenBMB/AgentVerse | 5,132 | | JS | Apache-2.0 | | | | +| mesa/mesa | 3,846 | 1,313 | Python | Apache-2.0 | 142 | 37 | 26% | +| beeware/briefcase | 3,348 | | Python | BSD-3 | | | | +| google-deepmind/concordia | 1,709 | 368 | Python | Apache-2.0 | 187 | 80 | 42% | +| tsinghua-fib-lab/AgentSociety | 1,293 | | Python | Apache-2.0 | | | | +| AgentTorch/AgentTorch | 649 | 98 | Notebook | **AGPL-3.0** | 127 | none | | +| sotopia-lab/sotopia | 332 | | Python | MIT | | | | + +LM Studio is closed source and has no public repo, so it is out of scope for README study; it is an Electron (reportedly now Tauri) signed installer distributed from lmstudio.ai. + +Two patterns worth naming. The projects with the highest adoption relative to their niche put the install command in the **top 20% of the README** (Ollama 4%, harlequin 12%, uv 15%, marimo 17%). The upstream MiroFish, despite 73,886 stars, buries its first command at **84%**, which tells you stars came from a trending-list spike and Chinese social distribution, not from README conversion. Note also that MiroFish's Discord has only **800 members** (65 online) against 73,886 stars: a 0.011 ratio. Compare ComfyUI Discord at **60,973** members and Open WebUI at **35,077**. Stars are not users. + +### 1.2 The most instructive READMEs, first 30 lines + +**Ollama, 181,191 stars. The gold standard for "download and it works".** First install command at line 16 of 356. + +``` +

+ + ollama + +

+ +# Ollama + +Start building with open models. + +## Download + +### macOS + +```shell +curl -fsSL https://ollama.com/install.sh | sh +``` + +or [download manually](https://ollama.com/download/Ollama.dmg) + +### Windows + +```shell +irm https://ollama.com/install.ps1 | iex +``` + +or [download manually](https://ollama.com/download/OllamaSetup.exe) + +### Linux + +```shell +curl -fsSL https://ollama.com/install.sh | sh +``` + +Nine lines of prose total before the heading `## Download`. One sentence of positioning ("Start building with open models"). No badges at all. Both a script and a manual download per platform. Release evidence that this works: `Ollama-darwin.zip` 188 MB with **59,719 downloads** and `OllamaSetup.exe` 1,497 MB with **58,282 downloads** on the latest tag alone, while the bare `install.sh` asset shows 9,110. + +**nikmcfly/MiroFish-Offline, 2,522 stars. The single most relevant comparable: a MiroFish derivative that got adopted.** First install command at line 56 of 205. + +``` +
+ +MiroFish Offline + +# MiroFish-Offline + +**Fully local fork of [MiroFish](https://github.com/666ghj/MiroFish) - no cloud APIs required. English UI.** + +*A multi-agent swarm intelligence engine that simulates public opinion, market sentiment, and social dynamics. Entirely on your hardware.* + +[![GitHub Stars](https://img.shields.io/github/stars/nikmcfly/MiroFish-Offline?style=flat-square&color=DAA520)](https://github.com/nikmcfly/MiroFish-Offline/stargazers) +[![GitHub Forks](https://img.shields.io/github/forks/nikmcfly/MiroFish-Offline?style=flat-square)](https://github.com/nikmcfly/MiroFish-Offline/network) +[![Docker](https://img.shields.io/badge/Docker-Build-2496ED?style=flat-square&logo=docker&logoColor=white)](https://hub.docker.com/) +[![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-blue?style=flat-square)](./LICENSE) + +
+ +## What is this? + +MiroFish is a multi-agent simulation engine: upload any document (press release, policy draft, financial report), and it generates hundreds of AI agents with unique personalities that simulate the public reaction on social media. Posts, arguments, opinion shifts, hour by hour. + +The [original MiroFish](https://github.com/666ghj/MiroFish) was built for the Chinese market (Chinese UI, Zep Cloud for knowledge graphs, DashScope API). This fork makes it **fully local and fully English**: + +| Original MiroFish | MiroFish-Offline | +|---|---| +| Chinese UI | **English UI** (1,000+ strings translated) | +| Zep Cloud (graph memory) | **Neo4j Community Edition 5.15** | +| DashScope / OpenAI API (LLM) | **Ollama** (qwen2.5, llama3, etc.) | +| Zep Cloud embeddings | **nomic-embed-text** via Ollama | +| Cloud API keys required | **Zero cloud dependencies** | +``` + +The structure is a template JevFish can copy line for line: banner, H1, one bold line saying "fork of X, and here is the one thing that is different", one italic line saying what the thing is, four badges including an AGPL badge, then a two-column **original versus this fork** table before any install instruction. Its attribution section (line 197) reads: + +``` +## Credits & Attribution + +This is a modified fork of [MiroFish](https://github.com/666ghj/MiroFish) by [666ghj](https://github.com/666ghj), originally supported by [Shanda Group](https://www.shanda.com/). The simulation engine is powered by [OASIS](https://github.com/camel-ai/oasis) from the CAMEL-AI team. +``` + +**khoj-ai/khoj, 37,399 stars. AGPL-3.0, Python, local-first, hosted demo: the closest legal and architectural analog.** 107 lines, and **no install command in the README at all**. + +``` +

Khoj Logo

+ +
+ +[![test](https://github.com/khoj-ai/khoj/actions/workflows/test.yml/badge.svg)](https://github.com/khoj-ai/khoj/actions/workflows/test.yml) +[![docker](https://github.com/khoj-ai/khoj/actions/workflows/dockerize.yml/badge.svg)](https://github.com/khoj-ai/khoj/pkgs/container/khoj) +[![pypi](https://github.com/khoj-ai/khoj/actions/workflows/pypi.yml/badge.svg)](https://pypi.org/project/khoj/) +[![discord](https://img.shields.io/discord/1112065956647284756?style=plastic&label=discord)](https://discord.gg/BDgyabRM6e) + +
+ +
+Your AI second brain +
+ +
+ +
+ +[Docs](https://docs.khoj.dev) +  •   +[Web](https://khoj.dev) +  •   +[App](https://app.khoj.dev) +  •   +[Discord](https://discord.gg/BDgyabRM6e) +  •   +[Blog](https://blog.khoj.dev) + +
+``` + +Khoj's whole self-host section is three lines: `## Self-Host` / "To get started with self-hosting Khoj, [read the docs](https://docs.khoj.dev/get-started/setup)." The README's job is reduced to: logo, three CI badges that prove the thing builds, one-line positioning, five links, a 19.2 MB demo GIF, a feature bullet list, an FAQ. This is the right model if you intend to run a docs site. It is the wrong model if you do not, because the README then dead-ends. + +**Open WebUI, 152,442 stars. The counter-example on badges.** Nine shields badges before a single word of prose, first install at line 116 of 261, and the hero is a **281 KB PNG at the repo root** (`./demo.png`), not a GIF. + +``` +# Open WebUI + +![GitHub stars](https://img.shields.io/github/stars/open-webui/open-webui?style=social) +![GitHub forks](https://img.shields.io/github/forks/open-webui/open-webui?style=social) +![GitHub watchers](https://img.shields.io/github/watchers/open-webui/open-webui?style=social) +![GitHub repo size](https://img.shields.io/github/repo-size/open-webui/open-webui) +![GitHub language count](https://img.shields.io/github/languages/count/open-webui/open-webui) +![GitHub top language](https://img.shields.io/github/languages/top/open-webui/open-webui) +![GitHub last commit](https://img.shields.io/github/last-commit/open-webui/open-webui?color=red) +[![Discord](https://img.shields.io/badge/Discord-Open_WebUI-blue?logo=discord&logoColor=white)](https://discord.gg/5rJgQTnV4s) +[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/open-webui) + +Open WebUI is **a home for AI**, a self-hosted AI platform that's **[extensible](...)**, **[feature-rich](...)**, user-friendly, and built to run **[entirely offline](...)**. + +Passionate about open-source AI? [Join our team →](https://careers.openwebui.com/) + +![Open WebUI Demo](./demo.png) +``` + +Note that six of those nine badges are vanity metrics (repo size, language count, top language) that carry no information for a visitor. Do not copy this part. + +**microsoft/TinyTroupe, 7,571 stars. The closest project by subject matter: LLM persona simulation for business insight.** 844 lines, first install at 237. Its opening is worth reading because it is the vocabulary JevFish's audience already uses: + +``` +# TinyTroupe +[![Core Tests](.../core-tests.yml/badge.svg)](...) + +*LLM-powered multiagent persona simulation for imagination enhancement and business insights.* + +

+ A tiny office with tiny people doing some tiny jobs. +

+ +>[!TIP] +>**New Paper Released!** Check out our [TinyTroupe paper (preprint)](https://arxiv.org/abs/2507.09788) ... + +*TinyTroupe* is an experimental Python library that allows the **simulation** of people with specific personalities, interests, and goals. ... Here are some application ideas to **enhance human imagination**: + + - **Advertisement:** TinyTroupe can **evaluate digital ads (e.g., Bing Ads)** offline with a simulated audience before spending money on them! + - **Software Testing:** TinyTroupe can **provide test input** to systems ... + - **Training and exploratory data:** TinyTroupe can generate realistic **synthetic data** ... + - **Product and project management:** TinyTroupe can **read project or product proposals** and **give feedback** from the perspective of **specific personas** ... + - **Brainstorming:** TinyTroupe can simulate **focus groups** and deliver great product feedback at a fraction of the cost! +``` + +Five named use cases in five bullets, each with a concrete example and a named product. That is what JevFish's README is missing: it explains the mechanism (five stages, seven typed Jev questions) and never says what a buyer would use it for. + +**MiroShark, 1,451 stars. An AGPL MiroFish derivative that is purely a marketing exercise, and it works.** First install at line 57 of 184. Its hero is an **11,393-byte animated SVG** with keyword-loaded alt text: + +``` +

+ MiroShark - Simulate anything for $1 in under 10 minutes with 100+ grounded agents. The pipeline flows input → build world → swarm → report. Keywords: multi-agent simulation, social simulation, swarm intelligence, agent-based modeling, LLM agents, prediction market, scenario testing. +

+ +

Simulate anything.

+ +

+ $1 · per simulation  ·  10 min · first result  ·  100+ · grounded agents +

+``` + +Three numbers above the fold: price per run, time to first result, agent count. JevFish already has the equivalent numbers and buries them in prose at line 22 of `jevfish/README.md` ("about US$0.00006 a turn, and it takes about 1 second from Singapore"). Those belong above the fold: **$0.00006 per agent turn, about 1 second per turn**. + +### 1.3 The fork versus detached natural experiment + +This is the most important finding in the report because it is free to act on and the evidence is unusually clean. + +Two repositories, byte-identical description ("Offline multi-agent simulation & prediction engine. English fork of MiroFish with Neo4j + Ollama local stack."): + +| Repo | `fork` flag | Topics | Stars | +|---|---|---|---| +| `nikmcfly/MiroFish-Offline` | false | 10 | **2,522** | +| `EleutheroiEdge/mirofish-offline` | true | 0 | **0** | + +Across the top 40 MiroFish derivatives by stars, **36 are detached and 4 are forks**. The highest-starred fork in the whole set is `ByeongkiJeong/MiroFish-Ko` at 222 stars; the highest-starred detached derivative is 2,522. Across the first 100 results, medians are close (forks 12, detached 9), so the effect is not on the median repo, it is on the ceiling: a fork cannot break out. + +Other derivatives to note, all detached: `MiroShark/MiroShark` 1,451, `jangles-byte/Pythia` 1,102, `D2I-CUHKSZ/MicroWorld` 1,039, `SCTY-Inc/mirofish-cli` 310, `tt-a1i/MiroFish-local` 152, `nativ3ai/hermes-geopolitical-market-sim` 130, `ChinmayShringi/MicroFish-En` 118, `luis212/NovaShoal-Swarm-Sim` 117. The derivative market is real, crowded, and JevFish's differentiator (typed calibrated decisions rather than parsed free text) is genuinely unoccupied in it. + +### 1.4 Distribution mechanics of the comparables + +Latest-release assets and download counts, live from the API: + +| Project | Assets | Sizes | Downloads on latest tag | +|---|---|---|---| +| ollama/ollama v0.34.2 | 17 | `Ollama-darwin.zip` 188 MB, `Ollama.dmg` 188 MB, `OllamaSetup.exe` 1,497 MB | zip 59,719; exe 58,282; dmg 2,060; `install.sh` 9,110 | +| janhq/jan v0.8.4 | 11 | `Jan_0.8.4_universal.dmg` 97 MB, `jan-mac-universal-0.8.4.zip` 97 MB, `Jan_0.8.4_x64-setup.exe` 55 MB | exe 91,746; mac zip 77,361; dmg 19,630; `latest.json` 313,061 (auto-updater polling) | +| Comfy-Org/ComfyUI v0.36.0 | 4 | `ComfyUI_windows_portable_nvidia.7z` 1,828 MB | nvidia 29,088 | +| Mintplex-Labs/anything-llm v1.16.1 | 7 | `AnythingLLMDesktop.exe` 391 MB, `AnythingLLMDesktop-Silicon.dmg` 522 MB | exe 9,111; AppImage 1,178; Silicon dmg 613 | +| khoj-ai/khoj 2.0.0-beta.28 | 3 | Obsidian plugin files only (`main.js`, `manifest.json`, `styles.css`) | 7,264 / 7,858 / 6,989 | +| marimo-team/marimo 0.24.2 | 0 | none (PyPI only) | | +| **666ghj/MiroFish v0.1.2** | **0** | **none** | | + +Three lessons. Windows is where the download volume is (Jan: 91,746 exe against 19,630 dmg plus 77,361 mac zip; Ollama: 58,282 exe against 59,719 mac zip, so roughly even). `latest.json` at 313,061 downloads is Jan's Tauri auto-updater and is the clearest signal of real retained users in the whole table. And a project can be enormous with zero release assets (marimo, MiroFish) if the install path is a package manager. + +### 1.5 Docs sites, detected by fetching each site + +| Project | Docs URL | Generator | Host | +|---|---|---|---| +| astral-sh/uv | docs.astral.sh/uv | **Material for MkDocs** | Cloudflare | +| marimo-team/marimo | docs.marimo.io | **MkDocs** | Vercel | +| khoj-ai/khoj | docs.khoj.dev | **Docusaurus** | GitHub Pages | +| open-webui/open-webui | docs.openwebui.com | **Docusaurus** | GitHub Pages | +| camel-ai/oasis | docs.oasis.camel-ai.org | **Mintlify** | Vercel | +| Comfy-Org/ComfyUI | docs.comfy.org | **Mintlify + Starlight** | Vercel | +| mesa/mesa | mesa.readthedocs.io | **Sphinx** | ReadTheDocs | + +Two free-and-good defaults emerge: Material for MkDocs (what uv uses, single `mkdocs.yml`, one Action) and Docusaurus (what both AGPL/Python local-first projects use, on GitHub Pages). MiroFish has **no docs site** (`has_pages: false`), which is part of why its README is 203 lines of everything. + +### 1.6 Hosted demos + +Upstream MiroFish has one, and it is the cheapest possible version: `https://666ghj.github.io/mirofish-demo/` is a **Vue SPA on GitHub Pages** (confirmed: `server: GitHub.com`, 1,359-byte `index.html`, module script at `/mirofish-demo/assets/index-BnqFA15a.js`, no API calls, Cloudflare Insights beacon). It is a static replay of a pre-computed simulation. No backend, no API keys, no bill, and no AGPL Section 13 network-interaction exposure. + +CAMEL-AI runs interactive Hugging Face Spaces instead (`huggingface.co/spaces/camel-ai/agent-trust-Trust-Game-Demo`, `camel-ai/camel-agents`), and the camel-agents Space requires the **visitor** to paste their own API key, which is the pattern that avoids paying for strangers' inference. + +Note that the large self-hosted projects mostly do not run official hosted demos: LibreChat and AnythingLLM only have third-party community mirrors on HF Spaces. They lead with Docker. + +--- + +## 2. The "download and it works" problem for Python apps + +### 2.0 JevFish's measured baseline + +| Check | Result | +|---|---| +| `JevFish.app` size | 148 KB, 3 files (`Info.plist`, `MacOS/JevFish`, `Resources/AppIcon.icns`) | +| `codesign -dv --verbose=4` | `code object is not signed at all` | +| `spctl -a -vvv` | `rejected`, `source=no usable signature` | +| `.venv` | **1.1 GB**, 161 packages | +| `uv build --wheel` output | 34 files, **168,620 bytes**, **no `web/dist`** | +| Tracked files under `jevfish/web` | 34 (dist is 332 KB) | + +So today the `.app` is a script-only wrapper with no signature, which is both the worst case for Gatekeeper and the hardest thing to notarize meaningfully. + +### 2.1 The dependency tree is the biggest single lever + +Traced from `jevfish/uv.lock`: + +``` +camel-oasis==0.2.5 + -> sentence-transformers==3.0.0 + -> torch==2.14.0 553 MB + -> transformers==4.57.6 59 MB + -> scikit-learn==1.9.1 34 MB + -> scipy==1.18.1 82 MB + -> sympy (via torch) 41 MB + -> pandas, pillow, neo4j, cairocffi, igraph, slack-sdk, + unstructured (-> lxml 21 MB), prance, openapi-spec-validator, + requests-oauthlib, AND pre-commit + pytest + pytest-asyncio +``` + +`camel-oasis` ships dev tools (`pre-commit`, `pytest`) as runtime dependencies, which is a packaging bug on their side that you inherit. + +Measured by actually installing each variant into a fresh venv on this machine: + +| Variant | Size | Packages | +|---|---|---| +| Current `jevfish/.venv` | **1.1 GB** | 161 | +| Drop `camel-oasis` (keep `camel-ai`) | **118 MB** | 59 | +| Drop `camel-oasis`, swap `pymupdf` (54 MB) for `pypdf` | **66 MB** | | +| Drop `camel-ai` too (Jev + LLM + Flask + pypdf) | **27 MB** | | + +JevFish already has "a fast in-memory platform" as an alternative to OASIS (`jevfish/README.md`, stage 3). So `camel-oasis` belongs in `[project.optional-dependencies] oasis = ["camel-oasis==0.2.5"]`, imported lazily, and the default install drops from 1.1 GB to 118 MB (17x if pymupdf also goes). That single change does more for the download experience than any packaging technology in this section. + +### 2.2 `uv tool install` and `uvx`: this already works, verified live + +I ran a real resolution against the live public repo: + +``` +$ echo 'jevfish @ git+https://github.com/markiewee/mirofish-jev#subdirectory=jevfish' > gittest.txt +$ uv pip compile gittest.txt -o gitresolved.txt --python-version 3.12 +resolved packages: 140 +jevfish @ git+https://github.com/markiewee/mirofish-jev@77bbedc7ff62ac125953de0c89e79b25996fb3f0#subdirectory=jevfish +torch==2.14.0 +camel-oasis==0.2.5 +typesafe-sdk==0.6.0 +``` + +uv cloned the repo, found the `jevfish` package inside the `jevfish/` subdirectory via the `#subdirectory=` fragment, and pinned the resolved commit SHA for free. So these commands work **today**: + +``` +uv tool install "git+https://github.com/markiewee/mirofish-jev#subdirectory=jevfish" +jevfish serve + +# or, without installing anything permanently +uvx --from "git+https://github.com/markiewee/mirofish-jev#subdirectory=jevfish" jevfish serve +``` + +`pyproject.toml` already declares `[project.scripts] jevfish = "jevfish.cli:main"` and `cli.py` already has a `serve` subcommand that prints `Open http://{host}:{port}`. + +**Three defects stop this being the headline install path.** All are small: + +1. **`web/dist` is not in the wheel.** `uv build --wheel` yields 34 files and no web assets. `api.py:20` does `WEB_DIST = PACKAGE_ROOT / "web" / "dist"`, and `config.py:19` sets `PACKAGE_ROOT = Path(__file__).resolve().parents[2]`. Installed into site-packages, `parents[2]` is `lib/python3.12`, so the UI 404s. Fix: move the built assets to `src/jevfish/web/dist/` and resolve them relative to the module, and let the uv build backend ship them. +2. **`.env` and `data/` resolve to the same wrong place** (`config.py:28`, `config.py:91`). Fix: `platformdirs.user_data_dir("JevFish")` with the current path kept as a fallback when running from a checkout. +3. **Nothing opens a browser.** `grep -rn "webbrowser" src/` returns nothing. `cmd_serve` prints a URL and blocks. Fix: after the port binds, `webbrowser.open(f"http://127.0.0.1:{port}")`, plus a `--headless` flag, which is exactly what marimo does. + +Install syntax reference, from https://docs.astral.sh/uv/guides/tools/: + +``` +uv tool install ruff +uvx ruff # ephemeral, = uv tool run ruff +uvx --from httpie http # command name differs from package +uvx --from git+https://github.com/httpie/cli httpie +uvx --from git+https://github.com/httpie/cli@v3.0.0 httpie +``` + +How a user gets uv (https://docs.astral.sh/uv/getting-started/installation/): + +``` +curl -LsSf https://astral.sh/uv/install.sh | sh +powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" +brew install uv +winget install --id=astral-sh.uv -e +``` + +uv 0.12.16 asset sizes: `uv-aarch64-apple-darwin.tar.gz` 16 MB, `uv-x86_64-apple-darwin.tar.gz` 19 MB, `uv-x86_64-pc-windows-msvc.zip` 16 MB. No Python is needed beforehand; uv fetches its own managed CPython. That last fact is the whole reason to prefer uv over pipx. + +Measured install speeds on a subagent's run of the same machine class: `fastapi uvicorn` cold with `--no-cache` was 1.05 s for a 10 MB venv; an eight-package scientific set was 15.22 s for 305 MB. Extrapolated, a 1.1 GB venv is roughly 45 to 60 s on a good connection, and a 118 MB venv is roughly 6 to 10 s. + +**Who distributes this way:** Aider-AI/aider (49,036 stars) whose `curl -LsSf https://aider.chat/install.sh | sh` is uv's own installer plus one `uv tool install --python python3.12 aider-chat` line; marimo (22,821) `uvx marimo edit --sandbox`; simonw/llm (12,526) `uv tool install llm`; darrenburns/posting (12,424) `uv tool install --python 3.13 posting`; tconbeer/harlequin (6,403); ml-explore/mlx-lm (7,044); simonw/files-to-prompt (2,790) `uvx files-to-prompt`. + +Friction for a non-technical Mac user: open Terminal, paste two lines. No Gatekeeper dialog, no admin password, no "damaged" scare. The cliff is Terminal itself. Cost: **USD 0**, roughly 4 to 8 hours including a hosted `install.sh`. + +### 2.3 pipx + +Same shapes, smaller reach: + +``` +pipx install jevfish +pipx run jevfish +pipx install --spec "git+https://github.com/markiewee/mirofish-jev#subdirectory=jevfish" jevfish +pipx install pipx[uv] # uv-backed venv creation, same CLI +``` + +pypa/pipx has **12,967 stars** against uv's 89,946 and is actively maintained (last push 2026-09-18), so it is superseded in practice rather than legacy. pipx's own comparison page (https://pipx.pypa.io/latest/explanation/comparisons.html) frames them as peers and names the real difference: "uv tool ships a smaller per-tool surface, then reuses the rest of uv for free: managed Python, content-addressed cache, lockfiles, PEP 723 script handling." The decisive gap for a non-technical installer is that pipx needs a working Python 3 first. Document it as a one-line fallback; about 30 minutes of README. + +### 2.4 Frozen bundles: PyInstaller, Nuitka, Briefcase, py2app + +| Tool | Stars | Reported sizes | Notes | +|---|---|---|---| +| pyinstaller/pyinstaller | 13,095 | FastAPI + uvicorn exe roughly 35 to 40 MB on Windows (https://aiechoes.substack.com/p/building-production-ready-desktop); a plain PyQt5 app hitting 800 MB is "a common experience", trimmable under 200 MB (https://www.pythonguis.com/faq/pyinstaller-on-macos-frustration/) | onefile extracts to temp on every launch, slow cold start | +| Nuitka/Nuitka | 15,129 (AGPL-3.0) | a TensorFlow app bundle measured **2.84 GB**, `_pywrap_tensorflow_internal.so` alone 1.3 GB (https://github.com/Nuitka/Nuitka/issues/2359) | compiles to C, longest build times | +| beeware/briefcase | 3,348 | default scaffold roughly 190 MB on macOS | signs and notarizes for you | +| ronaldoussoren/py2app | **425** | comparable to PyInstaller | macOS only, tiny community, maintenance risk | + +Known breakage, all of which JevFish would hit: + +- **Dynamic imports.** Static analysis cannot see `importlib.import_module()`, `__import__()`, `exec()`. Flask and Werkzeug are milder than uvicorn here, but `camel-ai` and `mcp` both dispatch dynamically. Diagnose with `--debug=imports` (https://pyinstaller.org/en/stable/when-things-go-wrong.html). +- **`importlib.metadata`.** `importlib.metadata.version("pkg")` raises `PackageNotFoundError` in a frozen app; needs a hook with `from PyInstaller.utils.hooks import copy_metadata` (https://pyinstaller.org/en/stable/hooks.html, https://github.com/pyinstaller/pyinstaller/issues/5814). Anything resolving entry points at runtime breaks here. +- **Data files.** `web/dist` has to go in via `--add-data` and be resolved at runtime through `sys._MEIPASS`, not `__file__`. This is the same bug class as defect 1 in section 2.2. +- **Hardened runtime collision.** `codesign --deep -s $ID -o runtime` on a PyInstaller macOS binary has crashed at startup with `MemoryError` and `[6159] Failed to execute script pyiboot01_bootstrap` in `ctypes/__init__.py line 273 in _reset_cache` (https://github.com/pyinstaller/pyinstaller/issues/4629). Hardened runtime is mandatory for notarization, so this is on the critical path. + +Who actually ships PyInstaller builds: **spesmilo/electrum** (8,591 stars), whose own docs note that from macOS 10.15 the output "also need to be notarized by Apple's central server" (https://github.com/spesmilo/electrum/blob/master/contrib/osx/README.md); **Ultimaker/Cura** (7,041), which produces both the macOS DMG and the Linux AppImage. Both are single-binary GUI apps, the easier case. + +For JevFish, freezing a Flask app plus a static bundle plus a 1.1 GB tree realistically lands at 300 to 700 MB per platform after trimming, at an estimated **30 to 60 hours**, and you still owe Apple USD 99. Skip until there is demand pull. Note also: cut the tree to 66 MB first (section 2.1) and the frozen bundle becomes a far more tractable 90 to 150 MB. + +### 2.5 macOS signing and notarization, since our `.app` is unsigned + +**What the user sees on macOS 15 Sequoia and macOS 26 Tahoe.** Apple's own page (https://support.apple.com/en-us/102445) lists the dialog **"Apple cannot check 'Example App' for malware"** with only **Move to Trash** and **Done** as buttons, and describes exactly one recovery path: System Settings, Privacy and Security, scroll to Security, **Open Anyway**, confirm again. The page does not mention right-clicking at all. + +**The right-click Open workaround is gone.** Removed in macOS 15.0: "Before macOS 15.0, you could ctrl+right-click an unsigned application and force it to run. In macOS 15.0, Apple removed the ability to do this" (https://www.osnews.com/story/141055/). Confirmed at announcement (https://www.idownloadblog.com/2024/08/07/apple-macos-sequoia-gatekeeper-change-install-unsigned-apps-mac/) and still gone in Tahoe (https://swissmacuser.ch/fix-macos-tahoe-app-is-damaged-and-cant-be-opened-move-trash/). + +Two extra cruelties: the Open Anyway button "is available for about an hour after you try to open the app" (https://support.apple.com/en-ca/guide/mac-help/mh40617/mac), and it requires an administrator username and password. On a managed or corporate Mac that is a hard stop. + +The current README's instruction ("If macOS blocks the app because you downloaded the ZIP, open System Settings, Privacy & Security, and click Open Anyway") is factually correct for 15 and 26, which is good. What it understates is that this is a six-step, password-gated, one-hour-windowed flow whose default button is Move to Trash. + +**Which message means what:** + +| Message | Trigger | +|---|---| +| "unidentified developer" | Signed, but not with a Developer ID traceable to Apple, or not notarized | +| "Apple could not verify / cannot check for malware" | Quarantined with no notarization ticket. This is our case on Sequoia and Tahoe | +| "is damaged and can't be opened" | Quarantine plus failed signature or ticket validation; also the standard Apple-silicon result for a broken or absent arm64 signature (https://blog.margrop.net/en/post/macos-gatekeeper-unsigned-app-fix/) | + +All three run on the `com.apple.quarantine` xattr, applied by browsers and inherited by everything extracted from a quarantined ZIP. `xattr -dr com.apple.quarantine /path/to/JevFish.app` clears it and the app launches silently. Do not put that in a README: it trains users to defeat Gatekeeper on request. + +**The notarization flow.** Cost: **Apple Developer Program USD 99 per year** (https://developer.apple.com/help/account/membership/program-enrollment/). Certificate: **Developer ID Application**, issued only to Program members (https://developer.apple.com/support/developer-id). **There is no free notarization path**, because notarization is gated on a Developer ID which is gated on the paid membership. + +``` +security find-identity -v -p codesigning + +# sign bottom up; do NOT use --deep, it is unreliable +codesign -f -s "$ID" -o runtime JevFish.app/Contents/MacOS/JevFish +codesign -f -s "$ID" -o runtime JevFish.app + +xcrun notarytool store-credentials jevfish-profile \ + --team-id XXXXXXXXXX --apple-id "you@example.com" --password "APP_SPECIFIC_PASSWORD" + +ditto -c -k --keepParent JevFish.app JevFish.app.zip # `zip -qr` FAILS notarization +xcrun notarytool submit JevFish.app.zip --keychain-profile jevfish-profile --wait +xcrun stapler staple JevFish.app +spctl -a -vvv -t install JevFish.app # expect: accepted, source=Notarized Developer ID +xcrun notarytool log --keychain-profile jevfish-profile log.json +``` + +Two CI traps: `notarytool` **exits 0 even on failure**, so the pipeline must parse output, and it writes informational output to stderr not stdout. Turnaround is typically 2 to 15 minutes (https://www.forasoft.com/blog/article/the-pain-of-publishing-electron-apps-on-macos-303), but the tail is real: 3.5 to 4.5 hours consistently in one thread (https://developer.apple.com/forums/thread/813586), "stuck In Progress for 2+ days" in another (https://developer.apple.com/forums/thread/819403), and 24h+ for first submissions held for in-depth analysis (https://developer.apple.com/forums/thread/814827). Tauri and `electron/notarize` both have open issues about `--wait` hanging for hours (https://github.com/orgs/tauri-apps/discussions/8630, https://github.com/electron/notarize/issues/179). Budget 90-minute CI timeouts. + +**Can you notarize a shell-script `.app` bundle? Technically yes, meaningfully no.** Scripts carry no signature of their own; only the bundle seal covers them, and the seal covers only what exists **at sign time**. JevFish's script downloads uv and installs roughly 1 GB **after** launch, so a ticket would certify an empty shell around unverified downloaded code. Any post-install edit to the script invalidates the bundle. Bundled helper scripts are also a known rejection cause (Apple Developer Forums thread 127403). + +**Does hardened runtime break shelling out to a downloaded uv?** The distinction matters. Library validation constrains what loads **into your process**: "if library validation is enabled on an executable, the trusted execution system only allows the process to load code signed by Apple or with the same Team ID" (https://developer.apple.com/forums/thread/706437). A separate `fork/exec` of `uv` is its own process, so that part is fine. What bites is a 1 GB scientific venv full of third-party `.so` files being loaded into a signed process, which needs `com.apple.security.cs.disable-library-validation`, and Apple's own advice is to leave library validation on because disabling it makes Gatekeeper harder to pass. Separately, files fetched by curl inside a script generally do not get quarantined (curl does not set the xattr the way a browser does), which is why the current wrapper works at all. That is a loophole, not a guarantee. + +**Cheaper alternatives, honestly:** + +- **Ad-hoc or self-signed: worthless.** An ad-hoc signature works only on the machine that built it and "fails silently when copied to another computer" (https://gist.github.com/rsms/929c9c2fec231f0cf843a1a746a416f5). A self-signed CA cert is worse than useless because almost all the value of code signing requires traceability to a CA. +- **DMG over ZIP: do this now.** ZIP is the worst container. It cannot be code-signed at all, every extracted file inherits quarantine, and it triggers **App Translocation**, where the app runs from a read-only `/private/var/folders/.../AppTranslocation/` path. The JevFish launcher already fights this: `JevFish.app/Contents/MacOS/JevFish` contains the comment "A downloaded copy can run from a temporary path (App Translocation). Ask Spotlight." and falls back to `mdfind -name jevfish-folder-marker`. A DMG can be signed, does not translocate, makes the Gatekeeper dialog's default button **Open** rather than Move to Trash, and dragging to `/Applications` drops quarantine. Stapling only works on `.dmg`, `.pkg` and `.app`, never on a `.zip`. +- **Homebrew cask: this door closed on 1 September 2026.** Homebrew is removing `--no-quarantine` and will "end support for all casks that fail Gatekeeper checks on September 1st, 2026" (https://github.com/Homebrew/brew/issues/20755). Today is 18 September 2026, so the official-cask route for an un-notarized app is already past its deadline. A private tap with a `postflight` `xattr -dr` still works but is unsupported and teaches users to defeat Gatekeeper. + +Signing route cost: **USD 99/yr**, roughly 10 to 20 hours for a first signed-and-notarized DMG, plus 10 to 25 hours more if the bundle has to become a real self-contained app for the seal to mean anything. + +### 2.6 Tauri v2 or Electron around a local Python server + +Who actually does this: + +| Project | Stars | Shape | +|---|---|---| +| open-webui/open-webui | 152,442 | Python backend, no desktop shell. Docker first, then `pip install open-webui` and `open-webui serve`. Pins Python 3.11 explicitly | +| Mintplex-Labs/anything-llm | 66,164 | Node backend, separate Electron desktop app plus Docker | +| janhq/jan | 44,517 | llama.cpp backend, **Tauri** wrapper, auto-updater (`latest.json`: 313,061 downloads) | +| danny-avila/LibreChat | 44,264 | `docker compose up`, localhost:3080 | +| khoj-ai/khoj | 37,399, AGPL-3.0 | FastAPI backend, `pip install khoj` or docker compose, `--full` also installs desktop and Obsidian clients | +| pinokiocomputer/pinokio | 8,106 | Electron whose entire purpose is installing and babysitting other people's local servers | + +The pattern across all of them: **nobody ships an unsigned script-in-a-bundle.** They ship Docker plus pip, or a real signed desktop app. + +Tauri v2 has a first-class sidecar mechanism (https://v2.tauri.app/develop/sidecar/): + +```json +{ "bundle": { "externalBin": ["binaries/my-sidecar"] } } +``` + +with a target-triple suffix per binary (`my-sidecar-aarch64-apple-darwin`; find yours with `rustc --print host-tuple`), invoked via `Command.sidecar('binaries/my-sidecar')` in JS or `app.shell().sidecar("my-sidecar")` in Rust, and gated by a capability grant. The canonical FastAPI reference is `dieharders/example-tauri-v2-python-server-sidecar` (only **126 stars**), whose README flags the killer caveat: "we cannot use process.kill() for one-file Python executables since Tauri only knows the pid of the PyInstaller bootloader process and not its' child process". You inherit a hand-rolled shutdown protocol. + +Measured shell sizes (N=1, https://www.gethopp.app/blog/tauri-vs-electron): Tauri bundle **8.6 MiB** versus Electron **244 MiB**; memory across 6 windows 172 MB versus 409 MB; build time 81 s versus 16 s. But the shell size is irrelevant here, because the payload is the frozen Python: realistically **350 to 700 MB per architecture** at today's dependency tree, and you own every problem from section 2.4 plus a Rust toolchain plus the same USD 99. Estimated **60 to 120 hours**. Tauri also uses the platform WebView (WKWebView on macOS), so the existing Vue bundle needs a fresh cross-browser QA pass. + +### 2.7 Docker one-liner + +Open WebUI's actual line, verbatim: + +``` +docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main +``` + +The JevFish analogue, given two keys and a port: + +``` +docker run -d -p 8000:8000 \ + -e TYPESAFE_API_KEY=... -e GEMINI_API_KEY=... \ + -v jevfish:/app/data --name jevfish --restart always \ + ghcr.io/markiewee/jevfish:latest +``` + +LibreChat (44,264) and Vane/Perplexica (36,867) both lead with `docker compose up -d` after editing `.env`. The repo already has a root `Dockerfile` and `docker-compose.yml` from upstream, plus a `.github/workflows/docker-image.yml`, so this is mostly plumbing a JevFish-specific image. + +Friction, which is easy to underrate because it looks like one line: **Docker Desktop is a prerequisite install of roughly 6 GB** (about 1.5 GB for Docker.app plus the Linux VM image), 4 GB RAM minimum and 8 GB recommended (https://docs.docker.com/desktop/troubleshoot-and-support/faqs/macfaqs/). And the licence tripwire: free for personal use, education, non-commercial open source, and small business under **250 employees AND under USD 10 million annual revenue**; either threshold alone triggers payment, at roughly Pro USD 9, Team 15, Business 24 per user per month (https://docs.docker.com/subscription/desktop-license/). Every enterprise evaluator either already has a licence or cannot legally follow the README. + +Cost to us: 4 to 8 hours, **USD 0** (GHCR is free for public images), and it doubles as the deploy artifact for the hosted demo. Ship it as the power-user and Linux path, never as the headline. + +### 2.8 Hosted demo as the try-before-download path + +| Platform | Free reality in 2026 | Key server-side? | Cost at low traffic | Cold start | +|---|---|---|---|---| +| **HF Spaces** | CPU Basic is 2 vCPU / 16 GB / 50 GB non-persistent at USD 0/hr. But Gradio and Docker Spaces "require a paid plan to create: PRO for personal accounts". Static Spaces stay free for everyone. Free `cpu-basic` Spaces sleep after **48 h** idle, not configurable. Outbound restricted to ports 80, 443, 8080 | **Yes**, proper Secrets (value unreadable after set, not copied on duplication) versus public Variables, both as env vars. Secrets scanner flags hard-coded keys | **USD 0** on CPU Basic, else **USD 9/mo** PRO. CPU Upgrade (8 vCPU / 32 GB) USD 0.03/hr, about USD 22/mo running | roughly 2 min for a paused Space to start booting, plus app startup | +| **Streamlit Community Cloud** | 0.078 to 2 CPU cores, 690 MB to 2.7 GB RAM, up to 50 GB storage. Sleeps after **12 h** without traffic. Deployer needs admin on the repo. US-only. Unlimited public apps, 1 private | Yes, `st.secrets` from a TOML blob | **USD 0** | wake-on-visit prompt plus container boot | +| **Vercel** | Hosts Flask and FastAPI natively (WSGI and ASGI are both first class); entrypoint must be `app.py`, `index.py`, `server.py`, `main.py`, `wsgi.py` or `asgi.py` exposing a top-level `app`, or set `[tool.vercel] entrypoint`. Python 3.12 default. Bundle limit **500 MB uncompressed** (raised from 250 MB on 24 Feb 2026), 5 GB on Fluid large beta. Timeout 300 s default, 800 s on Pro with Fluid. **No automatic tree-shaking for Python** | Yes, project env vars | USD 0 on Hobby | per-invocation cold start | +| **Fly.io** | **The free tier is gone** (ended for new orgs 7 Oct 2024; new signups get 2 VM-hours or 7 days). `shared-cpu-1x`: 256 MB USD 2.02/mo, 512 MB 3.32, 1 GB 5.92, 2 GB 11.11. Egress USD 0.02/GB. Volumes USD 0.15/GB/mo even stopped. New apps default to `auto_stop_machines = "stop"`, `min_machines_running = 0` | Yes, `fly secrets set` | roughly **USD 3 to 6/mo** at 1 GB with scale-to-zero | no published number; community reports 5-min idle stop then cold boot | +| **GitHub Pages static replay** | Free, unlimited, no sleep | N/A (no keys, no backend) | **USD 0** | none, it is static | + +The Vercel blocker for JevFish as-is: a 1.1 GB dependency tree against a 500 MB uncompressed limit, with no Python tree-shaking. Cut the tree to 66 MB (section 2.1) and Vercel becomes viable for a thin demo API. Flask is directly supported, so the entrypoint work is small. + +The cheapest credible option, and what upstream already does, is the **static replay** described in 1.6: export one completed run to JSON, point the existing Vue app at it, publish to GitHub Pages. USD 0, no keys at risk, no Section 13 exposure, no sleep, and it can be linked from a "See a finished run" button above the fold. + +If an interactive demo is wanted later, copy CAMEL-AI's `camel-agents` Space and make the visitor paste their own keys. That removes both the inference bill and the key-exposure risk. + +### 2.9 The keyless demo already exists and nobody knows + +This is the single largest unexploited adoption asset in the repo. `config.py` supports `JEVFISH_FAKE_JUDGE=1` and `JEVFISH_FAKE_LLM=1`. I ran the full five-stage pipeline with no API keys, no `camel-oasis`, in the 117 MB slim venv: + +``` +$ JEVFISH_FAKE_JUDGE=1 JEVFISH_FAKE_LLM=1 python -m jevfish.cli demo \ + --seed examples/lazybee-cleaning.md --platform lite --rounds 3 --public 12 --stakeholders 3 +project p_9f7e9085bf +graph: {'chunks': 1, 'failed_chunks': 0, 'nodes': 8, 'edges': 7, 'types': {'Place': 4, 'Organization': 2, 'Person': 2}} +prepare: {'talking_points': 8, 'variants': 1, 'stakeholders': 3, 'public': 12} +run: {'run_id': 'r_0a66d40ea4', 'partial': None, 'requests': 67} + base As described: 7.1 of 15 (90% 4.6 to 9.6), first poll 6.8 + jev: {'model': 'fake', 'fake': True, 'requests': 67, 'input_tokens': 37880, 'est_cost_usd': 0.00159096} + llm: {'calls': 10, 'prompt_tokens': 3918, 'completion_tokens': 500, 'failures': 0} + +## Prediction +The simulated crowd leans towards: {"base": {"n": 15, "mean_outcome": 0.475, "expected_yes": 7.118, +"low": 4.612, "high": 9.624, "likely_yes": 7, "stance_mean": 2.459}} +``` + +Roughly ten seconds, zero keys, zero signup, zero cost, and a real calibrated output with a 90% range. That is the "it works" moment and it should be the first command in the README, ahead of any key setup. Four example seeds already ship in `jevfish/examples/` (`hotel-rate-ladder.md`, `hotel-rate-ladder-v2.md`, `lazybee-cleaning.md`, `pureloft-suasana-kl.md`), so if one is bundled into the package the whole thing is a single copy-paste with no local files needed. + +### 2.10 Verified proof that the recommended install path works + +I applied the three fixes from 2.2 to a copy of the tree and rebuilt: + +| Step | Result | +|---|---| +| Move `web/dist` to `src/jevfish/web/dist` and change `api.py:20` to `Path(__file__).resolve().parent / "web" / "dist"` | wheel goes from 34 files / 168,620 B to **40 files / 502,428 B uncompressed (174,808 B compressed)** and now contains `jevfish/web/dist/index.html` (1,102 B), `assets/index-BX2Ou-8v.js` (301,083 B), `assets/index-BHsORouT.css` (31,320 B) | +| Install that wheel into a venv with **no `camel-oasis`** | 117 MB venv, imports cleanly (so the OASIS import is already lazy, no code restructuring needed) | +| `create_app()` then `GET /` | **200, `text/html`, 1,102 bytes**, the real Vue shell | +| `GET /assets/index-BX2Ou-8v.js` | **200, 301,083 bytes** | + +Before the fix, the same test gave `WEB_DIST = .../lib/python3.12/web/dist`, `index.html present: False`, and a 150-byte fallback response. So the one-line install works after roughly a two-line change plus the `platformdirs` change for `.env` and `data/`. + +Cold install timings measured with `--no-cache` on this machine: + +| Tree | Time | Size | +|---|---|---| +| Slim (7 direct deps, no `camel-oasis`) | **4.35 s** | 68 MB | +| `camel-oasis==0.2.5` alone (today's default) | **27.44 s** | 978 MB | + +--- + +## 3. GitHub repo presentation mechanics + +### 3.0 What the fork measures today + +| Field | Current value | +|---|---| +| Stars / forks / watchers | 0 / 0 / 0 | +| `fork` | **true**, parent `666ghj/MiroFish` | +| Description | `A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物` (upstream's) | +| Homepage | **`https://mirofish.ai`** (upstream's site) | +| Topics | **0** of a permitted 20 | +| Releases | **0**, although tag `v0.1.2` exists | +| `has_pages` | false | +| Root README | 9,902 bytes, 208 lines | +| First fenced code block | **line 112** | +| Badges | **11**, of which the Stars, Watchers and Forks badges report `666ghj/MiroFish`'s numbers and the Trendshift badge is upstream repo id 16144 | +| Brand references in README | **37** for `666ghj|mirofish.ai|MiroFish` versus **4** for `JevFish` | +| Community health files | none (no CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE) | +| `.github/workflows` | `docker-image.yml` (1,557 B), `jevfish-web.yml` (606 B), `update-star-history.yml` (**18,211 B, charting upstream's stars**) | +| `og:image` | auto-generated `opengraph.githubassets.com/...`, no custom social preview | +| `og:description` | upstream's Chinese-and-English tagline, so every shared link unfurls as MiroFish | + +Upstream by contrast has a custom social preview at `repository-images.githubusercontent.com/1104332987/...`. + +Two mechanical consequences of the `fork: true` flag, both verified: + +- `gh api "search/repositories?q=mirofish-jev"` returns **0**. With `+fork:true` it returns **1**. GitHub docs: "By default, forks are not shown in search results" (https://docs.github.com/en/search-github/searching-on-github/searching-in-forks). Topics pages are built from the same index. +- Code search only indexes forks with more stars than the parent, which at 73,886 is never. + +**Leaving the fork network** is self-service (Settings, Danger Zone, "Leave fork network") and requires the fork to be public, under 1 GB, and free of child forks (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork). The fork is public, 17,291 KB and has 0 child forks, so all three conditions hold. It is permanent and does not retain "issues, pull requests, wikis, stars, watchers, comments, child forks, or other metadata", all of which are currently zero, so the cost is nil. Git commit metadata is preserved, which keeps the AGPL provenance intact. + +### 3.1 README structure: the actual evidence + +**Prana et al., "Categorizing the Content of GitHub README Files"**, Empirical Software Engineering 24(3), 2019. https://arxiv.org/abs/1802.06997 and https://link.springer.com/article/10.1007/s10664-018-9660-3. Manual annotation of **4,226 sections across 393 randomly sampled repositories**, plus an 8-category classifier at F1 0.746. + +| Category | Sections | % of sections | Files containing it | % of files | +|---|---|---|---|---| +| What | 707 | 16.7% | 381 | **97.0%** | +| How | 2,467 | **58.4%** | 348 | 88.5% | +| References | 858 | 20.3% | 239 | 60.8% | +| Who | 322 | 7.6% | 208 | 52.9% | +| Contribution | 122 | 2.9% | 109 | 27.8% | +| Why | 116 | 2.7% | 101 | **25.7%** | +| When (status) | 180 | 4.3% | 84 | **21.4%** | +| Other | 58 | 1.4% | 27 | 6.9% | + +The median README has **7 sections**, with the middle 50% between 5 and 12. Long is not the norm. Only 25.7% explain why the project exists and only 21.4% state status, so those are the two cheapest differentiators. The paper's practitioner survey (n=20) ranked usage and installation instructions first, license second, known bugs third. + +**Venigalla and Chimalakonda, "An Empirical Study On Correlation between Readme Content and Project Popularity"**, arXiv:2206.10772 (https://arxiv.org/abs/2206.10772), 1,950 READMEs across 10 languages: "readme files in majority of the popular projects are well organised using lists and images", they "comprise links to external sources", and "repositories with readme files containing contribution guidelines and references were observed to be associated with higher popularity." Popularity is a composite of stars, forks, watchers and PR count. Follow-on in Software: Practice and Experience 2025, https://onlinelibrary.wiley.com/doi/10.1002/spe.3390 + +**GitHub Open Source Survey 2017** (https://opensourcesurvey.org/2017/), 5,500 respondents from 3,800+ repositories: "Incomplete or outdated documentation is a pervasive problem, observed by 93% of respondents"; "60% of contributors say they rarely or never contribute to documentation"; and the one that bears directly on AGPL, "**64% say an open source license is very important in deciding whether to use a project, and 67% say it is very important in deciding whether to contribute**". Two thirds of evaluators will look for the licence, so AGPL-3.0 belongs stated plainly near the top rather than left to the sidebar. + +**Badges: the one study with a regression behind it.** Trockman, Zhou, Kästner, Vasilescu, "Adding Sparkle to Social Coding: An Empirical Study of Repository Badges in the npm Ecosystem", ICSE 2018, https://cmustrudel.github.io/papers/icse18badges.pdf. 294,941 npm packages plus a maintainer survey and regression-discontinuity time series on 1,762 packages. + +| Badge | Count | Share of 294,941 | +|---|---|---| +| Travis CI (build status) | 92,789 | **31.5%** | +| David DM | 23,601 | 8.0% | +| Coveralls | 17,603 | 6.0% | +| npm Downloads | 15,552 | 5.3% | +| CodeClimate | 6,652 | 2.3% | +| GitHub Stars | 630 | **0.2%** | + +- Badge adoption correlates with "a sizeable positive discontinuity in download counts at badge adoption (**33% increase on average**)", then "a small negative slope after the intervention". The boost decays; quality-assurance badges decay slower (8.8%). +- **H8 is supported**: a negative binomial model "suggests a nonlinear relationship in popular packages, with a predicted inflection point at **5 badges**, which supports H8: Packages with many badges tend to have fewer downloads." +- **H5**: "The adoption of a link-related badge does not correlate with either popularity or code quality." Discord, X and Instagram badges are link badges. + +So badges work only as assessment signals (CI, coverage, version), and more than about five is associated with worse outcomes. JevFish currently has 11, mostly link and vanity badges, three of which report another repo's numbers. + +**Measured across 46 high-star adjacent repos** (3,846 to 191,838 stars, selected for adjacency: local-first AI apps, Python tooling, agent frameworks, simulation, CLI tools): + +| Metric | n | min | p25 | median | mean | p75 | max | +|---|---|---|---|---|---|---|---| +| First fenced code block (line) | 39 | **15** | 39 | **60** | 86.4 | 115 | 261 | +| First install command (line) | 35 | 16 | 51 | **90** | 105.8 | 122 | 262 | +| First image or video (line) | 44 | 1 | 3 | **3** | 5.4 | 5 | 35 | +| Total lines | 46 | 1 | 151 | 327 | 412.6 | 473 | 2,505 | +| Badges in first 45 lines | 36 | 1 | 3 | **5** | 4.4 | 6 | 9 | +| Headings (h1 to h3) | 45 | 2 | 10 | 17 | 26.0 | 30 | 137 | +| Topics | 46 | 0 | 6 | 11 | - | 15 | **20** | + +Two convergences: the measured median badge count (5) lands exactly on Trockman's modelled inflection point, and the hero image sits at **line 3 in the median repo** (44 of 46 have media). Ten of 46 carry zero badges, including ollama (181,191), streamlit, lazygit, vllm and stable-diffusion-webui. + +JevFish's first fenced code block at **line 112** is worse than the p75 of this sample (115 is close, but the sample p25 is 39 and ollama is 15). + +**Recommended section order**, synthesised from the Prana ranking, the sample medians and the exemplars in 1.2: + +1. Logo or wordmark, name (lines 1 to 8) +2. One sentence of what it is, plus **3 assessment badges maximum** +3. **Hero media by line 3 to 10** +4. **The Why in two or three lines** (only 25.7% of READMEs do this) +5. **One runnable command by line 15 to 30** +6. Status and maturity, plus the AGPL statement (only 21.4% state status; 64% of evaluators care about licence) +7. Highlights as a short bullet list +8. Fuller usage, config, docs link +9. Fork provenance and attribution, contributing, licence + +Target 7 to 12 sections, under 200 lines. + +### 3.2 Hero GIF or video: hosting, limits and real sizes + +| Route | Per-file limit | Docs | +|---|---|---| +| Committed to the repo | Git **warns at 50 MiB**, **hard blocks at 100 MiB**; repos "ideally less than 1 GB" | https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github | +| Drag-drop attachment (issue, PR, discussion, web editor) | "**10MB for images and gifs**"; "**10MB for videos** ... on a **free** GitHub plan"; "**100MB for videos** ... on a **paid** GitHub plan"; "25MB for all other files" | https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files | +| Release asset | "Each file included in a release must be **under 2 GiB**"; "Up to **1000** release assets"; "**no limit on the total size of a release, nor bandwidth usage**" | https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases | +| Git LFS | **10 GiB storage and 10 GiB bandwidth per month** on Free and Pro | https://docs.github.com/en/billing/concepts/product-billing/git-lfs | + +Supported attachment types: "PNG (`.png`), GIF (`.gif`), JPEG (`.jpg`, `.jpeg`), SVG (`.svg`), Video (`.mp4`, `.mov`, `.webm`)", with "we recommend using H.264 for greatest compatibility". Attachment URLs moved from `user-images.githubusercontent.com` to `github.com/user-attachments/assets/{uuid}` on 9 May 2023 (https://github.blog/changelog/2023-05-09-more-secure-private-attachments/); legacy URLs still resolve. + +The asymmetry that matters: **a 10.8 MB GIF cannot be drag-dropped (10 MB cap) but can be committed (100 MiB cap)**. AnythingLLM sidesteps both by putting its 30.4 MB hero GIF in a **release asset** (`releases/download/v1.11.2/AnythingLLM720p.gif`), where there is no size or bandwidth limit. + +**Does GitHub render `