npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

newtonium

v0.4.1

Published

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

Downloads

18

Readme

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

  • [x] Working prototype
  • [x] Custom webkit embedding
  • [x] 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).