Awesome
Typeinc
Typeinc (pronounced type-inc
), a python & ncurses based tool, is your goto terminal tool to play around with your typing speed with various difficulty levels.
You get an amazing UI for typing keyboard giving you a feel of both typewriters and keyboards. Both humans and robots can get their typing speed, don't worry robots won't break the limits set here.
<br>
Typeinc has nothing to with C, although pronounced so. It's like type-i-nc
meaning type-type, I-user(you), nc-ncurses, OR maybe type-inc
(Typing Incorporation), honestly I donno. Make out whatever you want bruh!
Previews/Screenshots
https://github.com/AnirudhG07/Typeinc/assets/146579014/f7684d4e-1844-4f6a-ad66-3549dfd2043f
Features
Tyepinc provide some a next level typing test experience sitting on your terminal.
1. UI
This terminal software provides a user-friendly UI with easy interactions, unless the user purposefully messes with things.<br> It provides a really cool UI with a monitor and a KEYBOARD which gets typed when you type. (Not all keys are functional, try avoiding pressing useless buttons).
2. Difficulty levels
Typeinc has the widest range of difficulty level. You can actually put any number between -infinity to +infinity (keeping in mind computer limitations). Although they are categorized so any difficulty level more than 1000 will be based on LUCK, you may get an easy level 1000 + typing test, or really nasty cause it's absolutely random.<br> Give your best shot with the difficulty levels and have fun typing!<br>
Here is a detailed summary of the Difficulty level division.
- Level <= 0 : Super Easy (Regular) (SE)
- 0 < Level <= 2 : Easy (E)
- 2 < Level <= 4 : Normal (N)
- 4 < Level <= 6 : Hard (H)
- 6 < Level <= 9 : Super Hard (SH)
- 9 < Level <= 10 : Insane (I)
- 10 < Level < 20 : Super Insane (SI)
- 20 <= Level < 50: BRUH (X)
- 50 <= Level < 100: SUPER BRUHH (X2)
- 100 <= Level < 500: DAMNN BRUHHH!! (XX)
- 500 <= Level < 1000: U ROCK BRUHHH! (XX2)
- 1000 <= Level: GOD BRUH!!! (SXX)
All the difficulties levels are set by me, including the names. This test is a total 'BRUHHH'!<br> For example- <br> <img width="940" alt="higher_diff_txt-img" src="https://github.com/AnirudhG07/Typeinc/assets/146579014/72be858b-554a-44ce-830f-f12931233850">
This is an example of 50 word test-text at difficulty level = 20. (It may differ for you).
Note: If you want to have the regular typing test, please enter without mentioning any difficulty level since Default Difficulty is set to 0.
3. Grading and Typeinc score
The grading system differs for each difficulty level chosen and so is your score. The higher the difficulty level, more the score you will obtain.<br> Refer this tool to your friends, family and colleagues and compete with them!<br>
Please refer to <a href="https://github.com/AnirudhG07/Typeinc/blob/main/docs/standards_grading.md"> Typeinc standards & grades </a> for more information regarding the grading and typeinc score.
4. Highscore Display
Save your result with your name for each test you take. You can also see the top 10 for each respective difficulty level by running the command - (Note: difficulty level is code for each difficulty level, like 'E', 'X2', etc.)
typeinc -r <difficulty-level>
The topper is the one with higher Typeinc Score
.<br>
Only 100 scores are saved in database which are ordered in desceding order w.r.t Typeinc score. Any score which is lesser than least of them, will not be saved. Try to beat that score to be able to save it, but this will push out the one who went to position 101, which will be deleted.
How to Install
This is a cross-platform tool so it can be downloaded in your MacOS, Linux, Windows, etc.<br> Follow the below guidelines to download the software.
~> PIP Installation
- You can install this package from PyPi by running the following command0
pip install typeinc
- Now you are good to go! Play by simply running typeinc by-
typeinc # to play
typeinc -h # to see help message
~> Homebrew Installation
This tool can also be installed using Homebrew(for MacOS only). You can install it by tapping my homebrew-tap repo and installing the tool.
brew tap anirudhg07/anirudhg07
brew install typeinc
You can now run the tool by running typeinc -h
in your terminal. If you are facing issues, try running-
brew install anirudhg07/anirudhg07/typeinc # After tapping the repo
Make sure you have Homebrew installed in your MacOS and it is updated which can be done by running brew update
.
~> Manual Installation
To install this tool manually, you can git clone
this repository in your directory and install i.e. run the below commands-
git clone https://github.com/AnirudhG07/Typeinc.git
cd Typeinc
pip install .
Now you should be able to run the tool using typeinc
in your terminal. Feel free to raise an issue if you face with any errors.
Typeinc-mini
This is made for those who do not have a big enough screen and see the message - <br>
...If still the issue persists, too bad.
<br>
Typeinc-mini, is a miniature version of Typeinc. Same features but less UI (you don't get the Typeinc-keyboard :<).
Check it out at: https://github.com/AnirudhG07/Typeinc-mini
We provide 2 solutions for screen-issues-
- Try Typeinc-mini
- Try decreasing font size/increasing number of lines in terminal or similar
- Get a bigger screen bruh... (not much of a solution)
I hope you can enjoy Typeinc as much as you can irrespective of your screen size!
Dependencies
This tool doesn't require a lot of dependencies but you need some basic requirements like
- python version >= 3.11
- curses library of python (Note: It will be automatically installed if you use the Pip Installation process)
- For Windows, windows-curses and setuptools are needed.
If you have any doubts/facing any issue, feel free to raise an issue.
Documentation
Check out the <a href ="https://github.com/AnirudhG07/Typeinc/tree/main/docs"> docs </a> in the repository for information regarding how to use, grading system, general queries, etc. Check out the help message in your terminal to check out the usage too ny running typeinc -h
.
Tldr
Thanks to maintainers at tldr/tldr-pages
, we have English and Spanish tldr for typeinc (View PR #1).
<br>
$ tldr typeinc
Contribution
It would be great to have contributions from anyone. To make Typeinc more loved among everyone and make it better, feel free to raise an issue, discuss and make a PR.
Contribution Guidelines
- If you would like to raise any grading system based issues, please have a valid point using some mathematical figures to support your statements.
Statements like
This is unfair
,I don't like it
, etc. will not be attended to. - If you feel like adding a feature or fixing bug, please put up an issue before adding a PR. <br> You can always post your highest score and grade with wpm, accuracy and difficulty level chosen. I would love to make a global top list and add you there, if you are worthy!
Note regarding Grading system
- All the grading, difficulty level, typeinc score is devised by AnirudhG07(me). It has not been taken from anywhere and all the numbers set has been made from a fair system and intuition.
- I honestly would give more score to a person trying higher difficulty level cause they won't achieve a good wpm, unlike regular level where even 140-150 is possible.
- In no way I am also trying to equate the best possible (wpm, accuracy) of Regular Difficulty level to least possible (wpm, accuracy) of the most Difficult level. <br> Thanks!