https://github.com/changkun/urlstat
📈 URL access statistic service
https://github.com/changkun/urlstat
go golang pv-systems url-stats
Last synced: about 1 year ago
JSON representation
📈 URL access statistic service
- Host: GitHub
- URL: https://github.com/changkun/urlstat
- Owner: changkun
- License: mit
- Created: 2021-02-04T07:08:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T18:03:58.000Z (over 1 year ago)
- Last Synced: 2024-11-07T03:41:33.669Z (over 1 year ago)
- Topics: go, golang, pv-systems, url-stats
- Language: Go
- Homepage: https://changkun.de/s/urlstat
- Size: 1.8 MB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# urlstat
`urlstat` provides basic facility for pv/uv statistic cross websites.
It is designed for [blog.changkun.de](https://blog.changkun.de),
[golang.design/research](https://golang.design/research) and etc.
## Usage
### Plain Mode
Add the following script to a page:
```html
```
The script will look for elements with ID `urlstat-site-pv`, `urlstat-site-uv`, `urlstat-page-pv`, and `urlstat-page-uv` and manipulate the information
if the retrieve succeed. For instance:
```html
```
An example, see https://golang.design/research/zero-alloc-call-sched/

### GitHub Mode
Use query parameter: `mode=github` and `repo=username/reponame`. For instance:
```

```

## License
MIT © 2021 [Changkun Ou](https://changkun.de)