Skip to content

Commit 09375ef

Browse files
committed
doc updates
1 parent 7c94dcf commit 09375ef

9 files changed

+60
-42
lines changed

.github/CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ further defined and clarified by project maintainers.
6767
## Enforcement
6868

6969
Instances of abusive, harassing, or otherwise unacceptable behavior may be
70-
reported by contacting me directly at coloradocolby@gmail.com. All complaints
70+
reported by contacting me directly at thatvegandev@gmail.com. All complaints
7171
will be reviewed and investigated and will result in a response that is deemed
7272
necessary and appropriate to the circumstances. The project team is obligated
7373
to maintain confidentiality with regard to the reporter of an incident. Further

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ merge of your pull request!
2626
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
2727

2828
- [ ] `Allow edits from maintainers` option checked
29-
- [ ] Branch name is prefixed with `[your_username]/` (ex. `coloradocolby/featureX`)
29+
- [ ] Branch name is prefixed with `[your_username]/` (ex. `thatvegandev/featureX`)
3030
- [ ] Documentation added
3131
- [ ] Tests added
3232
- [ ] No failing actions

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: meta
2222
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
2323
with:
24-
images: coloradocolby/thokr
24+
images: thatvegandev/thokr
2525

2626
- name: build and push docker image
2727
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "thokr"
3-
description = "a sleek typing tui written in rust"
4-
version = "0.4.0"
3+
description = "sleek typing tui with visualized results and historical logging"
4+
version = "0.4.1"
55
readme = "README.md"
6-
repository = "https://github.com/coloradocolby/thokr.git"
7-
homepage = "https://github.com/coloradocolby/thokr"
6+
repository = "https://github.com/thatvegandev/thokr.git"
7+
homepage = "https://github.com/thatvegandev/thokr"
88
license = "MIT"
9-
authors = ["Colby Thomas <coloradocolby@gmail.com>"]
9+
authors = ["Colby Thomas <thatvegandev@gmail.com>"]
1010
edition = "2021"
11-
exclude = ["assets/*", ".github", "*.log", "Dockerfile"]
11+
exclude = [".github", "*.log", "Dockerfile"]
1212
keywords = ["tui", "terminal", "typing"]
1313

1414
[dependencies]

README.md

+48-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,50 @@
11
# thokr
2-
✨ sleek typing tui written in rust
2+
✨ sleek typing tui with visualized results and historical logging
33

