added tauri
| 
						 | 
					@ -1,5 +1,9 @@
 | 
				
			||||||
/** @type {import('next').NextConfig} */
 | 
					/** @type {import('next').NextConfig} */
 | 
				
			||||||
const nextConfig = {
 | 
					const nextConfig = {
 | 
				
			||||||
 | 
					  images: {
 | 
				
			||||||
 | 
					    unoptimized: true,
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  output: "export",
 | 
				
			||||||
  reactStrictMode: true,
 | 
					  reactStrictMode: true,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,11 +14,12 @@
 | 
				
			||||||
    "next": "14.2.5"
 | 
					    "next": "14.2.5"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "typescript": "^5",
 | 
					    "@tauri-apps/cli": "^1.6.0",
 | 
				
			||||||
    "@types/node": "^20",
 | 
					    "@types/node": "^20",
 | 
				
			||||||
    "@types/react": "^18",
 | 
					    "@types/react": "^18",
 | 
				
			||||||
    "@types/react-dom": "^18",
 | 
					    "@types/react-dom": "^18",
 | 
				
			||||||
    "eslint": "^8",
 | 
					    "eslint": "^8",
 | 
				
			||||||
    "eslint-config-next": "14.2.5"
 | 
					    "eslint-config-next": "14.2.5",
 | 
				
			||||||
 | 
					    "typescript": "^5"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										3
									
								
								src-tauri/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					# Generated by Cargo
 | 
				
			||||||
 | 
					# will have compiled files and executables
 | 
				
			||||||
 | 
					/target/
 | 
				
			||||||
							
								
								
									
										3677
									
								
								src-tauri/Cargo.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										26
									
								
								src-tauri/Cargo.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
					@ -0,0 +1,26 @@
 | 
				
			||||||
 | 
					[package]
 | 
				
			||||||
 | 
					name = "app"
 | 
				
			||||||
 | 
					version = "0.1.0"
 | 
				
			||||||
 | 
					description = "A Tauri App"
 | 
				
			||||||
 | 
					authors = ["you"]
 | 
				
			||||||
 | 
					license = ""
 | 
				
			||||||
 | 
					repository = ""
 | 
				
			||||||
 | 
					default-run = "app"
 | 
				
			||||||
 | 
					edition = "2021"
 | 
				
			||||||
 | 
					rust-version = "1.60"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[build-dependencies]
 | 
				
			||||||
 | 
					tauri-build = { version = "1.5.3", features = [] }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[dependencies]
 | 
				
			||||||
 | 
					serde_json = "1.0"
 | 
				
			||||||
 | 
					serde = { version = "1.0", features = ["derive"] }
 | 
				
			||||||
 | 
					tauri = { version = "1.7.0", features = [] }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[features]
 | 
				
			||||||
 | 
					# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
 | 
				
			||||||
 | 
					# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
 | 
				
			||||||
 | 
					# DO NOT REMOVE!!
 | 
				
			||||||
 | 
					custom-protocol = [ "tauri/custom-protocol" ]
 | 
				
			||||||
							
								
								
									
										3
									
								
								src-tauri/build.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					fn main() {
 | 
				
			||||||
 | 
					  tauri_build::build()
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/128x128.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 11 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/128x128@2x.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 23 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/32x32.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 2.2 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square107x107Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 9 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square142x142Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 12 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square150x150Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 13 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square284x284Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 25 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square30x30Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 2 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square310x310Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 28 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square44x44Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 3.3 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square71x71Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 5.9 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/Square89x89Logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 7.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/StoreLogo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 3.9 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/icon.icns
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/icon.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 37 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src-tauri/icons/icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 49 KiB  | 
							
								
								
									
										8
									
								
								src-tauri/src/main.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Prevents additional console window on Windows in release, DO NOT REMOVE!!
 | 
				
			||||||
 | 
					#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					fn main() {
 | 
				
			||||||
 | 
					  tauri::Builder::default()
 | 
				
			||||||
 | 
					    .run(tauri::generate_context!())
 | 
				
			||||||
 | 
					    .expect("error while running tauri application");
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										66
									
								
								src-tauri/tauri.conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
					@ -0,0 +1,66 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "$schema": "../node_modules/@tauri-apps/cli/schema.json",
 | 
				
			||||||
 | 
					  "build": {
 | 
				
			||||||
 | 
					    "beforeBuildCommand": "npm run build",
 | 
				
			||||||
 | 
					    "beforeDevCommand": "npm run dev",
 | 
				
			||||||
 | 
					    "devPath": "http://localhost:3000",
 | 
				
			||||||
 | 
					    "distDir": "../out"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "package": {
 | 
				
			||||||
 | 
					    "productName": "stort",
 | 
				
			||||||
 | 
					    "version": "0.1.0"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "tauri": {
 | 
				
			||||||
 | 
					    "allowlist": {
 | 
				
			||||||
 | 
					      "all": false
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "bundle": {
 | 
				
			||||||
 | 
					      "active": true,
 | 
				
			||||||
 | 
					      "category": "DeveloperTool",
 | 
				
			||||||
 | 
					      "copyright": "",
 | 
				
			||||||
 | 
					      "deb": {
 | 
				
			||||||
 | 
					        "depends": []
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "externalBin": [],
 | 
				
			||||||
 | 
					      "icon": [
 | 
				
			||||||
 | 
					        "icons/32x32.png",
 | 
				
			||||||
 | 
					        "icons/128x128.png",
 | 
				
			||||||
 | 
					        "icons/128x128@2x.png",
 | 
				
			||||||
 | 
					        "icons/icon.icns",
 | 
				
			||||||
 | 
					        "icons/icon.ico"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "identifier": "com.vomitblood.stort",
 | 
				
			||||||
 | 
					      "longDescription": "",
 | 
				
			||||||
 | 
					      "macOS": {
 | 
				
			||||||
 | 
					        "entitlements": null,
 | 
				
			||||||
 | 
					        "exceptionDomain": "",
 | 
				
			||||||
 | 
					        "frameworks": [],
 | 
				
			||||||
 | 
					        "providerShortName": null,
 | 
				
			||||||
 | 
					        "signingIdentity": null
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      "resources": [],
 | 
				
			||||||
 | 
					      "shortDescription": "",
 | 
				
			||||||
 | 
					      "targets": "all",
 | 
				
			||||||
 | 
					      "windows": {
 | 
				
			||||||
 | 
					        "certificateThumbprint": null,
 | 
				
			||||||
 | 
					        "digestAlgorithm": "sha256",
 | 
				
			||||||
 | 
					        "timestampUrl": ""
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "security": {
 | 
				
			||||||
 | 
					      "csp": null
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "updater": {
 | 
				
			||||||
 | 
					      "active": false
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "windows": [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        "fullscreen": false,
 | 
				
			||||||
 | 
					        "height": 600,
 | 
				
			||||||
 | 
					        "resizable": true,
 | 
				
			||||||
 | 
					        "title": "Stort",
 | 
				
			||||||
 | 
					        "width": 800
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||