DEV Community

Mithil Poojary
Mithil Poojary

Posted on

8 4

Mitype ⌨️ - Typing Speed Test Right In Your Terminal

Who doesn't like to type fast? I made mitype with an intention to test typing speed and hence improve it at the ease of one command.

Feel free to contribute 💚

GitHub logo Mithil467 / mitype

Typing speed test in terminal

⌨ Mitype ⌨

Typing Speed Test in Terminal


Mitype is a program to test (and hence improve) your typing speed right from the ease of your terminal.

Written completely in python with no external dependencies!

✨ Main Features

  • 🖥️ Cross-platform
  • 🎦 See your replay
  • 📝 Choose custom text input
  • 🅰️ 6000 text samples
  • 🌈 Colored texts

🔧 Install

Mitype can be easily installed by:

pip install mitype
Enter fullscreen mode Exit fullscreen mode

📈 Usage

Once installed, you can run it simply as:

mitype

You can also customize each run by specifying the following options as:

  • -f FILENAME, --file FILENAME Uses contents of file as sample text.
  • -d N, --difficulty N N can be in range [1, 5] with 1 being the easiest. This decides the length of the text.
  • -i ID, --id ID ID can be in range [1, 6000].

You can quit mitype anytime by pressing the ESC key or CTRL-C.

You can…

Features-

  • Supports several languages like English and German
  • Choose your own text files
  • Or randomly pick up a sample from 6000 entries
  • View results and replay after every test
  • Choose difficulty level
  • Has cross-platform support
  • Works with both python 2 and python 3
  • Uses in-built python modules only
  • Available on pypi allowing easy install
  • Colored highlights
  • Runs on web, although the latency is kinda high

How to get it?

pip install mitype

How to run it?

Choose random text:
mitype
To choose a sample file:
mitype -f <your_file>
Choose a difficulty level:
mitype -d <N>
Choose a text ID:
mitype -i <ID>

Built with

  • Python and all its inbuilt modules
  • Curses library - Easily capture keystrokes
  • Sqlite3 - Database for storing text
  • Text provided by typeracerdata.com

Mitype is open to feedback, contributions and new ideas 💡
🌟 Star the repo on GitHub!

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay