Giter Site home page Giter Site logo

t04glovern / aws-credential-manager Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 588 KB

GUI App for managing AWS Credentials - more useful as a demo of developing Tauri in a Devcontainer.

Dockerfile 3.36% HTML 1.44% Rust 49.26% CSS 0.23% TypeScript 30.59% JavaScript 2.09% Python 11.78% Shell 1.24%

aws-credential-manager's Introduction

aws-credential-manager

A demo Tauri + React + Typescript app!

Demo

Recommended IDE Setup

Generate Icons

# Install dependencies
pip3 install pillow==10.2.0 icnsutil==1.1.0

# Ensure you have a high resolution icon.png
./iconize.py --icon src-tauri/icons/icon.png --output src-tauri/icons

Generate Signing Key

npm run tauri signer generate -- -w aws-credential-manager.key

Add the contents of ~/.tauri/aws-credential-manager.key.pub to your tauri.conf.json:

...
  "updater": {
    "active": true,
    "endpoints": [
      "https://github.com/t04glovern/aws-credential-manager/releases/latest/download/latest.json"
    ],
    "dialog": true,
    "pubkey": "<YOUR_PUBLIC_KEY>"
  },
...

IMPORTANT: Add the contents of aws-credential-manager.key a ENV variable in GitHub Secrets called TAURI_PRIVATE_KEY.

Tests

cargo install cargo-tarpaulin
cd src-tauri

# Tests
cargo test

# Test with Coverage
cargo tarpaulin --out Xml

Development

NOTE: It is highly recommend, and more or less required for you to run wslg X Server on Windows: https://github.com/microsoft/wslg. This repository is setup to use export DISPLAY=:0 so that you can view the app when working in a devcontainer.

Press F5 to start the app in development mode.

Alternatively, run the following commands:

npm run tauri dev

If you want to develop the React app separately, run the following commands:

npm run dev
# open http://localhost:1420/

Build

# Load in TAURI_PRIVATE_KEY for signing
source env.sh

# Build the app
npm run tauri build

aws-credential-manager's People

Contributors

t04glovern avatar

Stargazers

Brian avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.