How to get Latest commit on github on website












1















I want to get a thing on my website that shows the latest commit on GitHub.
I have seen this on many websites. For exampleThis is one on the materealizecss.com website



How could I make one of these on my website using just js and HTML (JS frameworks accepted if needed)?



Thanks in advance










share|improve this question























  • Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

    – Smollet777
    Nov 23 '18 at 19:19













  • I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

    – TeamLazer
    Nov 23 '18 at 19:24
















1















I want to get a thing on my website that shows the latest commit on GitHub.
I have seen this on many websites. For exampleThis is one on the materealizecss.com website



How could I make one of these on my website using just js and HTML (JS frameworks accepted if needed)?



Thanks in advance










share|improve this question























  • Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

    – Smollet777
    Nov 23 '18 at 19:19













  • I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

    – TeamLazer
    Nov 23 '18 at 19:24














1












1








1


1






I want to get a thing on my website that shows the latest commit on GitHub.
I have seen this on many websites. For exampleThis is one on the materealizecss.com website



How could I make one of these on my website using just js and HTML (JS frameworks accepted if needed)?



Thanks in advance










share|improve this question














I want to get a thing on my website that shows the latest commit on GitHub.
I have seen this on many websites. For exampleThis is one on the materealizecss.com website



How could I make one of these on my website using just js and HTML (JS frameworks accepted if needed)?



Thanks in advance







javascript html






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '18 at 19:16









TeamLazerTeamLazer

85




85













  • Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

    – Smollet777
    Nov 23 '18 at 19:19













  • I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

    – TeamLazer
    Nov 23 '18 at 19:24



















  • Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

    – Smollet777
    Nov 23 '18 at 19:19













  • I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

    – TeamLazer
    Nov 23 '18 at 19:24

















Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

– Smollet777
Nov 23 '18 at 19:19







Check github API. developer.github.com/v3/repos/commits/#get-a-single-commit for example.

– Smollet777
Nov 23 '18 at 19:19















I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

– TeamLazer
Nov 23 '18 at 19:24





I am not good with js. I would like to be helped some more with direct code. I know most people won't do that but it can help me better I am a noob at js. I would like to at least be able to know how to connect to the API. Thanks for letting me know @Smollet777 !

– TeamLazer
Nov 23 '18 at 19:24












1 Answer
1






active

oldest

votes


















0














you could try a widget. like this for example: https://github.com/TylerLH/github-latest-commits-widget






share|improve this answer
























  • Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

    – TeamLazer
    Nov 23 '18 at 20:01











  • glad it helped :)

    – meta
    Nov 25 '18 at 14:04











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53451936%2fhow-to-get-latest-commit-on-github-on-website%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














you could try a widget. like this for example: https://github.com/TylerLH/github-latest-commits-widget






share|improve this answer
























  • Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

    – TeamLazer
    Nov 23 '18 at 20:01











  • glad it helped :)

    – meta
    Nov 25 '18 at 14:04
















0














you could try a widget. like this for example: https://github.com/TylerLH/github-latest-commits-widget






share|improve this answer
























  • Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

    – TeamLazer
    Nov 23 '18 at 20:01











  • glad it helped :)

    – meta
    Nov 25 '18 at 14:04














0












0








0







you could try a widget. like this for example: https://github.com/TylerLH/github-latest-commits-widget






share|improve this answer













you could try a widget. like this for example: https://github.com/TylerLH/github-latest-commits-widget







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 23 '18 at 19:33









metameta

729




729













  • Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

    – TeamLazer
    Nov 23 '18 at 20:01











  • glad it helped :)

    – meta
    Nov 25 '18 at 14:04



















  • Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

    – TeamLazer
    Nov 23 '18 at 20:01











  • glad it helped :)

    – meta
    Nov 25 '18 at 14:04

















Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

– TeamLazer
Nov 23 '18 at 20:01





Thanks! I have looked all over github to find one but never found one. I will use this but change up some things like the css due to it being outdated and such. Thanks Again!

– TeamLazer
Nov 23 '18 at 20:01













glad it helped :)

– meta
Nov 25 '18 at 14:04





glad it helped :)

– meta
Nov 25 '18 at 14:04




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53451936%2fhow-to-get-latest-commit-on-github-on-website%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen