-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c401c3
commit 0cf2227
Showing
1 changed file
with
87 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,90 @@ | ||
# Tauri + React + Typescript | ||
# Git Profile Switcher | ||
|
||
This template should help get you started developing with Tauri, React and Typescript in Vite. | ||
## Overview | ||
|
||
## Recommended IDE Setup | ||
Git Profile Switcher is a desktop application that allows users to easily switch between different GitHub profiles. This is particularly useful for developers who manage multiple GitHub accounts for different projects or organizations. | ||
|
||
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) | ||
## Features | ||
|
||
- **Profile Management**: Create, update, and delete GitHub profiles. | ||
- **Profile Switching**: Quickly switch between different GitHub profiles. | ||
- **Configuration Management**: View and edit the current Git configuration. | ||
- **Encryption**: Securely store profile information with encryption. | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
- [Node.js](https://nodejs.org/) | ||
- [Rust](https://www.rust-lang.org/) | ||
- [Tauri](https://tauri.app/) | ||
|
||
### Installation | ||
|
||
1. Clone the repository: | ||
|
||
```sh | ||
git clone https://github.com/Joel-Dandin/github-profile-selector.git | ||
cd git-profile-switcher | ||
``` | ||
|
||
2. Install dependencies: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
3. Build the Tauri application: | ||
|
||
```sh | ||
npm run tauri build | ||
``` | ||
|
||
### Running the Application | ||
|
||
To start the development server, run: | ||
|
||
```sh | ||
npm run tauri dev | ||
``` | ||
|
||
### Building the Application | ||
|
||
To build the application for production, run: | ||
|
||
```sh | ||
npm run build | ||
``` | ||
|
||
## Usage | ||
|
||
1. **Add a Profile**: Click on the "Add Profile" button and fill in the profile details. | ||
2. **Activate a Profile**: Click on the "Activate" button on a profile card to switch to that profile. | ||
3. **Edit a Profile**: Click on the "Edit" button on a profile card to update the profile details. | ||
4. **Delete a Profile**: Click on the "Delete" button on a profile card to remove the profile. | ||
5. **View Configuration**: The current Git configuration is displayed in the "Current Git Configuration" section. | ||
6. **Refresh Configuration**: Click on the "Refresh" button to reload the Git configuration. | ||
7. **Open in Editor**: Click on the "Open in Text Editor" button to open the Git configuration file in the default text editor. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See the LICENSE file for details. | ||
|
||
## Acknowledgements | ||
|
||
- [Tauri](https://tauri.app/) | ||
- [React](https://reactjs.org/) | ||
- [Zustand](https://github.com/pmndrs/zustand) | ||
- [Tailwind CSS](https://tailwindcss.com/) | ||
|
||
## Contact | ||
|
||
For any questions or suggestions, please contact. | ||
|
||
--- | ||
|
||
Happy coding! 🚀 |