Skip to content
← Back to Community
Make A Desktop App Using Repl.it and HTML?
Profile icon
Whacko

Is this possible? Or at least a way to make an app using HTML? I really want to make an app, please tell me a way. I know these languages:

  • HTML, CSS, JS
  • Node.js
  • Python
Voters
Profile icon
Whacko
Comments
hotnewtop
Profile icon
xxpertHacker

Or at least a way to make an app using HTML?

Computers don't understand HTML, they understand computer words and binary.

Browsers make sense out of HTML, so to use HTML, you need something that parses HTML, such as a browser.

The short answer here is "no."

I really want to make an app, please tell me a way.

If you want to make a native application, you'll need to learn a language that compiles to native code.

Thankfully, Repl has plenty of languages that do just that!

It's a pretty long list, just about every other language on Repl is suitable, go research a good native application language, pick one, and get comfortable!

Profile icon
19wintersp

You have two main options to use HTML as a (graphical) desktop app: ElectronJS or a Progressive Web App, of which I highly suggest the latter.

ElectronJS is a framework which lets you use Node as a backend and HTML, CSS and JS as a frontend to create desktop apps for MacOS, Windows, Linux, etc. The main issue with Electron is that your finished app contains the Chromium web browser, which is MASSIVE. Good tutorial

Progressive Web Apps are this fairly new thing which lets you "install a webpage", so to speak, so that it acts like a native app on mobile and desktop, though still functions as a website. Pretty good tutorial

Please note however that none of these are a replacement for proper native APIs (GTK, Win32, etc.) as web technologies have their place. Consider learning something like C++ if you want to build "proper" desktop apps.

Profile icon
Whacko

@19wintersp Can you help me with this?

Profile icon
19wintersp

@Whacko I'm a little busy right at this moment, but I can help out soon.