• Stars
    star
    140
  • Rank 261,473 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The unofficial get api of GitHub contributions with Deno ๐Ÿฆ•

deno-github-contributions-api

ci deno deploy deno.land vr scripts LICENSE

Get your GitHub contributions data powered by Deno!

gif

Usage

as API

In your terminal:

$ curl https://github-contributions-api.deno.dev
# Then follow the messages...

Of course, you can access the endpoint from the web browser: https://github-contributions-api.deno.dev

as deno module

In your deno script file:

import { getContributions } from "https://github.com/kawarimidoll/deno-github-contributions-api/raw/main/mod.ts";

const username = "your-github-username";
const token = "xxxxxxxxxxxxxxxxxxxxxxx";

const contributions = await getContributions(username, token);

console.log(contributions.toTerm({ scheme: "random" }));

You can see an example in main.ts

The personal access token which has a "read:user" scope is required.

Generate your token from this page: https://github.com/settings/tokens/new

Extra

If you are using GitHub CLI, you can call this API from gh-graph.

Acknowledgements tweet

if (this.repo.isAwesome || this.repo.isHelpful) {
  star(this.repo);
}

More Repositories

1

gh-graph

GitHub contribution graph in your terminal
Shell
98
star
2

typograssy

Typography like GitHub-grass
TypeScript
61
star
3

bluestream

RSS feed generator for Bluesky.
TypeScript
35
star
4

gh-q

A gh extension to clone GitHub repositories using fzf and ghq.
Shell
33
star
5

deno-diplodocus

๐Ÿฆ• Deno Deploy Docs ๐Ÿ““
TypeScript
25
star
6

pax.deno.dev

Access the modules on GitHub via Deno Deploy๐Ÿฆ•
TypeScript
22
star
7

deno-dex

๐Ÿฆ• A dexterous deno executor
TypeScript
20
star
8

deno-dev-template

My deno dev template with sample scripts, tests, tasks (including git hooks) and workflows.
TypeScript
20
star
9

vuepress-plugin-tailwind

A VuePress plugin to use `tailwindcss` easily.
Shell
15
star
10

denote

A minimal profile page generator for Deno Deploy
TypeScript
14
star
11

deno-markup-tag

Render markup tag easily
TypeScript
8
star
12

dotfiles

personal configuration files
Vim Script
8
star
13

deno-cli-tools

cli practice powered by deno ๐Ÿฆ•
TypeScript
7
star
14

blueswan

Chrome extension for Bluesky. sky without annoying numbers.
CSS
6
star
15

deno-twemoji-convert

Convert emoji to twemoji by Deno๐Ÿฆ•
TypeScript
6
star
16

deno-tl-log

Time-Level-Log for Deno๐Ÿฆ•
TypeScript
5
star
17

kawarimidoll

whoami
TypeScript
3
star
18

deno-zenn-api

The unofficial get api of zenn.dev with Deno
TypeScript
3
star
19

magic.vim

Change the very-magic flag in search query
Vim Script
3
star
20

gh-gh

โ™พ๏ธ `gh`
Shell
3
star
21

mru_cache.lua

A small MRU (most resent used) / MRW (most resent written) cache system for Neovim
Lua
2
star
22

deno-textdb

Use Textdb from Deno
TypeScript
2
star
23

bluespy

Reveal links in Bluesky.
JavaScript
2
star
24

deno-nano-practice

playground for deno x nanojsx
TypeScript
2
star
25

deno-dev-playground

my personal playground ๐Ÿฆ•
TypeScript
2
star
26

tiny_segmenter.vim

TinySegmenter in Vim script
Vim Script
2
star
27

yarn-template

Template repository to create yarn project
Shell
2
star
28

deno-join-by

Joins an array of items into a string, using a separator function.
TypeScript
2
star
29

vim-overlay

Nix flake to install Vim head
Nix
2
star
30

ios-shortcuts

Powered by shortcuts-js
JavaScript
1
star
31

flutter_course_destini

practice of flutter OOP
Dart
1
star
32

autobrowser

browser automation practice
JavaScript
1
star
33

deno-github-recap-feed

RSS feed summarizing daily activity on GitHub.
TypeScript
1
star