An open API service indexing awesome lists of open source software.

https://github.com/coder-blue/svelte-calculator

A simple calculator app made with SvelteKit and Tauri.
https://github.com/coder-blue/svelte-calculator

rust svelte sveltekit tailwindcss tauri-app tauri-v2 vite

Last synced: 18 days ago
JSON representation

A simple calculator app made with SvelteKit and Tauri.

Awesome Lists containing this project

README

          

# What is this?

- This is my fun SvelteKit/Tauri calculator app, inspired by [Daniel Gorra's](https://www.youtube.com/@gorra1) video. Using skeleton template from:

```bash
bun create svelte@latest

#or
npm create svelte@latest
```

And

```bash
npm install -D @tauri-apps/cli@next

#or
bun add -D @tauri-apps/cli@next

#and
npx tauri init

#or
bunx tauri init
```

- Everything you need to know about a Svelte Project is this website [svelte.dev](https://svelte.dev/)
- And about the [Tauri](https://v2.tauri.app/)

## What does it have?

- A regular, plain looking calculator app.
- Svelte 5 Rune (Still in testing but it works so good on this project).
- TalwindCSS for styling the UI.
- Tauri V2 (Cross-platform/Memory Efficiency/Fast web app)
- Custom Titlebar/Tauri Windows Vibrancy to give the users the native window's feeling.

## Cautious

- No SSR, just plain SPA.

## Developing

- Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn` or `bun install`), start a development server for Svelte web app:

```bash
npm run dev

# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `src` folder and it's contents. The page auto-updates as you edit the file.

- Or you want to start a development server for Tauri app:

```bash
npm run tauri dev

# or
bun tauri dev
```

## Building

- To create a production version of your Svelte web app:

```bash
npm run build

#or
bun run build
```

- To create a production version of your Tauri app:

```bash
npm run tauri build

#or
bun run tauri build
```

## Donate

You can support financially with this QR code bank scanning, thank you very much <3:
![BIDV](https://github.com/Coder-Blue/argon-note/blob/main/donation/IMG_4049.jpg?raw=true)

## Support

- You can ask me if there is any problem:

Join my Discord server: https://discord.gg/5Nmwm24dWV

Other contact: [Personal Portfolio](https://noah-sh1ro.vercel.app)