-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Counter based on Cloudflare Workers & KV | ||
|
||
## TL;DW ~~(Too Long, Don't write.)~~ | ||
|
||
1. bind KV as a variable "CounterSpace". | ||
2. use it follow down below. | ||
|
||
## How to use? | ||
|
||
just add these parameter | ||
|
||
- `?visitor` returns total visitor count. | ||
- `?hit` returns total hits count. | ||
- `?text=...(your encoded words)...` returns a replaced text (encode your words using `btoa(encodeURI("some s*ck words"))`). | ||
|
||
### about `?text=...(your encoded words)...` | ||
|
||
- `@CounterByKoto_Visitors` will replace to total VISITORS count. | ||
- `@CounterByKoto_Hits` will replace to total HITS count. | ||
- `@CounterByKoto_NameSpace` will replace to total NAMESPACE. |