GithubHelp home page GithubHelp logo

toastxc / jolt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vloddot/jolt-svelte

1.0 0.0 0.0 1.08 MB

Custom Revolt client.

License: GNU General Public License v3.0

JavaScript 1.04% Rust 0.68% TypeScript 26.86% Nix 1.66% HTML 0.37% Svelte 69.38%

jolt's Introduction

Jolt

In physics, jolt is the rate at which an object's acceleration changes with respect to time. It is a vector quantity (having both magnitude and direction). Jolt is most commonly denoted by the symbol j and expressed in m/s3 (SI units) or standard gravities per second (g0/s).

Custom Revolt client for desktop made in Tauri and SvelteKit.

Table of Contents

Installation

To install, follow the releases page and pick out the version you need.

Running and compiling the project

Prerequisites

To compile or launch Jolt in a development server on your own machine, you're going to need a node package manager (NPM, Yarn, PNPM, etc.), first run the following command to install NPM packages: pnpm install. Then edit src-tauri/tauri.conf.json's beforeDevCommand and beforeBuildCommand keys to adapt to your package manager of choice.

If you want to run the desktop app on a development server, you're also going to need to install cargo (preferrably using Rustup) then you need to install some packages, if you are using the Nix package manager, just run nix develop (recommended if you have the flakes experimental featuee enabled) or nix-shell shell.nix. If not, you can find the prerequisites in the shell.nix or flake.nix files in the Nix language syntax. Otherwise, the packages to install are in packages and libraries keys and a bit of setup to add to a shellrc (.bashrc, .zshrc, etc.) is in the shellHook key. You also need to install the tauri-cli tool through cargo with:

cargo install tauri-cli

Build Command

To build the desktop app (has to build the browser app with it; see below), execute this command:

cargo tauri build

Once it is finished, you will find the build files in src-tauri/target/bundle.

To build the browser app, execute this command:

pnpm run build # you can also adapt your favorite package manager

Development Server

If you want to test the application before building it or installing the application through GitHub Releases, you can run it in a development server. It will not have the best performance compared to the built executable.

Just run the following command:

cargo tauri dev

or if you want to run it in a browser:

pnpm run dev # you can also adapt your favorite package manager

Links

Contributing

To contribute, make sure you follow the CONTRIBUTING.md guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.