0.4.1 • Published 9 months ago

newtonium v0.4.1

Weekly downloads
-
License
LGPL-2.1-or-later
Repository
github
Last release
9 months ago

Newtonium

!IMPORTANT This project is in a very early development stage. Everything can change and nothing is guaranteed to work.

TypeScript and Rust based framework for building desktop applications using TypeScript and React. Newtonium is built on Webkit, Rust and Bun (with React using Next.JS), so it should be faster and lighter than Electron.

Before you start

Note, that newtonium currently only supports development and building for Linux. Windows and MacOS support is planned.

You will also need to get the following dependencies:

  • bun
  • npm
  • libwebkit2gtk-4.1-dev (apt install libwebkit2gtk-4.1-dev)
  • libgtk-3-dev (apt install libgtk-3-dev)

Getting started

To get started with Newtonium, you first need to install our main library, which includes the CLI.

npm install -g newtonium

This will take a while, because it needs to download the binaries, but you can add --foreground-scripts flag to track the progress.

Creating a new project

To create a new project, you can use the following command:

newtonium init my-app

This will create a folder with the new project, install all dependencies and setup everything needed.

Running the project

You can run the development server using the following command (start in the project folder):

bun run start

Building the project

You can build the project using the following command:

newtonium build

This will create a file called dist.AppImage, which you can run and distribute.

Project structure

There are two main folders in the project:

  • src - Contains the source code of the project - your functions for interactions with hardware, window management and so on.
  • src/view - Contains the source code of the UI - Next.JS project (only static exports are supported, you can use IPC for interacting with hardware)

MORE INFO ON GITHUB: MartinGamesCZ/Newtonium

Roadmap

  • Working prototype
  • Custom webkit embedding
  • Windows support (building)
  • Windows support (development)
  • MacOS support
  • Mobile (android) support
  • Custom IPC
  • Internal client library
  • Support for building background services

Let me know

If you featured Newtonium in your project, please let me know, I would love to see it.

If you have featured Newtonium in some article, or video, please let me know, I would love to see it.

Contact me

You can find my contact information on my GitHub profile.

Authors

Support me

If you want to support me, you can give this project a star on GitHub. You can also donate me (if you want to, please contact me).

0.4.1

9 months ago

0.4.0

9 months ago

0.3.10

9 months ago

0.3.9

9 months ago

0.3.8

9 months ago

0.3.7

9 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.1.15

9 months ago

0.1.14

9 months ago

0.1.13

9 months ago

0.1.12

9 months ago

0.1.11

9 months ago

0.1.10

9 months ago

0.1.9-rev7

9 months ago

0.1.9-rev6

9 months ago

0.1.9-rev5

9 months ago

0.1.9-rev4

9 months ago

0.1.9-rev3

9 months ago

0.1.9-rev2

9 months ago

0.1.9

9 months ago

0.1.8-rev2

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.0

9 months ago