Skip to content

Commit ed95f99

Browse files
committed
✨ init
0 parents  commit ed95f99

10 files changed

Lines changed: 1297 additions & 0 deletions

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GH_TOKEN=""
2+
WAKATIME_API_KEY=""

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env
2+
node_modules

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License Copyright (c) 2020 Dev-CasperTheGhost
2+
3+
Permission is hereby granted,
4+
free of charge, to any person obtaining a copy of this software and associated
5+
documentation files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use, copy, modify, merge,
7+
publish, distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to the
9+
following conditions:
10+
11+
The above copyright notice and this permission notice
12+
(including the next paragraph) shall be included in all copies or substantial
13+
portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
18+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Update GitHub bio
2+
3+
Automatically updates your GitHub bio with your WakaTime stats every 15 minutes
4+
5+
## Installation
6+
7+
1. Clone the repo: `git clone https://github.com/Dev-CasperTheGhost/update-github-bio`
8+
2. Install the dependencies: `npm install`
9+
3. Copy and rename `.env.example` to `.env`
10+
4. Update your credentials in `.env`
11+
- GitHub token: <https://github.com/settings/tokens> make sure to select the `user` scope
12+
- WakaTime api key: <https://wakatime.com/settings/api-key>
13+
14+
## License
15+
16+
[MIT](./LICENSE)

env.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare namespace NodeJS {
2+
export interface ProcessEnv {
3+
GH_TOKEN?: string;
4+
WAKATIME_API_KEY?: string;
5+
}
6+
}

0 commit comments

Comments
 (0)