Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://gitlab.com/lp2p/thor
Android web browser with the support of pns and magnet URI's
https://gitlab.com/lp2p/thor
android libp2p magnet-link p2p webbrowser
Last synced: 2 months ago
JSON representation
Android web browser with the support of pns and magnet URI's
- Host: gitlab.com
- URL: https://gitlab.com/lp2p/thor
- Owner: lp2p
- License: apache-2.0
- Created: 2020-12-12T12:08:52.489Z (almost 4 years ago)
- Default Branch: master
- Last Synced: 2024-05-22T06:11:34.390Z (6 months ago)
- Topics: android, libp2p, magnet-link, p2p, webbrowser
- Stars: 26
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thor
The **Thor** browser is a web browser with the focus on decentralized technologies.
It supports the **pns** (a subset of **ipns**) and the **magnet** protocol.In addition to the protocols enhancements it focus on usability.
To improve the usability of the browser, an **Ad-blocker** is integrated.
It based on the information which are coming
from [pgl.yoyo.org](https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext)## General
The basic characteristics of the app are decentralized, respect of personal data,
open source, free of charge, transparent, free of advertising and legally impeccable.[](https://f-droid.org/packages/threads.thor/)
[](https://play.google.com/store/apps/details?id=threads.thor)## PNS
The browser runs an PNS service in the background, which will be started automatically when
the browser detects the first access to.The service itself is configured in client mode, that means that you are only be able
to download data, but not providing data to others.A **PNS** server implementation is available as an android
application [Odin](https://gitlab.com/lp2p/odin/).## Settings
This application based on the WebKit API (like Chrome, Brave, etc). This section just gives
a brief overview of the settings which have been made for the browser.
This information is probably only useful for people with technical background.General Browser Settings:
```
WebSettings settings = webView.getSettings();
settings.setUserAgentString("Mozilla/5.0 (Linux; Android " + Build.VERSION.RELEASE + ")");settings.setJavaScriptEnabled(enableJavascript);
settings.setJavaScriptCanOpenWindowsAutomatically(false);settings.setSafeBrowsingEnabled(true);
settings.setAllowContentAccess(false);
settings.setAllowFileAccess(true); // set to true for mht files
settings.setLoadsImagesAutomatically(true);
settings.setBlockNetworkLoads(false);
settings.setBlockNetworkImage(false);
settings.setDomStorageEnabled(true);
settings.setCacheMode(WebSettings.LOAD_DEFAULT);
settings.setDatabaseEnabled(true);
settings.setSupportZoom(true);
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
settings.setMixedContentMode(WebSettings.MIXED_CONTENT_NEVER_ALLOW);
settings.setUseWideViewPort(true);
settings.setLoadWithOverviewMode(true);
settings.setMediaPlaybackRequiresUserGesture(false); // set to false, required for camera permission
settings.setSupportMultipleWindows(false);
settings.setGeolocationEnabled(false);
```### Cookies
The application accept all cookies, except third party cookies.
```
CookieManager.getInstance().setAcceptThirdPartyCookies(mWebView, false);
```## Links
[Privacy Policy](https://gitlab.com/lp2p/thor/-/blob/master/POLICY.md)
[Apache License](https://gitlab.com/lp2p/thor/-/blob/master/LICENSE)