项目作者: DanielRBowen

项目描述 :
A Blazor PWA which has Timers, Stopwatches, and Interval Timers.
高级语言: C#
项目地址: git://github.com/DanielRBowen/TimeMage.git
创建时间: 2020-06-08T19:26:25Z
项目社区:https://github.com/DanielRBowen/TimeMage

开源协议:

下载


TimeMage

A Blazor PWA which has Timers, a Stopwatch, and Interval Timers.

I made this to learn Blazor and make a multiple timer application and interval timer to do High-Intensity Interval Training (HIIT) workouts
without having to pay $5 for an interval timer app or see ads on a multiple timer app.

You will need .Net 6 installed for this project. And the latest Visual Studio 2022 Preview

This project uses Azure Cognitive Speech Services
which you can see a quick start here.

I stored the subscription key and region of the Azure Cognitive Speech Services as user-secrets.
I placed them in appsettings.json when publishing to Azure. Like this:

  1. "Speech": {
  2. "SubscriptionKey": "[Your Subscription Key]",
  3. "Region": "[Your Region]"
  4. },

Also, uses BlazorAudioPlayer
You will need to install node.js and then in a cli (ctrl + ` to open in Visual Studio) navigate to the BlazorAudioPlayer and to run “npm install” before running the TimeMage.Server as startup project.

This uses BlazorStrap for modals.

Uses NoSleep.js to make it so the display will not turn off when running an IntervalSet on a mobile device.

It uses DistributedCache for caching the audio blob on the server and Blazored.LocalStorage for caching on the client.

Preloaded IntervalSets are from ATHLEAN-X™

Demo