We are making a web browser! PREVIOUSLY In the face of recent changes in Firefox and Chrome some anons were asking for a Sup Forums's perfect web browser, we collected the most wanted here and plan on continuing with the creation.
To contribute follow the WORK PLAN and get to programming!
>TODO: - Host project at savannah.nongnu.org - Set bug tracker and mailing list in Savannah.
>WORK PLAN 1. Browse links2 source code (you can use Ctags for tagging functions and files). 2. Expose API and give access to everything (scripting through executables is planned). 3. Give total control over the DOM, put options in files inside a hierarchical folder structure referencing sites and subsites. 4. Implement a link grabber for every link and media type to be parsed by scripts and independent applications. 5. Create an uncomplicated switch to general security profiles located in saved files. 6. Implement ncurses simple tree style graphics for bookmarks, tabs, advanced security policies by site, etc. 7. Work in the framebuffer graphics rendering. 8. Open API to javascript support (version 2.1pre28 of links2 had javascript enabled). 9. Cache, logs, cookies, and other data storage options. 10. Ports routing proxy management. 11. Vim/Emacs modes, dwb hints and quickmarks.
- Granular control over incoming traffic like Policeman (more detailed than uMatrix). - Granular control over outgoing traffic like Tamper Data or like Privacy Settings (the addon). - HTTPS with the HTTP fallback optionally in a new instance of the browser with functions like HTTP POST disabled. - URI leak prevention like "No Resource URI Leak" and no plugin enumeration. - Local CDN like Decentraleyes and Load from Cache. - Cookie management like Cookie Monster. - Option to turn off disk usage for all data (cache, tmp data, cookies, logs, etc.), and make cache read only. - Randomizer for user-agent and canvas fingerprint. - Custom stylesheets like Stylish. - Userscript support like Greasemonkey. - Proxy management like FoxyProxy. - Simple ports routing to use networks like Tor or I2P. - Simple switch to universal profiles to be used like blocklists from uBlock, or like Privacy Settings. - A configuration file like Lynx for universal profiles. - URL deobfuscation like "Google search link fix" and "Pure URL". - Search customization like surfraw, dwb or InstantFox Quick Search. - Reverse image search like Google Reverse Image Search. - Use external applications to open links, to use a video player with youtube-dl and MPV, for text input with a text editor, for protocols like ftp and gopher, or as a file picker. - Use wget web crawling feature like a DownThemAll. - Send commands to a monitor (and command history) to keep browsing while the commands are working. - Simple emacs-like keybindings for the menubar by default for new users. - Keyboard driven with dwb features like vi-like keybindings, hints, quickmarks, and custom commands. - Configuration options from an integrated command-line. - Non-bloated smooth UI like dwb. - Import bookmarks from browsers like Firefox. - Written in C. - Low on dependencies. - GPL v3+. - Framebuffer support like NetSurf for working in the terminal (TTY). - Actual javascript support so we can lurk and post in Sup Forums.
Benjamin Wilson
FAQ
>Will it have an adblocker. Yes. >Will it have tree style tabs? Yes, but not up in the priorities. >Will it be crossplatform? Already is. >Will it it have vim keys? Yes. >Will it have "graphics"? Yes. We are planning to run the program in terminal using the frame buffer for graphics, but Links2 also comes with directfb, X server, SVGA and other graphics drivers. >Why teknik.io? We plan on moving to savannah.nongnu.org. There is a github mirror too. >Why links2? Enough features and the API seems more friendly. >Why not netsurf? Good rendering but not for DOM updates, plus dependencies gave problems. >Will you use a separate javascript engine? We're debating this. >Will you use a separate layout engine? We're debating this. >Will you use netsurf layout engine? Might be a problem because of the DOM (not enough information). >Will you use webkit/blink/servo? No. >What logo are you going to use? We liked all so far.
Jack Jones
...
Justin Ross
ignore all that, that's so far down the road. We're focused on making a custom codebase that can browse Sup Forums now and then we're going to go back with what we learned and rearchitect it.
If you're interested on working on a summer project that looks good on the resume, this is a damn good one.
Wyatt Cruz
>5 backdoors in 3 different commits already
lmao this thing is going to be great
Hudson Rivera
This is so fun. I really applaud the effort here. I personally think the code should be a clean and simple instead of feature packed though. Just a plugin api that works with JSON over stdin/stdout should be good.
Lucas Howard
>white power mascot
dropped
i hope you die you fucking drumpf-hugging fascists
>get result as string of HTML >split it by >end up with an array of strings, each being a different element >use a rule set by which you decide how to render >render
Luke Howard
Convert the HTML to JSON, send it to a trusted central server to parse on your behalf, then wait for them to send you back a fully parsed binary representing the webpage.
Liam Morales
Don't listen to (((him))), stick with it.
Matthew Brooks
I'm just a passer by.
Matthew Walker
Holy shit are all Sup Forums users this retarded?
The DOM is a tree for a reason. The pajeets writing this "browser" are going to end up with a clusterfuck of unmaintainable code and that's just the html renderer. This piece of shit is a non-starter, and I will be here to laugh at all of you when it inevitably crashes and burns, or just fades into irrelevancy.
Joshua White
>get result as string of HTML The first mistake with this is that you start parsing once the document is completely loaded. kek
Evan Martinez
ITT: mozilla cucks attempt to kill support for a new project because any more competition in the browser industry and they'll become completely irrelevant
Levi Butler
You said nothing.
Camden Martin
>>/ntr/ - Netorare official Sup Forums browser It makes sense. You must be a complete cuck if you think that's gonna work.
Oliver Gonzalez
Add some chrome shills in the mix.
Jackson Butler
They couldn't compete with eww-mode with years of development. Firefox is so out of their league this might as well not exist at all.
William Peterson
hello yes? the netorare general yes?? respond to message please thanks advance !!
Daniel Lopez
...
Dominic Miller
The outside world doesn't seem to know of this project yet, let's keep it this way, it'd really turn me off to see /r/the_donald memeing the browser and shit.
Evan Jenkins
looks like linker errors. Did you install: glfw opengl glew freetype2 HarfBuzz ?
If so, what directories are they in?
Liam Carter
So, are you guys planning on writing your own JavaScript engine? How's that working out for you?
Jason Garcia
What do you think of starting from both the: core / bottom end / base / lowest level code / lowest abstraction layer; outer layer / top end / apex / highest level code / highest abstraction layer; and progressing toward the middle? Does that even make sense to you? I have almost no coding experience but my mind is geared for computer science and I'm genuinely interested.
Brayden Ramirez
is this netscape-based or chrome-based?
Cameron Edwards
ener/g/-based
Blake Stewart
Will you have support for the Jetpack SDK addons? Not being able to use pixivutil in pale moon really pisses me off.
Oliver Lewis
Yes but I'd like to also offer v8 and any other JS engine we can embed, As it will be a long time before ours is anywhere.
I think that's what we're kind of doing. First building a proof of concept: something that can browse this thread. And then rework the architecture. But I'd like to see a lot of abstraction.
I will say you need to have some C++ experience to work on this project. It can take a bit of work just to compile. Though if you want to learn, we're more than willing to show you the ropes.
neither
Better question for gyroninja, I think think any of that stuff is way far down the line.
Anthony Ortiz
>Yes
I hope you have some volunteers with lots of expertise in security... This isn't 1980s internet anymore, people are malicious as fuck, you know? That extends beyond just your JavaScript engine, lots of vectors of attack in a browser.
Wyatt Miller
If you guys are seriously considering an HTML "parser" then why not PDF, djvu, chm, or even doc and ppt, etc. You have lightweight libraries written in C like chmlib, djvulibre, mupdf, catdoc, etc.
It makes sense, as you leave the work of filling text to external text editors, you van leave document editing to an external editor (either vim or emacs, both which have proper plugins). Imagine an split screen where you can edit LaTeX in vim and see the end work rendered in the other side.
Please, think on all the people who only want to edit a document from the work but need no fancy. All the sysadmins too, by leaving the choice of using netrunner independently from a text editor you'll have vim users (and maybe emacs too) using netrunner.
Nicholas Wright
Try again in coherent English.
Samuel Anderson
Make netrunner render documents.
Justin King
There's a chrome plugin for that
Christopher Sullivan
Why not improve an already great and FOSS browser like Qupzilla?
* Has greasemonkey already * qt gui * has adblocker * has javascript already. no need to try and make such a huge undertaking yourself * Has extension api * already has netflix support builtin * based on qtwebengine * can already download file using a customizable external program * can already import firefox chromium bookmarks * not based on firefox or chromium but still awesome * already has tree style tabs builtin (extension that comes with it)
The rest you could add in yourself, like improving the security features to be per site.
Sure it isn't usable with framebuffer… but it would expand the potential users hundreds fold and take an already established for 10+ years browser with already great features and add the features you want
Logan Reyes
What about netsurf? It's got framebuffer support and could probably be modified to do everything desired.
Ryder Sanders
guys
guys
get this
what if
guys
what if
wait for it
tiling web browser
Ian Nelson
>ntr WHY
Isaiah Miller
The browser of choice for cucks and cuck admirers, my friend.
Are you guys still trying to make a regex HTML parser? Eventually you'll realize it's impossible to make it fully functional. And forget performance or maintainability.
Xavier Hill
>forget the whole "non-bloated UI", if you want granular control of all that shit in a per-website basis, you MUST have an UI with a bunch of buttons to toggle that shit. I disagree.
Actually after seeing all the chrome shilling I'm 80% sure if I did that then at least some of it would be implemented in chrome long before netrunner would even be useable.
Isaac Green
Yes, I'd like to see it as more of a document viewer myself.
made sense to me
Because we want to built something different than those specific projects.
a man after my own heart
Not sure where this came from, but the code doesn't use regex nor do I plan on using regex. Like you said it'll become unmaintainable.
Leo Rogers
>implying google wants your ideas They already have the means and the will to try out dozens of ideas even outside of their core businesses, and A/B test them.
Jonathan Nguyen
>Are you guys still trying to make a regex HTML parser? Eventually you'll realize it's impossible to make it fully functional. And forget performance or maintainability. I've heard this plenty of times, and the answer is always that HTML is a non-regular(irregular?) language so it's impossible to write regular expressions for it. But how is that the case when tags are either single or paired and there are rules about how they nest, i.e. tr has to be inside a table, etc.
Brandon Ortiz
Go back to school and learn what a regular language is
Sup Forums always mocks CS graduates but at least they learn the basics of computation theory unlike the typical braindead Sup Forums neets
Joshua Ortiz
Then why does everyone on stack overflow say that html is not a regular language. Are you implying nobody on there has a CS degree?
Adrian Collins
t. brainlet
Ryan Cruz
For what it's worth I hold harsh criticisms for nearly all mainstream software UIs; they're just abysmal in general and it amazes me that people are even okay with the standard garbage. It's nuts. Maybe everyone else is fucked in the head.
Josiah Cooper
Oh, you don't know either. Why didn't you just say.