dingo icon indicating copy to clipboard operation
dingo copied to clipboard

A contributors page

Open dinever opened this issue 9 years ago • 3 comments

Let's build a contributors page which lists our contributors from github.com/dinever/dingo/graphs/contributors as a thank-you and encourage more people to get involved into this.

I'm thinking about writing a script to automatically fetch information from this GitHub API and creates a .go file before each release in the future.

dinever avatar Apr 28 '16 02:04 dinever

What do you mean "creates a .go file before each release" ?

TimothyYe avatar May 26 '16 14:05 TimothyYe

Hi @TimothyYe,

The original idea is that we create a hard-coded .go file like this each time we create a release:

package Dingo

var contributors = []string{
    "dinever",
    "nak3",
    "samdfonseca",
    "bentranter",
    "TimothyYe",
    "youngsterxyf",
}

However, this idea is a little bit stupid.

We should probably just crawl and cache the contributors from api.github.com/repos/dingoblog/dingo/contributors, and render the content when user visits the contributors page.

Note that the page should be placed in the admin dashboard. Like in /admin/about/.

dinever avatar May 26 '16 14:05 dinever

@dinever , We can use javascript to get JSON data from that API interface and render it to /admin/about instantly once user visit that page.

TimothyYe avatar May 26 '16 15:05 TimothyYe