p-society / goals

An ambitious bucket list of things we want to achieve as a community.
MIT License
20 stars 1 forks source link

CLI for typeracer.com (https://github.com/p-society/typeracer-cli) #20

Closed knrt10 closed 6 years ago

knrt10 commented 6 years ago

I am going to work on 1st project for p-society a CLI tool for http://play.typeracer.com/ . I am open to any suggestion. Implementation for local support won't be anything new cause online site is already there. So please suggest any idea how would you like to see it work in command line.

TypeRacer
TypeRacer - the global typing competition
Race against live opponents typing quotes from books, movies, and songs.
palash25 commented 6 years ago

How will you make this work?

Will it be completely offline? The paragraphs could be saved in a DB and the users can enjoy this offline practice mode

Online: Does typeracer have an API that we can use?

I would recommend you to go with both online (competitions) and offline (practice) modes.

I am also willing to develop it with you it sounds cool and I love cli tools.

knrt10 commented 6 years ago

I am also willing to develop it with you it sounds cool and I love cli tools

Always happy to work with you mah mayne.

palash25 commented 6 years ago

Always leave a new line after a blockquote to separate the quoted text from your comment.

knrt10 commented 6 years ago

Offline would be easy to implement than online one. Database is not a problem, main issue is the implementation. As far as I am thinking this is what we should do for offline mode.

1.) User installs the tool and use out command for offline mode. 2.) We will generate random paragraphs for user to practice.

Now the tricky part is

1.) How to get keystrokes from user. Cause terminal has no input field. For web app its easy to get keystrokes of user.

If the above issue is solved then the offline implementation can be made.

cc @palash25 what's your thought?

knrt10 commented 6 years ago

As far as api is concerned we can make our own.

knrt10 commented 6 years ago

Work started here https://github.com/p-society/typeracer-cli

GitHub
p-society/typeracer-cli
typeracer-cli - Typing practice from your terminal and features like online competition.
palash25 commented 6 years ago

Since the MVP has been coded and implemented by @knrt10 we can close this now.