[App] [5.+] FOSS Browser [Open Source]

Search This thread

Gaukler_Faun

Senior Member
Aug 10, 2012
677
1,389
Near Karlsruhe
github.com
FOSS Browser

"FOSS Browser" is fully free/libre (as in freedom) Android app. The source code is public. The app also does not need any unnecessary permissions. It's a simple Android browser based on webview. The intention is to provide a simple and light weight but powerful browser with a nice looking user interface.

Help to translate FOSS Browser on Crowdin: https://crowdin.com/project/foss-browser

Links:

Security/Data:
  • fully open source
  • no trackers
  • no unnecessary permissions
  • third party cookies disabled by default
  • enable/disable cookies, javascript, location access, history
  • whitelist for javascript, cookies, remote content and AdBlocker
  • toggle image/third party content loading
  • do not track me
  • backup data
  • AdBlocker
  • delete data on exit (optional)

UI/Handling:
  • optimized for one hand handling (toolbar at bottom)
  • tab control (switch, open, close unlimited tabs)
  • full material design
  • fullscreen browsing (optional)
  • navigation button in fullscreen mode
  • fast toggle for most important settings
  • advanced gesture control for toolbar and navigation button
  • Dark Mode support

Some nice extra features:
  • small size
  • search on site
  • Websearch (from marked text context menu)
  • save as PDF
  • open links in other apps (for example YouTube)
 

Attachments

  • 1.jpg
    1.jpg
    198.8 KB · Views: 1,051
  • 2.jpg
    2.jpg
    213.4 KB · Views: 1,011
  • 3.jpg
    3.jpg
    152.6 KB · Views: 1,015
  • 4.jpg
    4.jpg
    252.6 KB · Views: 994
  • 5.jpg
    5.jpg
    202 KB · Views: 968
  • 6.jpg
    6.jpg
    151 KB · Views: 916
Last edited:

Gaukler_Faun

Senior Member
Aug 10, 2012
677
1,389
Near Karlsruhe
github.com
Pretty interesting so far, some things:
-Youtube cant do fullscreen
-Why does it always search in this sp engine even URLs
-Adblock would be cool

Thanks for your response...
To open a url you had to beginn with "http..." I changed this in the current version now "www..." is enough. I don't think that I will implement Adblock because there are several apps, which can do this better.

Update V2:
- YouTube now can open fullscreen
- opening urls is easier
 

Gaukler_Faun

Senior Member
Aug 10, 2012
677
1,389
Near Karlsruhe
github.com
Thanks @Gaukler_Faun for this new FLOSS app!
I'm going to install your browser and I'll post a feedback ASAP.
Added to my list ;)

EDIT: which license do you use?

I will use gpl v3. If I have time today I will add it on github. As said it is planned to be released on F-Droid. At the moment I'm working on the context menu for the lists and some ui improvenents.

If since then no new issues are reported I'm going to release the app.

Thanks for your feedback and adding the app to your list.

Regards
Gaukler Faun
 

Primokorn

