2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Go to file
akliuxingyuan 6d6a4506ea fix #750
2024-03-23 18:41:05 +08:00
.github/workflows fix ci 2024-01-20 20:15:18 +08:00
android-components@62fa6b8e92 update components version: 124.1.0 2024-03-23 16:20:22 +08:00
app fix #750 2024-03-23 18:41:05 +08:00
automation update components version: 124.1.0 2024-03-23 16:20:22 +08:00
benchmark Bug 1807350 - Baseline profiles for nightly 2024-01-16 16:48:57 +00:00
certificates [fenix] Adds certificates to repository 2019-05-20 19:35:29 -07:00
config Bug 1872996 - Increase the LongParameterList functionThreshold to support Compose functions 2024-01-16 13:32:49 +00:00
docs Bug 1873277 - Update acronym dictionary 2024-01-05 20:58:01 +00:00
fastlane [fenix] For https://github.com/mozilla-mobile/fenix/issues/8081 - UI screenshots tests update (https://github.com/mozilla-mobile/fenix/pull/10023) 2020-04-20 10:39:56 -04:00
fork-asset-sources migration 2023-04-04 19:43:30 +08:00
gradle/wrapper Bug 1878409 - Update Gradle to version 8.6 2024-02-05 16:38:50 +00:00
mozilla-detekt-rules Bug 1837107 - Unify FenixDependencies with AC's DependenciesPlugin 2023-06-22 23:24:20 +00:00
mozilla-lint-rules Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes" 2023-12-05 03:44:20 +00:00
plugins Merge remote-tracking branch 'origin/fenix/124.0' into iceraven 2024-03-20 19:36:30 +08:00
tools Bug 1825116 - Reformat some python files with black and avoid 'bare except' ruff warnings 2023-07-13 00:53:55 +00:00
.adjust_token [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/675: Integrate Adjust SDK (for Greenfield flavor) 2019-03-01 12:57:59 -06:00
.buildconfig.yml Bug 1834820 - Add RemoteSettings downloader class 2023-10-16 18:42:45 +00:00
.editorconfig [fenix] For https://github.com/mozilla-mobile/fenix/issues/27667 - Remove import-ordering from the list of disabled ktlint rules 2022-11-03 23:27:03 +00:00
.gitattributes [fenix] Adds a gitattribute file to manage changelog merges 2019-04-11 15:02:16 -05:00
.gitignore migration 2023-04-04 19:43:30 +08:00
.gitmodules migration 2023-04-04 19:43:30 +08:00
bors.toml [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/9295 - Add back non-blocking bors to trigger CI on contributor PRs (https://github.com/mozilla-mobile/fenix/pull/9843) (https://github.com/mozilla-mobile/fenix/pull/14967) 2020-09-21 11:46:02 +02:00
build.gradle Bug 1850316 - Remove navigation library duplication from FenixDependencies. 2024-02-13 18:14:04 +00:00
CODE_OF_CONDUCT.md Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
codecov.yml [fenix] No issue: Add threshold to codecov (https://github.com/mozilla-mobile/fenix/pull/4751) 2019-08-15 10:40:05 -07:00
detekt-baseline.xml Bug 1872996 - Increase the LongParameterList functionThreshold to support Compose functions 2024-01-16 13:32:49 +00:00
Gemfile [fenix] Adding l10n screenshot tests for Fenix (https://github.com/mozilla-mobile/fenix/pull/3562) 2019-07-08 11:00:29 -05:00
gradle.properties Bug 1821005 - Disable R8 fullMode for Focus and Fenix. 2023-12-05 03:44:20 +00:00
gradlew Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes" 2023-12-05 03:44:20 +00:00
gradlew.bat Bug 1878409 - Update Gradle to version 8.6 2024-02-05 16:38:50 +00:00
Jenkinsfile [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/11427 - Rename master branch to main (https://github.com/mozilla-mobile/fenix/pull/20457) 2021-07-28 08:20:14 -04:00
ktlint-baseline.xml Revert "Bug 1876419 - Update ktlint-baseline for all projects" 2024-01-29 23:09:19 +00:00
l10n.toml Import translations from android-l10n 2024-01-12 00:31:40 +00:00
README.md Bug 1875360 - Update archived "Good First Issue" search with Bugzilla search in Fenix README.md (#5209) 2024-01-19 00:18:25 +00:00
SECURITY.md [fenix] Update SECURITY.md 2022-02-17 19:42:16 +00:00
settings.gradle Merge remote-tracking branch 'origin/fenix/119.0' into iceraven 2023-10-24 23:20:42 +08:00
shared-settings.gradle fenix 113.0 2023-05-10 22:01:57 +08:00
version.txt update components version: 124.1.0 2024-03-23 16:20:22 +08:00

Iceraven Browser! CI Release

Definitely not brought to you by Mozilla!

Iceraven Browser is a web browser for Android, based on Mozilla's Fenix version of Firefox, GeckoView and Mozilla Android Components.

Our goal is to be a close fork of the new Firefox for Android that seeks to provide users with more options, more opportunities to customize (including a broad extension library), and more information about the pages they visit and how their browsers are interacting with those pages.

Notable features include:

  • about:config support
  • The ability to attempt to install a much longer list of add-ons than Mozilla's Fenix version of Firefox accepts. Currently the browser queries this AMO collection Most of them will not work, because they depend on code that Mozilla is still working on writing in android-components, but you may attempt to install them. If you don't see an add-on you want, you can request it.
  • Option to suspend tabs to avoid being killed for memory (https://bugzilla.mozilla.org/show_bug.cgi?id=1807364)
  • Option not to display recently visited websites at HomePage
  • No warranties or guarantees of security or updates or even stability! Note that Iceraven Browser includes some unstable code written by Mozilla, with our own added modifications on top, all shipped with the stable version of GeckoView engine. Hence, the browser may contain bugs introduced upstream. Binaries are currently built automatically by our Github release automation. These binaries are signed with a debug key. When we finally publish this somewhere official like F-droid, we will sign the apks with a proper key suitable for public release. Due to the current way we create the releases and sign them, you may not want to rely on such "alpha" quality software as your primary web browser, as it will have bugs. So, use this browser only if you are comfortable with these limitations/potential risks.

Note/Disclaimer: Iceraven Browser could not exist without the hardworking folks at the Mozilla Corporation who work on the Mozilla Android Components and Firefox projects, but it is not an official Mozilla product, and is not provided, endorsed, vetted, approved, or secured by Mozilla.

In addition, we intend to try to cut down on telemetry and proprietary code to as great of an extent as possible as long as doing so does not compromise the user experience or make the fork too hard to maintain. Right now, we believe that no telemetry should be being sent to Mozilla anymore, but we cannot guarantee this; data may still be sent. Because of the way we have implemented this, the app may still appear to contain trackers when analyzed by tools that look for the presence of known tracking libraries. These detected trackers should actually be non-functional substitutes, many of which are sourced from here. If you catch the app actually sending data to Mozilla, Adjust, Leanplum, Firebase, or any other such service, please open an issue! Presumably any data that reaches Mozilla is governed by Mozilla's privacy policy, but as Iceraven Browser is, again not a Mozilla product, we can make no promises.

Iceraven Browser combines the power of Fenix (of which we are a fork) and the spirit of Fennec, with a respectful nod toward the grand tradition of Netscape Navigator, from which all Gecko-based projects came, including the earliest of our predecessors, the old Mozilla Phoenix and Mozilla Firefox desktop browsers.

That said, Iceraven Browser is an independent all-volunteer project, and has no affiliation with Netscape, Netscape Navigator, Mozilla, Mozilla Firefox, Mozila Phoenix, Debian, Debian Iceweasel, Parabola GNU/Linux-libre Iceweasel, America Online, or Verizon, among others. :) Basically, if you don't like the browser, it's not their fault. :)

📥 Installation

Right now, releases are published as .apk files, through Github. You should download and install the appropriate one for your device.

  1. Determine what version you need. If you have a newer, 64-bit device, or a device with more than 4 GB of memory, you probably want the arm64-v8a version. Any ordinary phone or tablet should be able to use the armeabi-v7a version, but it will be limited to using no more than 4 GB of memory. You almost certainly don't want the x86 or x86_64 versions; they are in case you are running Android on a PC.

  2. Download the APK for the latest release from the Releases page. Make sure to pick the version you chose in step 1.

  3. Install the APK. You will need to enable installation of apps from "unknown" (to Google) sources, and installatiuon of apps by whatever app you used to open the downloaded APK (i.e. your browser or file manager). Android will try to dissuade you from doing this, and suggest that it is dangerous. Iceraven is a browser for people who enjoy danger.

  4. Enjoy Iceraven. Make sure to install the add-ons that are essential for you in the main menu under "Add-Ons". You may want to set Iceraven as your device's default browser app. If you do this, it will be able to provide so-called "Chrome" custom tabs for other applications, allowing you to use your add-ons there.

🔨 Building

  1. Set up the environment. We need the Android SDK at $ANDROID_SDK_ROOT and a Java JDK at $JAVA_HOME that isn't the Ubuntu Java 8 one. We want environment variables that look something like:
# Where does our system install the JDK? This is the right path for the Ubuntu Java 11 JDK, if it is installed.
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
# Where did we install the Android SDK?
export ANDROID_SDK_ROOT=$HOME/android-sdk/android-sdk-linux/

If we don't have the Android SDK, we can install it thusly on Linux:

mkdir -p $HOME/android-sdk/android-sdk-linux
cd $HOME/android-sdk/android-sdk-linux
mkdir -p licenses
echo "8933bad161af4178b1185d1a37fbf41ea5269c55" >> licenses/android-sdk-license
echo "d56f5187479451eabf01fb78af6dfcb131a6481e" >> licenses/android-sdk-license
echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> licenses/android-sdk-license
mkdir cmdline-tools
cd cmdline-tools
wget "$(curl -s https://developer.android.com/studio | grep -oP "https://dl.google.com/android/repository/commandlinetools-linux-[0-9]+_latest.zip")"
unzip commandlinetools-linux-*_latest.zip
cd ..
  1. Clone the project.
git clone --recursive https://github.com/fork-maintainers/iceraven-browser
  1. Go inside iceraven-browser. That's where the build is coordinated from.
cd iceraven-browser
  1. Configure the project. For your personal use you need to sign the apk file. The simplest way to do this is to use the debug key that is auto-generated by Android SDK. This is not a great idea for releasing, but acceptable for your personal use. You can configure it as follows:
echo "autosignReleaseWithDebugKey=" >> local.properties
  1. Build the project. To build the Iceraven-branded release APKs, you can do:
./gradlew app:assemblefenixForkRelease -PversionName="$(git describe --tags HEAD)"

(If you don't use the app: prefix, you might get complaints about the build system being unable to locate the objcopy executable.)

The APKs will show up in app/build/outputs/apk/fenix/forkRelease/.

Getting Involved

This is an all-volunteer project. No one is getting paid (at least not by the project itself.).

Therefore, everyone should feel free to open issues and pull requests. Join the club!

Developers are especially welcome, wanted, and needed.

I want to open a Pull Request!

We encourage you to participate in this open source project. We love Pull Requests, Bug Reports, ideas, (security) code reviews or any other kind of positive contribution.

How to Appease the Linter

If you are getting errors form ./gradelw ktlint, try running ./gradlew ktlintFormat to let ktlint decide how to lay out your code, instead of just yelling at you that you can't read its mind.

🙅 How to skip CI checks for PRs 🙅

If you want to skip Github CI checks in a PR, please add the following to the PR title exactly: [skip ci]. Also, please include the exact phrase [skip ci] in every commit message. This is to avoid Travis CI checks as well as skipping Github CI checks after merging the commits to the fork branch.

This is useful to do if you are sure that your changes do not effect the app's code (ex: changes to README.md).

🚀 Release automation 🚀

We have now setup release automation so that Github actions automatically trigger a release build and publish a release when we push a tag to the repository.

NOTE: The tag should be of the format iceraven-x.y.z, where x.y.z is the release version, for the automation to kick in and also so that the built app will have the correct version name.

✏️ I want to file an issue!

Great! We encourage you to participate in this open source project. We love Pull Requests, Bug Reports, ideas, (security) code reviews or any other kind of positive contribution.

To make it easier to triage, we have these issue requirements:

  • Please do your best to search for duplicate issues before filing a new issue so we can keep our issue board clean.
  • Every issue should have exactly one bug/feature request described in it. Please do not file meta feedback list tickets as it is difficult to parse them and address their individual points.
  • Feature Requests are better when theyre open-ended instead of demanding a specific solution -ie “I want an easier way to do X” instead of “add Y”
  • Issues are not the place to go off topic or debate.
  • While we do not yet have Community Participation Guidelines of our own, we ask that you show respect to everyone and treat others as you would like to be treated. Behavior that would violate Mozilla's Community Participation Guidelines is almost certainly unwelcome. However, as a small project without community managers, we cannot promise prompt and consistent enforcement.

Please keep in mind that even though a feature you have in mind may seem like a small ask, as a small team, we have to prioritize our planned work and every new feature adds complexity and maintenance and may take up design, research, product, and engineering time. We appreciate everyones passion but we will not be able to incorporate every feature request or even fix every bug. That being said, just because we haven't replied, doesn't mean we don't care about the issue, please be patient with our response times as we're very busy.

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/