4-
[![GitHub Build Workflow](https://github.com/coloradocolby/thokr/actions/workflows/build.yml/badge.svg)](https://github.com/coloradocolby/thokr/actions/workflows/build.yml)
5-
[![GitHub Deploy Workflow](https://github.com/coloradocolby/thokr/actions/workflows/deploy.yml/badge.svg)](https://github.com/coloradocolby/thokr/actions/workflows/deploy.yml)
4+
[![GitHub Build Workflow](https://github.com/thatvegandev/thokr/actions/workflows/build.yml/badge.svg)](https://github.com/thatvegandev/thokr/actions/workflows/build.yml)
5+
[![GitHub Deploy Workflow](https://github.com/thatvegandev/thokr/actions/workflows/deploy.yml/badge.svg)](https://github.com/thatvegandev/thokr/actions/workflows/deploy.yml)
66
[![License](https://img.shields.io/badge/License-MIT-default.svg)](./LICENSE.md)
77
[![Crate Version](https://img.shields.io/crates/v/thokr)](https://crates.io/crates/thokr)
8-
[![Github Stars](https://img.shields.io/github/stars/coloradocolby/thokr)](https://github.com/coloradocolby/thokr/stargazers)
8+
[![Github Stars](https://img.shields.io/github/stars/thatvegandev/thokr)](https://github.com/thatvegandev/thokr/stargazers)
9+
10+
![demo](https://github.com/thatvegandev/assets/raw/main/thokr/demo.gif)
11+
12+
## Usage
13+
14+
For detailed usage run `thokr -h`.
15+
16+
```
17+
thokr 0.4.1
18+
sleek typing tui with visualized results and historical logging
19+
20+
USAGE:
21+
thokr [OPTIONS]
22+
23+
OPTIONS:
24+
-f, --full-sentences <NUMBER_OF_SENTENCES>
25+
number of sentences to use in test
26+
27+
-h, --help
28+
Print help information
29+
30+
-l, --supported-language <SUPPORTED_LANGUAGE>
31+
language to pull words from [default: english] [possible values: english, english1k,
32+
english10k]
33+
34+
-p, --prompt <PROMPT>
35+
custom prompt to use
36+
37+
-s, --number-of-secs <NUMBER_OF_SECS>
38+
number of seconds to run test
39+
40+
-V, --version
41+
Print version information
42+
43+
-w, --number-of-words <NUMBER_OF_WORDS>
44+
number of words to use in test [default: 15]
45+
46+
```
947

10-
![demo](./assets/demo.gif)
1148

1249
## Installation
1350

@@ -20,7 +57,7 @@ $ cargo install thokr
2057
### Docker
2158

2259
```sh
23-
$ docker run -it coloradocolby/thokr
60+
$ docker run -it thatvegandev/thokr
2461
```
2562

2663
### Arch Linux
@@ -95,7 +132,7 @@ can easily track your progress over time.
95132
All contributions are **greatly appreciated**.
96133

97134
If you have a suggestion that would make thokr better, please fork the repo and
98-
create a [pull request](https://github.com/coloradocolby/thokr/pulls). You can
135+
create a [pull request](https://github.com/thatvegandev/thokr/pulls). You can
99136
also simply open an issue and select `Feature Request`
100137

101138
1. Fork the repo
@@ -105,7 +142,7 @@ also simply open an issue and select `Feature Request`
105142
5. Push to your branch (`git push origin [your_username]/xyz`)
106143
6. Fill out pull request template
107144

108-
See the [open issues](https://github.com/coloradocolby/thokr/issues) for a full
145+
See the [open issues](https://github.com/thatvegandev/thokr/issues) for a full
109146
list of proposed features (and known issues).
110147

111148
## License
@@ -123,8 +160,6 @@ Check out these amazing projects that inspired thokr!
123160

124161
## Follow
125162

126-
[![github](https://img.shields.io/github/followers/coloradocolby?style=social)](https://github.com/coloradocolby)
127-
128-
[![twitter](https://img.shields.io/twitter/follow/coloradocolby?color=white&style=social)](https://twitter.com/coloradocolby)
129-
130-
[![youtube](https://img.shields.io/youtube/channel/subscribers/UCEDfokz6igeN4bX7Whq49-g?style=social)](https://youtube.com/user/coloradocolby)
163+
[![github](https://img.shields.io/github/followers/thatvegandev?style=social)](https://github.com/thatvegandev)
164+
[![twitter](https://img.shields.io/twitter/follow/thatvegandev?color=white&style=social)](https://twitter.com/thatvegandev)
165+
[![youtube](https://img.shields.io/youtube/channel/subscribers/UCEDfokz6igeN4bX7Whq49-g?style=social)](https://youtube.com/user/thatvegandev)

assets/demo.gif

-1.4 MB
Binary file not shown.

assets/thokr.svg

-17
This file was deleted.

src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use webbrowser::Browser;
2626

2727
const TICK_RATE_MS: u64 = 100;
2828

29-
/// a sleek typing tui written in rust
29+
/// sleek typing tui with visualized results and historical logging
3030
#[derive(Parser, Debug, Clone)]
3131
#[clap(version, about, long_about= None)]
3232
pub struct Cli {
@@ -231,7 +231,7 @@ fn start_tui<B: Backend>(
231231
true => match key.code {
232232
KeyCode::Char('t') => {
233233
if Browser::is_available() {
234-
webbrowser::open(&format!("https://twitter.com/intent/tweet?text={}%20wpm%20%2F%20{}%25%20acc%20%2F%20{:.2}%20sd%0A%0Ahttps%3A%2F%2Fgithub.com%2Fcoloradocolby%2Fthokr", app.thok.wpm, app.thok.accuracy, app.thok.std_dev))
234+
webbrowser::open(&format!("https://twitter.com/intent/tweet?text={}%20wpm%20%2F%20{}%25%20acc%20%2F%20{:.2}%20sd%0A%0Ahttps%3A%2F%2Fgithub.com%thatvegandev%2Fthokr", app.thok.wpm, app.thok.accuracy, app.thok.std_dev))
235235
.unwrap_or_default();
236236
}
237237
}

0 commit comments

Comments
 (0)