How can I make my own browser for the internet?
Asked by
KRD (
5274)
December 14th, 2023
I have this idea for a browser but I don’t know how to make one.
Observing members:
0
Composing members:
0
8 Answers
Not trying to be a smartass, if I knew the answer to your Q, I’d be rich already!!!
In computer science class in university I asked my professor how to start my own programming language. He stared at me like a deer in headlights.
You would want to learn assembly language, or machine code. Plus hardware. You would have to do the sweet spot where hardware meets software.
I would suggest not going to university to learn this as not even the professor can help you. I recommend signing out, dust covered books from your local library, for free and doing the free stuff first. Their should be 100’s of books on computers that you can sign out for free.
I recommend documenting your studies as everyone would like to read hoe you did. I would buy or sign out your book after it is published.
Good luck, and happy travels.
Chrome, Firefox, Brave, Midori – are all open source browsers. You need to download the code for one or more of them, and then you can modify it to your heart’s content.
If you’re starting from scratch (not recommended) you will need to have deep understanding of a whole host of standards, not the least of which are HTTP/HTTPS, Javascript, SSL, various audio and video coders and decoders, and a ton more. You’ll spend the rest of your life working on it.
There used to be a program to make your own browser. I think it was called browserbob. But that was about 20 years ago when I played around with it.
There are plenty of open source areas to start. The base can be started with Chromium, Electron, or Gecko.
Google those and start there.
Google offers an engine, chromium, for anyone to use. But honestly, the big ones have entire teams doing stuff. If you have a specific feature idea, you might be better off getting with an open source team and suggesting the feature. There’s alot more work in it than you likely think.
As others have said, this is a crazy idea. It’s like asking “how do I build my own aircraft carrier? I have an idea for one, but I’m not sure how to get started building it.”
As a point of reference, the Firefox browser has about 21 million lines of code in it.
The most reasonable strategy would be to modify an existing open-sourced browser.
What is the general nature of your idea? If it’s just about the UI or something high-level, then I’d recommend finding a program language you feel comfortable with, and a library for that language that includes browser functions.
For me, for example, I would choose C++, and the C++ framework OpenFrameworks, which includes functions that would in theory let me display a browser display for a URL, and develop the rest of the UI. Assuming that works well enough, and does the parts I don’t want to do, I could probably make a web browser this way, that might serve whatever my needs/desires were for the project.
It wouldn’t be likely to be enough to compete as a general-purpose browser product with something like Opera or Vivaldi, let alone Firefox, but it might well serve a specific need/desire far better than those would.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.