diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 22f8775..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -github: daijro -ko_fi: daijro \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index ebbd3ae..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Bug report -about: Report an issue in Camoufox -title: '' -labels: bug -assignees: '' - ---- - -### Describe the bug: - -Add a description of what the bug is. Provide as much detail and additional context as possible. - -### Screenshots: - -If applicable, add screenshots to help explain your problem. - -### To Reproduce: - -Provide steps or a code snippet that reproduces the bug. - -### Version: - -Run `python -m camoufox version` in your terminal and paste the output here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/camoufox-detected.md b/.github/ISSUE_TEMPLATE/camoufox-detected.md deleted file mode 100644 index 346da57..0000000 --- a/.github/ISSUE_TEMPLATE/camoufox-detected.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: Camoufox detected -about: Report a website that detects Camoufox -title: '' -labels: detection-issue -assignees: '' - ---- - -### Website detecting Camoufox: - -What website or WAF is flagging Camoufox? Provide as much detail and additional context as possible. - -### Screenshots: - -If applicable, add screenshots to help explain your problem. - -### To Reproduce: - -Send a testing site that reproduces the issue, and a snippet of your script. Provide your `Camoufox()` or `AsyncCamoufox()` initialization. - -### Other questions: - -These questions will help me diagnose the issue: - -1. Are you using a proxy? - - - -2. Open the website in a private tab in your personal browser using the same IP. Does it work? - - - -3. Is Camoufox detected randomly or every time? - - - -4. What OS are you using? - - - -### Version: - -Run `python -m camoufox version` in your terminal and paste the output here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 164e7a3..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - -### Describe the feature: - -Describe an idea for this project. Provide as much detail and additional context as possible. - -### Is your feature request related to a problem? Please describe. - -If you are looking to solve a problem, please describe it! \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 194ac81..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,137 +0,0 @@ -name: Build and Release - -on: - workflow_dispatch: - push: - tags: - - "*" - -jobs: - build: - runs-on: ubuntu-24.04 - strategy: - matrix: - target: [linux, windows, macos] - arch: [x86_64, arm64, i686] - exclude: - # Fails (.mozbuild does not include clang++-cl) - - target: windows - arch: arm64 - # Unsuported - - target: macos - arch: i686 - - steps: - - name: Maximize build space - uses: AdityaGarg8/remove-unwanted-software@v4.1 - with: - remove-dotnet: "true" - remove-android: "true" - remove-haskell: "true" - remove-codeql: "true" - remove-docker-images: "true" - remove-cached-tools: "true" - remove-swapfile: "true" - verbose: "false" - - - name: Remove unwanted tools - # Originally from here: https://github.com/AdityaGarg8/remove-unwanted-software/blob/master/action.yml - run: | - sudo apt-get remove -y '^aspnetcore-.*' > /dev/null - sudo apt-get remove -y '^dotnet-.*' > /dev/null - sudo apt-get remove -y '^llvm-.*' > /dev/null - sudo apt-get remove -y 'php.*' > /dev/null - sudo apt-get remove -y '^mongodb-.*' > /dev/null - sudo apt-get remove -y '^mysql-.*' > /dev/null - sudo apt-get remove -y azure-cli google-chrome-stable firefox ${POWERSHELL} mono-devel libgl1-mesa-dri --fix-missing > /dev/null - if [[ (${CODENAME} = focal) || (${CODENAME} = jammy) ]]; then - sudo apt-get remove -y google-cloud-sdk --fix-missing > /dev/null - sudo apt-get remove -y google-cloud-cli --fix-missing > /dev/null - fi - sudo apt-get autoremove -y > /dev/null - sudo apt-get clean > /dev/null - - - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: "1.23" - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: "3.11" - - - name: Set up LLVM - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x llvm.sh - sudo ./llvm.sh 18 - sudo apt-get install -y lld-18 clang-18 - if [ "${{ matrix.arch }}" != "x86_64" ]; then - sudo apt-get install -y libc6-i386 lib32gcc-s1 lib32stdc++6 gcc-multilib g++-multilib - fi - sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-18 100 - - - name: Check disk space - run: df -h - - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y msitools p7zip-full aria2 - - - name: Fetch source - env: - CAMOUFOX_PASSWD: ${{ secrets.CAMOUFOX_PASSWD }} - run: | - make fetch - - - name: Setup and bootstrap - run: | - make setup-minimal - make mozbootstrap - mkdir -p dist - - - name: Create swap space - run: | - sudo fallocate -l 16G /swapfile - sudo chmod 600 /swapfile - sudo mkswap /swapfile - sudo swapon /swapfile - free -h - - - name: Build - run: python3 ./multibuild.py --target ${{ matrix.target }} --arch ${{ matrix.arch }} - - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - name: CamoufoxBuilds-${{ matrix.target }}-${{ matrix.arch }} - path: dist/* - - release: - needs: build - permissions: - contents: write - runs-on: ubuntu-latest - - steps: - - name: Download all artifacts - uses: actions/download-artifact@v4 - with: - path: artifacts - - - name: Create Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - with: - files: artifacts/**/* - generate_release_notes: true - draft: true - prerelease: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}