• Stars
    star
    2,837
  • Rank 15,596 (Top 0.4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Build performant, native and cross-platform desktop applications with native Svelte + powerful CSS-like styling.🚀

Svelte NodeGUI

Join the NodeGUI community on Spectrum Join the Svelte community on Discord All Contributors JS Party #96

Build and Test status

Build performant, native and cross-platform desktop applications with Node.js and Svelte.🚀

Svelte NodeGUI is powered by Svelte and Qt5 💚 which makes it CPU- and memory-efficient when compared to Chromium-based solutions like Electron. Svelte NodeGUI is essentially a Svelte renderer for NodeGUI.

If you are looking for the React-based version, check out: React NodeGUI.

If you are looking for the Vue-based version, check out: Vue NodeGUI.

Visit: https://svelte.nodegui.org for docs.

logo

How does it look?

demo_linux demo_win demo_mac
kitchendemo_macdemo_win

More screenshots?

More Examples:

https://github.com/nodegui/examples


Features

  • 🧬 Cross platform. Should work on major Linux flavours, Windows and macOS.
  • 📉 Low CPU and memory footprint. Current CPU stays at 0% on idle and memory usage is under 20 MB for a Hello World program.
  • 💅 Styling with CSS (includes actual cascading). Also has full support for Flexbox layout (thanks to Yoga).
  • ✅ Complete Node.js api support (Currently runs on Node v12.x - and is easily upgradable). Hence has access to all Node.js-compatible npm modules.
  • đŸŽȘ Native widget event listener support. Supports all events available from Qt / NodeJs.
  • 💾 Can be used for Commercial applications.
  • đŸ•”ïžâ€â™‚ïž Good Devtools support.
  • 📚 Good documentation and website.
  • đŸ§™â€â™‚ïž Good documentation for contributors.
  • đŸŠčđŸ»â€â™€ïž Good support for dark mode (Thanks to Qt).
  • 🏅 First class TypeScript support. (Works on regular JS projects too 😉).

Getting Started

Docs for contributing

Svelte NodeGUI

File issues and get in touch (e.g. on the Svelte Discord's #nativedev channel), and we can guide you to something broken that needs fixing!

NodeGUI

Looking to contribute to NodeGUI? If you wish to implement a new widget/add more features and need help understanding the codebase, you can start here: Contributing developer docs.

Please read https://github.com/nodegui/.github/blob/master/CONTRIBUTING.md

Building

npm run build

Optionally set QT_INSTALL_DIR='/path/to/qt' environment variable to build using your own version of Qt.

Updating docs

Generating docs from source code

The docs generation process is currently a manual operation (text edit everything yourself). The docs are a copy-paste of the React NodeGUI docs, with some text replacement. We're also carrying around a slight fork of the React NodeGUI source in the codebase. In future we hope to clean up this workflow and make it more automatable using typedoc just like the original React NodeGUI workflow.

Deploying docs to GitHub Pages

cd website && GIT_USER=<your_git_username> npm run deploy

Funding

As no funding infrastructure is in place for Svelte NodeGUI specifically, please consider supporting NodeGUI instead, which would be just as productive!

Special Thanks

Code of Conduct

https://github.com/nodegui/.github/blob/master/CODE_OF_CONDUCT.md

License

MIT

Maintainers ✹

People maintaining this project.

Jamie Birch
Jamie Birch

Contributors ✹

Thanks goes to these wonderful people (emoji key):


Jamie Birch

đŸ’»

Saurav Sahu

đŸ’»

Matthieu PERREIRA DA SILVA

đŸ’»

Jonas Grunert

đŸ’»

LukeyBeachBoy

đŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

More Repositories

1

nodegui

A library for building cross-platform native desktop applications with Node.js and CSS 🚀. React NodeGui : https://react.nodegui.org and Vue NodeGui: https://vue.nodegui.org
C++
8,784
star
2

react-nodegui

Build performant, native and cross-platform desktop applications with native React + powerful CSS like styling.🚀
TypeScript
6,170
star
3

vue-nodegui

Build performant, native and cross-platform desktop applications with native Vue + powerful CSS like styling.🚀
TypeScript
804
star
4

packer

Package and deploy apps built with NodeGui to all platforms
TypeScript
203
star
5

examples

Repo containing example apps made with NodeGui and React NodeGui
TypeScript
187
star
6

react-nodegui-starter

Starter repository for react based native desktop apps using react-nodegui
JavaScript
172
star
7

nodegui-starter

A starter repo for NodeGui projects
TypeScript
123
star
8

qode

DEPRECATED: Please see https://github.com/nodegui/qodejs instead
C++
91
star
9

awesome-nodegui

Useful resources for creating apps with NodeGui
85
star
10

svelte-nodegui-starter

JavaScript
55
star
11

vue-nodegui-starter

starter skeleton repository for vue-nodegui projects
Vue
32
star
12

nodegui-plugin-webview

[WIP] A NodeGui plugin that adds webview support
C++
29
star
13

nodegui-plugin-animation

A NodeGui plugin that adds native animation capabilities to NodeGui widgets and objects. Based on QAnimation
C++
16
star
14

nodegui-plugin-title-bar

Plugin for NodeGUI to hide macOS title bar and leave only traffic lights.
Objective-C++
13
star
15

os-utils

A helper module for NodeGui which contains OS specific native features.
C++
10
star
16

cra-template-react-nodegui

The CRA bootstrap template for creating desktop apps with react-nodegui
JavaScript
8
star
17

nodegui-plugin-example

an example native plugin
C++
6
star
18

postcss-nodegui-autoprefixer

A postcss plugin for prefixing css in NodeGui to make it work with Qt
TypeScript
6
star
19

parcel-plugin-nodegui

official parcel plugin for using and bundling assets with your nodegui app
JavaScript
6
star
20

devtools

React NodeGui's devtools support module.
JavaScript
5
star
21

artifact-installer

An artifact or prebuilt binary/dependency installer for NodeGui. Used to setup minimal Qt installation etc
TypeScript
2
star
22

svelte-nodegui-preprocessor

TypeScript
2
star
23

.github

Default Org health files
1
star