Skip to content

Simple web and CLI util to manage terminal profiles

Notifications You must be signed in to change notification settings

vrhovnik/profile-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Profile Manager

Simple web and CLI util to manage profiles for your terminal with effortless way to switch between them. The idea is to have a simple way to manage your terminal profiles and switch between them with ease. You configure/manage them via web portal, login with your organizational ID (OAuth 2.0) and then you can use CLI tool to get profiles, switch between them, backup them, etc.

Technology used

The solution use the following technology:

  • Bootstrap CSS for design
  • ASP.NET as a technology to provide UI and code to call the API's
  • HTMX for communication with backend
  • Azure Application Insights to get information about metrics / logs and to build interactive, rich dashboards
  • PowerShell support for Automating operations, scripting and deploying the environment

Minimal requirements

  1. an active Azure subscription - MSDN or trial or Azure Pass is fine - you can also do all of the work in Azure Shell (all tools installed) and by using Github Codespaces
  2. PowerShell installed - we do recommend an editor like Visual Studio Code to be able to write scripts, YAML pipelines and connect to repos to submit changes.
  3. [OPTIONAL] Azure CLI installed to work with Azure or Azure PowerShell module installed
  4. [OPTIONAL] Windows Terminal to be able to work with multiple terminal Windows with ease

If you will be working on your local machines, you will need to have:

  1. Powershell installed
  2. git installed - instructions step by step here
  3. .NET installed to run the application if you want to run it locally
  4. an editor (besides notepad) to see and work with code, scripts and more (for example Visual Studio Code or NeoVim)

Knowledge expected

This sample requires from you basic understanding of:

  1. Azure - learning path is available here
  2. Git to understand how to clone, fork, branch, merge, rebase, etc.
  3. scripting - either PowerShell or bash (if you will decide to go this path)

Additional information

You can read about different techniques and options here:

  1. What-The-Hack initiative
  2. GitHub and DevOps
  3. Azure Samples or use code browser
  4. Azure Architecture Center
  5. Application Architecture Guide
  6. Cloud Adoption Framework
  7. Well-Architected Framework
  8. Microsoft Learn

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.