Skip to content

Commit

Permalink
push to version 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Bamboooz committed Jul 27, 2024
1 parent 52d29cf commit 1194c6a
Show file tree
Hide file tree
Showing 136 changed files with 3,985 additions and 4,710 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

/src-tauri/target
node_modules
dist
dist-ssr
Expand All @@ -22,5 +23,3 @@ dist-ssr
*.njsproj
*.sln
*.sw?

/v0.0.6
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
}
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2024, Bamboooz
Copyright (c) 2024-Present, Bamboooz
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,36 @@ magnetar is a free, open-source, Windows toolbox that allows you to reduce the t

## Download

To download magnetar you can use 2 ways:
1. Visit [magnetar website](https://bamboooz.github.io/magnetar)
2. Download the installer from [GitHub releases](https://github.com/Bamboooz/magnetar/releases/latest)

## Documentation

Don't know how to use a certain module? Don't worry, and visit [magnetar wiki](https://bamboooz.github.io/magnetar/wiki). It contains tutorials for all built-in modules which will teach you how to use them.
1. Download the installer from [GitHub releases](https://github.com/Bamboooz/magnetar/releases/latest)

## Building from source

To build magnetar from source you need to do the following steps:

1. Clone magentar repository from GitHub using this command

```bash
git clone https://github.com/Bamboooz/magnetar.git
```

or download the source code from this [url](https://github.com/Bamboooz/magnetar/releases/latest)

2. Install the following prerequisites:
- [node.js](https://nodejs.org/en/download/prebuilt-installer)
- [pnpm](https://pnpm.io/installation#using-npm)
- [Rust compiler](https://www.rust-lang.org/tools/install)

- [node.js](https://nodejs.org/en/download/prebuilt-installer)
- [pnpm](https://pnpm.io/installation#using-npm)
- [Rust compiler](https://www.rust-lang.org/tools/install)

3. Open the cloned/downloaded directory in a terminal and execute the following command

```bash
pnpm i
```

4. Now you are ready to run the app using this command

```bash
pnpm run tauri dev
pnpm start
```

## Support me
Expand Down
7 changes: 0 additions & 7 deletions TODO.md

This file was deleted.

22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>magnetar</title>
</head>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/src-tauri/icons/icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>magnetar</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
68 changes: 32 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
{
"name": "magnetar",
"private": true,
"version": "0.0.5",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri"
},
"dependencies": {
"@reduxjs/toolkit": "^2.2.5",
"@tauri-apps/api": "^1.4.0",
"autoprefixer": "^10.4.14",
"clsx": "^1.2.1",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"postcss": "^8.4.25",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-redux": "^9.1.2",
"sort-by": "^1.2.0",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.3.2"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"@tauri-apps/cli": "^1.4.0",
"@types/node": "^18.16.19",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "^4.9.5",
"vite": "^4.4.3"
}
"name": "magnetar",
"private": true,
"version": "0.0.5",
"type": "module",
"scripts": {
"pretty": "pnpm exec prettier . --write",
"start": "pnpm run pretty && pnpm run tauri dev",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": "^1",
"clsx": "^2.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.2.1",
"tailwind-merge": "^2.4.0"
},
"devDependencies": {
"@tauri-apps/cli": "^1",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.39",
"prettier": "3.3.3",
"tailwindcss": "^3.4.6",
"typescript": "^5.2.2",
"vite": "^5.3.1"
}
}
1 change: 1 addition & 0 deletions plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ These are default magnetar plugins, which you are free to use.
## Current plugins

### helpful_commands<br/>

> Some commands that I personally use from my app, and some people might find them useful.
184 changes: 92 additions & 92 deletions plugins/helpful_commands/commands.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
{
"Recycle bin": [
{
"title": "Open recycle bin folder",
"command": "explorer.exe C:\\$Recycle.Bin",
"admin": false
},
{
"title": "Clear recycle bin",
"command": "start cmd /k del /q /f /s C:\\$Recycle.Bin",
"admin": false
}
],
"Bluetooth": [
{
"title": "Turn bluetooth on",
"command": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File bluetooth.ps1 -BluetoothStatus On",
"admin": false
},
{
"title": "Turn bluetooth off",
"command": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File bluetooth.ps1 -BluetoothStatus Off",
"admin": false
}
],
"Scans": [
{
"title": "Perform a system integrity scan",
"command": "start cmd /k sfc /scannow",
"admin": true
},
{
"title": "Scan your drive in search of bad sectors",
"command": "start cmd /k CHKDSK /F /R /X",
"admin": true
}
],
"Cleanup": [
{
"title": "Delete application temp files",
"command": "start cmd /k del /q /f /s %TEMP%\\",
"admin": false
},
{
"title": "Delete windows temp files",
"command": "start cmd /k del /q /s /q C:\\Windows\\Temp\\",
"admin": false
},
{
"title": "Performs many cleanups, scans etc.",
"command": "start cleaup.cmd",
"admin": true
}
],
"Information": [
{
"title": "View your system information",
"command": "start cmd /k systeminfo",
"admin": false
},
{
"title": "View your system information from dxdiag",
"command": "start cmd /k dxdiag",
"admin": false
}
],
"Power": [
{
"title": "Shutdown your PC",
"command": "shutdown /s /t 0",
"admin": false
},
{
"title": "Reboot your PC",
"command": "shutdown /r /t 0",
"admin": false
},
{
"title": "Sleep",
"command": "rundll32.exe powrprof.dll,SetSuspendState 0,1,0",
"admin": false
},
{
"title": "Reboot into recovery options",
"command": "shutdown /r /o /f /t 00",
"admin": true
},
{
"title": "Reboot in safe mode",
"command": "bcdedit /set {current} safeboot minimal && shutdown /r /f /t 00",
"admin": true
}
]
"Recycle bin": [
{
"label": "Open recycle bin folder",
"command": "start C:\\$Recycle.Bin",
"admin": false
},
{
"label": "Clear recycle bin",
"command": "start cmd /k del /q /f /s C:\\$Recycle.Bin",
"admin": false
}
],
"Bluetooth": [
{
"label": "Turn bluetooth on",
"command": "cd %appdata%/magnetar && powershell.exe -NoProfile -ExecutionPolicy Bypass -File bluetooth.ps1 -BluetoothStatus On",
"admin": false
},
{
"label": "Turn bluetooth off",
"command": "cd %appdata%/magnetar && powershell.exe -NoProfile -ExecutionPolicy Bypass -File bluetooth.ps1 -BluetoothStatus Off",
"admin": false
}
],
"Scans": [
{
"label": "Perform a system integrity scan",
"command": "start cmd /k sfc /scannow",
"admin": true
},
{
"label": "Scan your drive in search of bad sectors",
"command": "start cmd /k CHKDSK /F /R /X",
"admin": true
}
],
"Cleanup": [
{
"label": "Delete application temp files",
"command": "start cmd /k del /q /f /s %TEMP%\\",
"admin": false
},
{
"label": "Delete windows temp files",
"command": "start cmd /k del /q /s /q C:\\Windows\\Temp\\",
"admin": false
},
{
"label": "Performs many cleanups, scans etc.",
"command": "cd %appdata%/magnetar && start cleaup.cmd",
"admin": true
}
],
"Information": [
{
"label": "View your system information",
"command": "start cmd /k systeminfo",
"admin": false
},
{
"label": "View your system information from dxdiag",
"command": "start cmd /k dxdiag",
"admin": false
}
],
"Power": [
{
"label": "Shutdown your PC",
"command": "shutdown /s /t 0",
"admin": false
},
{
"label": "Reboot your PC",
"command": "shutdown /r /t 0",
"admin": false
},
{
"label": "Sleep",
"command": "rundll32.exe powrprof.dll,SetSuspendState 0,1,0",
"admin": false
},
{
"label": "Reboot into recovery options",
"command": "shutdown /r /o /f /t 00",
"admin": true
},
{
"label": "Reboot in safe mode",
"command": "bcdedit /set {current} safeboot minimal && shutdown /r /f /t 00",
"admin": true
}
]
}
Loading

0 comments on commit 1194c6a

Please sign in to comment.