0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

TOTPを過去未来分を任意の個数表示してみる。

Last updated at Posted at 2023-10-07

はじめに

TOTPって、今のやつしか表示されないじゃん?
未来の分や過去の分も表示できたら、なんかよくない?
何に使うかは置いといて、まぁよくない?

なぜこんな無駄なものを作った

Ratatui というTUIライブラリが有ったんですよ。

TUI=Linux のもの というイメージが先行していて使うことを敬遠していたんですが、Windowsのターミナルシェルでも使えるというのをコチコチいじってたら完全に理解(ダニングクルーガー効果)してしまったので、ドヤ顔で作ることにしてみた。
何を作ろうか?としたときに画面更新がないものを作っても面白くはないので
こういう、定期更新系のものを作ったら面白いのでは? と思って作ってみた。

成果物

app.gif

その後(追記)

TOTPの情報を書いてみたり、現在時刻を表示してみたりした。
image.png

おわりに

コードなくてすまんな!!!!!!!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?