Browse Source

Use vanity url for module path

master
Jan-Lukas Else 1 year ago
parent
commit
95952aae6b
  1. 2
      .gitignore
  2. 4
      README.md
  3. 1
      _config.yml
  4. 0
      docs/CNAME
  5. 3
      docs/index.html
  6. 5
      docs/kis3/index.html
  7. 2
      go.mod
  8. 2
      stats.go

2
.gitignore

@ -1,4 +1,4 @@
.idea/
data/
config.json
kis3
/kis3

4
README.md

@ -18,10 +18,10 @@ You should also mount a configuration file to `/app/config.json`.
### Build from source
It's also possible to use KISSS without Docker, but for that you need to compile it yourself. All you need to do so is installing go (follow the [instruction](https://golang.org/doc/install) or use [distro.tools](https://distro.tools) to install the latest version on Linux - you need at least version 1.12) and execute the following command:
It's also possible to use KISSS without Docker, but for that you need to compile it yourself. All you need to do so is installing go (follow the [instruction](https://golang.org/doc/install) or use [distro.tools](https://distro.tools) to install the latest version on Linux - you need at least version 1.14) and execute the following command:
```bash
go get -u github.com/kis3/kis3
go get -u kis3.dev/kis3
```
After that there should be an executable with the name `kis3` in `$HOME/go/bin`.

1
_config.yml

@ -1 +0,0 @@
theme: jekyll-theme-cayman

0
CNAME → docs/CNAME

3
docs/index.html

@ -0,0 +1,3 @@
<html>
<title>Keep It Simple Stupid Stats (KISSS)</title>
<meta http-equiv="refresh" content="0; url=https://github.com/kis3/kis3" />

5
docs/kis3/index.html

@ -0,0 +1,5 @@
<html>
<title>Keep It Simple Stupid Stats (KISSS)</title>
<meta name="go-import" content="kis3.dev/kis3 git https://github.com/kis3/kis3">
<meta name="go-source" content="kis3.dev/kis3 https://github.com/kis3/kis3 https://github.com/kis3/kis3/tree/master{/dir} https://github.com/kis3/kis3/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://github.com/kis3/kis3" />

2
go.mod

@ -1,4 +1,4 @@
module github.com/kis3/kis3
module kis3.dev/kis3
go 1.14

2
stats.go

@ -10,7 +10,7 @@ import (
"strings"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/kis3/kis3/helpers"
"kis3.dev/kis3/helpers"
"github.com/whiteshtef/clockwork"
)

Loading…
Cancel
Save