Senior Member
  • Nov 17, 2012
    11,440
    7,687
    I don't think that I will implement Adblock because there are several apps, which can do this better.
    Good idea. Threads are full of adblock questions once it's implemented...

    This is a great browser with interesting features (save screenshot of the whole web page is useful).

    Some suggestions/questions:
    • There's no tabs. Do you plan to add them?
    • Enable/Disable Javascript per website
    • User agent
    • Edit bookmark
    • Set a homepage
    • Export / Import bookmark
    • Hide status bar while browsing (optionnal)
    • Text reflow
    • Unable to select the current URL from the omnibox (pressing the URL bar to search is not a good idea IMHO)
    • Swipe to the bottom from the URL bar also closes the app (not explained in the Help menu)
    • Pinch in isn't handy sometimes because the app wants to refresh.
    • Unable to access to the General settins while browsing. I have to close the app to return to the first screen.
    • I checked Form data in the general settings but I have nothing in 'Open PassStorage' after being logged in to XDA.
    • Why do we always have https://www.startpage.com in the Open passStorage window?
     
    Last edited:

    CLPose

    Senior Member
    Jan 7, 2015
    726
    376
    Buenos Aires
    Hi! I tried your browser (release and release2) and it seems to be fast and lightweight to open. :highfive: But whenever I tap on the magnifier, app FC. :crying: No matter if I write a word or a URL in the search box. I'm on my Moto G 2014, CM12.1, and xposed. Others webview-based web browsers work fine in my device. Any idea what could be the problem? :confused: Thanks!
     
    • Like
    Reactions: Gaukler_Faun

    Primokorn

    Senior Member
  • Nov 17, 2012
    11,440
    7,687
    Hi! I tried your browser (release and release2) and it seems to be fast and lightweight to open. :highfive: But whenever I tap on the magnifier, app FC. :crying: No matter if I write a word or a URL in the search box. I'm on my Moto G 2014, CM12.1, and xposed. Others webview-based web browsers work fine in my device. Any idea what could be the problem? :confused: Thanks!
    Do you have a FC while searching something with your default search engine or a term on a web page?
    No issue with my Nexus 5 - AOSP 6.0.1 - Xposed. Could you provide a log?
     
    • Like
    Reactions: Gaukler_Faun

    CLPose

    Senior Member
    Jan 7, 2015
    726
    376
    Buenos Aires
    Do you have a FC while searching something with your default search engine or a term on a web page?
    No issue with my Nexus 5 - AOSP 6.0.1 - Xposed. Could you provide a log?
    Hi, there! As I said, I have others webview-based browsers and they work fine, whether I search for a term or for a URL in their own search bar. And I don't have any default search engine such as Google search bar, if that's what you meant. :confused: About the log, as I'm a complete noob, I downloaded AndyLog to create one (it's in XDA ;)). This is my first time with logs so, please be gentle, and I don't know if it's going to be useful at all :silly:. Please, tell me if there's anything else I can do to help. Keep up the good work! :good:
     

    Attachments

    • log--(nov.-17-2016-10-31-45).zip
      63.8 KB · Views: 66

    Primokorn

    Senior Member
  • Nov 17, 2012
    11,440
    7,687
    Hi, there! As I said, I have others webview-based browsers and they work fine, whether I search for a term or for a URL in their own search bar. And I don't have any default search engine such as Google search bar, if that's what you meant. :confused: About the log, as I'm a complete noob, I downloaded AndyLog to create one (it's in XDA ;)). This is my first time with logs so, please be gentle, and I don't know if it's going to be useful at all :silly:. Please, tell me if there's anything else I can do to help. Keep up the good work! :good:
    There's no specific bar for each search engine. You can define one in the general settings and it is used when searching something from the URL bar.

    Thanks for the log. FYI you could use MatLog (open source) and here is a tutorial to record a log: Easiest Way to Utilize Matlog
     
    • Like
    Reactions: CLPose

    CLPose

    Senior Member
    Jan 7, 2015
    726
    376
    Buenos Aires
    There's no specific bar for each search engine. You can define one in the general settings and it is used when searching something from the URL bar.

    Thanks for the log. FYI you could use MatLog (open source) and here is a tutorial to record a log: Easiest Way to Utilize Matlog
    Thanks for your suggestion on Matlog. It's easy to use. :victory: So I upload the log with this tool too, just in case its logs are more useful. :highfive: No hurry, of course, but do you -or OP- have any idea why it FCs when searching? Thanks!:good:
     

    Attachments

    • 2016-11-17-11-37-59.txt
      29.1 KB · Views: 18
    • Like
    Reactions: Gaukler_Faun

    Primokorn

    Senior Member
  • Nov 17, 2012
    11,440
    7,687
    Thanks for your suggestion on Matlog. It's easy to use. :victory: So I upload the log with this tool too, just in case its logs are more useful. :highfive: No hurry, of course, but do you -or OP- have any idea why it FCs when searching? Thanks!:good:
    I see when the problem occurs but I'm not an app dev so you have to wait @Gaukler_Faun for further help.
     

    Gaukler_Faun

    Senior Member
    Aug 10, 2012
    677
    1,389
    Near Karlsruhe
    github.com
    Hi! I tried your browser (release and release2) and it seems to be fast and lightweight to open. :highfive: But whenever I tap on the magnifier, app FC. :crying: No matter if I write a word or a URL in the search box. I'm on my Moto G 2014, CM12.1, and xposed. Others webview-based web browsers work fine in my device. Any idea what could be the problem? :confused: Thanks!

    Thanks for the logcat. Have I understand right:
    1. You did a fresh install
    2. you opened the app
    3. you clicked the search icon the first time
    4. you entered something in the edittext field
    5. when you click the second time the app crashes

    It seems to be a problem with the keyboard ... At the moment I'm looking at it ...

    Regards
    Gaukler Faun
     
    • Like
    Reactions: Ultramanoid

    CLPose

    Senior Member
    Jan 7, 2015
    726
    376
    Buenos Aires
    Thanks for the logcat. Have I understand right:
    1. You did a fresh install
    2. you opened the app
    3. you clicked the search icon the first time
    4. you entered something in the edittext field
    5. when you click the second time the app crashes

    It seems to be a problem with the keyboard ... At the moment I'm looking at it ...

    Regards
    Gaukler Faun
    Hi! Yes, that's right. I did that process with release and release2 apk, fresh install, and both apk crashes at the moment of making the search. With or without the keyboard on display. I'm currently using swiftkey keyboard. Good luck :fingers-crossed: and thanks :good: for your hard work!
     
    • Like
    Reactions: Gaukler_Faun

    Gaukler_Faun

    Senior Member
    Aug 10, 2012
    677
    1,389
    Near Karlsruhe
    github.com
    Good idea. Threads are full of adblock questions once it's implemented...

    This is a great browser with interesting features (save screenshot of the whole web page is useful).

    Some suggestions/questions:
    • There's no tabs. Do you plan to add them?
    • Enable/Disable Javascript per website
    • User agent
    • Edit bookmark
    • Set a homepage
    • Export / Import bookmark
    • Hide status bar while browsing (optionnal)
    • Text reflow
    • Unable to select the current URL from the omnibox (pressing the URL bar to search is not a good idea IMHO)
    • Swipe to the bottom from the URL bar also closes the app (not explained in the Help menu)
    • Pinch in isn't handy sometimes because the app wants to refresh.
    • Unable to access to the General settins while browsing. I have to close the app to return to the first screen.
    • I checked Form data in the general settings but I have nothing in 'Open PassStorage' after being logged in to XDA.
    • Why do we always have https://www.startpage.com in the Open passStorage window?

    Thanks for your reply ... so ...

    There's no tabs. Do you plan to add them?
    I don't even know if it is possible to implement tabs in a webview. It is not the normal way without tabs, but if you are used to it you don't miss them. The history and readLater list are a good replacement. So I don't plan to integrate tabs.

    Enable/Disable Javascript per website
    I thought about it and have some ideas to implement. But I think it's a lot of work ... So maybe some time in future... You can "quicktoggle" javascript in the settings (will be "retoggelt" when you restart the app.

    User agent
    I tried to implement it but with no success. User agents seemed to be controlled over javascript interfaces on the websites. Also different websites have different ways to recognize the useragent (link).

    Edit bookmark
    Is implemented (long click on a entry).

    Set a homepage
    At the moment i don't want to implement.

    Export / Import bookmark
    Implemented in the settings (backup/restore).

    Hide status bar while browsing (optionnal)
    Good idea and not much work. Will be implemented. Do you mean only statusbar or also the omnibox?

    Text reflow
    Google removed this feature from webview with KitKat. :(

    Unable to select the current URL from the omnibox
    That I won't change. You can copy the link in the clickboard over the menu (share).

    Swipe to the bottom
    removed in latest release (v3).

    Pinch in isn't handy
    There are also some other minor bugs while webview is loading. I will work on it...

    Unable to access to the General settins
    Implemented in current version (v3)

    I checked Form data
    Google also removed saving password in a webview. Some websites (p.e. github) are storing the login data in cookies. Enabling cookies solves the problem on some sites. When I implement the whitelist for javascript, there will be also on for cookies... You can save a website in the passStorage over the menu (save website). There you can enter login data. Login data will then be copied to the clipboard (just try it out). The passStorage list has also a long click menu.

    Why do we always have...
    This is needed to create the databases. There must be at least one entry per list. When you saved more than one entry you can delete the default entry...

    Again big thanks to you for testing my app and making suggestions to improve it. As you see some things are already done.

    Regards
    Gaukler Faun
     

    Gaukler_Faun

    Senior Member
    Aug 10, 2012
    677
    1,389
    Near Karlsruhe
    github.com
    New update v3

    v3:
    • quick settings in the browser
    • Android N app shortcuts
    • ui improvements (edit bookmarks, enter login data)
    • some minor improvements

    Please make a clean install. There are many changes under the hood...
    @CLPose I didn't find a solution until now. Perhaps you should use the default keyboard and try it with the new version. I changed some code concerning the keyboard...

    Regards
    Gaukler Faun
     

    CLPose

    Senior Member
    Jan 7, 2015
    726
    376
    Buenos Aires
    v3:
    • quick settings in the browser
    • Android N app shortcuts
    • ui improvements (edit bookmarks, enter login data)
    • some minor improvements

    Please make a clean install. There are many changes under the hood...
    @CLPose I didn't find a solution until now. Perhaps you should use the default keyboard and try it with the new version. I changed some code concerning the keyboard...

    Regards
    Gaukler Faun
    Hi, @Gaukler_Faun! I did a clean install of version 3 and it FCs as well with Swiftkey keyboard and with CM AOSP default keyboard. So sorry! :( Attached, you can find log of browser V3 with AOSP keyboard. Thanks! :good:
     

    Attachments

    • 2016-11-17-15-37-23.txt
      28 KB · Views: 6
    • Like
    Reactions: Gaukler_Faun

    Primokorn

    Senior Member
  • Nov 17, 2012
    11,440
    7,687
    Some features I suggested are available with Lightning/JumpGo browsers (MPLv2). It may help you to add more features.

    There's no tabs. Do you plan to add them?
    I don't even know if it is possible to implement tabs in a webview. It is not the normal way without tabs, but if you are used to it you don't miss them. The history and readLater list are a good replacement. So I don't plan to integrate tabs.
    1. Actually tabs are very useful (that's why we have them in most of web browsers ;)). For instance, you are on a forum and you have to do some tests on the website. You need 2 tabs to switch between the website and the forum.
    Tabs are also handy when opening several websites from a RSS feed.

    Enable/Disable Javascript per website
    I thought about it and have some ideas to implement. But I think it's a lot of work ... So maybe some time in future... You can "quicktoggle" javascript in the settings (will be "retoggelt" when you restart the app.
    2. It seems to work well with v3 :good: Maybe enough...

    Edit bookmark
    Is implemented (long click on a entry).
    3. Perfect :) will you try to add folders?

    Set a homepage
    At the moment i don't want to implement.
    4. Not a big deal

    Export / Import bookmark
    Implemented in the settings (backup/restore).
    5. Yep, thanks :)

    Hide status bar while browsing (optionnal)
    Good idea and not much work. Will be implemented. Do you mean only statusbar or also the omnibox?
    6. I would say 3 modes is perfect lol:
    - hide statusbar only
    - hide statusbar and navbar
    - fullscreen: no statusbar, no navbar, no omnibox

    Text reflow
    Google removed this feature from webview with KitKat. :(
    7. Available with JumpGo too.

    Unable to access to the General settins
    Implemented in current version (v3)
    8. Thanks
     
    • Like
    Reactions: Gaukler_Faun

    Top Liked Posts

    • There are no posts matching your filters.
    • 5
      Hi,

      since, I'm going camping for a few days, I released an update with the latest fixes. It will be released on F-Droid and PlayStore (de.foss.browser -> new app). Attached is the actual debug-apk. Fell free to test and report.

      Thanks for all the feedback.

      Greetings
      Gaukler Faun
      2
      @Oswald Boelcke @Gaukler_Faun

      i am happy to confirm that the apk on post #415 solved the problem with fullscreen video...

      very good thanks a lot

      on a side note, i did adb backup and adb restore on the app but i cannot get my settings back..
      it is not a major issue, just a few bookmarks which i can for sure re-add manually.
      but if you have any suggestion please feel free to let me know (i have de.baumann.browser.apk and de.baumann.browser.backup on my desktop...)

      once agains, thanks a lot for the excellent job

      M
      2
      would it be possible to ask also for a feature implementation?

      i think it would be useful to have a quick way to refresh the current web page
      maybe with a swipe down when on top of the page...

      alternatively I see that in gestures i can set actions for swipe on toolbar
      but i cannot see a refresh/update page

      maybe I am just missing something
      or maybe it is just something that is not needed for the majority of people
      just dropping here the idea, feel free to tell me it makes no sense...

      thanks a lot

      M
      HI,

      at the moment I do not implement any new features. Meanwhile you can reload a website in the menu dialog or in the "fast toggle dialog".
      2
      Hi,

      updated the download links in the first post:

      Downloads
      • Github-Releases: Here you can find latest app-releases. These are debug versions.
      • Github-latest: Here you can download the debug version with the latest changes. It is like a alpha version for the next update ...
      • PlayStore
      • F-Droid
      If anyone wants, he can test Github-latest. If there are any further or unsolved issues, please report it. I plan to release a bugfix release in upcoming days ...

      Thanks.
      1
      Hi,

      since, I'm going camping for a few days, I released an update with the latest fixes. It will be released on F-Droid and PlayStore (de.foss.browser -> new app). Attached is the actual debug-apk. Fell free to test and report.

      Thanks for all the feedback.

      Greetings
      Gaukler Faun


      enjoy your camping!

      here all is good, update arrived on F-Droid this morning, installed went fine and full screen video is now fixed

      thanks a lot

      M
    • 49
      FOSS Browser

      "FOSS Browser" is fully free/libre (as in freedom) Android app. The source code is public. The app also does not need any unnecessary permissions. It's a simple Android browser based on webview. The intention is to provide a simple and light weight but powerful browser with a nice looking user interface.

      Help to translate FOSS Browser on Crowdin: https://crowdin.com/project/foss-browser

      Links:

      Security/Data:
      • fully open source
      • no trackers
      • no unnecessary permissions
      • third party cookies disabled by default
      • enable/disable cookies, javascript, location access, history
      • whitelist for javascript, cookies, remote content and AdBlocker
      • toggle image/third party content loading
      • do not track me
      • backup data
      • AdBlocker
      • delete data on exit (optional)

      UI/Handling:
      • optimized for one hand handling (toolbar at bottom)
      • tab control (switch, open, close unlimited tabs)
      • full material design
      • fullscreen browsing (optional)
      • navigation button in fullscreen mode
      • fast toggle for most important settings
      • advanced gesture control for toolbar and navigation button
      • Dark Mode support

      Some nice extra features:
      • small size
      • search on site
      • Websearch (from marked text context menu)
      • save as PDF
      • open links in other apps (for example YouTube)
      32
      Downloads
      • Github-Releases: Here you can find latest app-releases. These are debug versions.
      • Github-latest: Here you can download the debug version with the latest changes. It is like a alpha version for the next update ...
      • PlayStore
      • F-Droid
      10
      Dear FOSS Browser community,

      I'm aware that with the last update I'm annoying a lot of users. Some lost their bookmarks, some are missing features, they are used to. Indeed I was afraid to release that update. It's not easy to make this step as developer. I'm only a small independent developer with a small community. I believe in free software. Free software would be nothing with the community. So let me explain, why I did this step.

      Main inspiration for " FOSS Browser" was "Ninja Browser". I liked the bottom orientated layout, the search on site functionality and opening links in the background. I removed all I didn't want and added some things from my other apps.

      The next step was a simplified UI. I decided to move all menus and dialogs in in so called "bottomsheet dialogs". This is a android native method to show things moving in from the bottom of the screen. With the new "Overview" it is possible to move the old "StartPage" together with the "tab overview" in such a dialog. Now you can reach all important content in one layout. And this layout can be shown, without opening a new tab. Now all incoming views are handled the same way. The UI is more consistent.

      Also the old tab preview used a custom layout. This layout caused many other layout problems. Now, using the native "bottomSheet dialog", I have less layout troubles, less code and less bugs.

      Another important point is, that I'm making this app mainly for my use. So if there are two ways I'll always will prefer the one, which I like more. I tested the new layout for several weeks. It's not the same like the old one. But you'll get used to it. At least I got.

      Some of your points of critic are already on my to-do list. The next step will be the more individual implementation of gestures. Separated for the floating action button and the adressbar. Swiping up to open overview and switching tabs by swiping left and right will also be an option.

      Last, but not least, I'll have to say, that I'm not a learned developer. All I'm coding I learned on my own from tutorials or documentations. I don't have the knowledge to upgrade a database without loosing some user data.

      At the moment there is nothing more to say. Thank you for all your support. The journey will go on. I hope with you.

      Regards and a happy new year
      Gaukler Faun
      9
      Here is the promised test release. Please make a backup before using (I recommend OandBackup). It is possible that you will lose some data. Things to do before official release:

      - new help dialog
      - update screenshots
      - bookmark import and export
      - what you tell me ...

      Changes:

      - the overview tab is now also a dialog displayed from the bottom
      - tab preview is integrated in the overview
      - bookmarks and login data are now in one tab
      - bookmarks filtering and sorting
      - gestures on toolbar and navigation button are now handled the same way
      - new options for gestures in the settings
      - ...

      Thanks for testing and still following this thread. The show must go on!

      Regards
      Gaukler Faun
      8
      Update v 5.7

      As promised ( along time ago) here's the update. It took longer, but there are some changes:

      ### v 5.7
      - new: delete indexed databases and local web storage
      - new: Spanish translation (thanks to Herman Nunez)
      - new: confirmation dialog before making backup
      - new: delete separate lists (Startpage, history, ...)
      - new: show unsecured connections and try reloading secure
      - new: search engines (Startpage DE, Searx)
      - new: notification when download or screenshot complete
      - new: block remote content
      - improved Chinese translation (thanks: lishoujun)
      - removed: Snackbar (replaced with toasts)
      - removed: request desktop site
      - removed: build in file manager
      - fix: some strings (thanks: gr1sh)
      - fix: some urls opening search results

      Thanks for your input and for using "FOSS Browser"!