DEV Community

Quy Luong
Quy Luong

Posted on

Show your latest dev.to articles on Github Profile

I just wrote a tool that allows you to display your posts on the Github page. Give me a star if it's helpful 😁, I'd love to hear your feedback πŸ€—

Demo: https://github.com/lnquy065

Usage

https://dev.to/<USER_NAME>

## Dev.to articles

[![<USER_NAME>'s articles](https://github-readme-devto.herokuapp.com?username=<USER_NAME>)](https://dev.to/<USER_NAME>)
Enter fullscreen mode Exit fullscreen mode

Parameters

Name Description Default value
username Dev.to username required
fontSize Article title font size 16
textColor Text color, use hex value (without #) 58a6ff
width SVG's width 500
page Pagination page 1
per_page Page size (the number of items to return per page) 30
tag Retrieve articles that contain the requested tag. Example: tag=discuss none
tags Retrieve articles with any of the comma-separated tags. Example: tags=javascript, css none
tags_exclude Retrieve articles that do not contain any of comma-separated tags. Example: tags_exclude=node, java none
state Allow the client to check which articles are fresh or rising. Enum: "fresh" "rising" "all" none
top Allow the client to return the most popular articles in the last N days. Example: top=2 none
collection_id Return the list of articles belonging to the requested collection. Example: collection_id=99 none

Github: https://github.com/lnquy065/github-readme-devto

Top comments (2)

Collapse
 
cicirello profile image
Vincent A. Cicirello

Cool idea. I might try it out. On your usage on your GitHub profile, you might want to increase font size. On the GitHub Android app, the text in your Dev.to posts svg appears much smaller than the rest of the text on your profile. Actually, it might be combination of font size and svg width that you might need to play with.

Collapse
 
lnquy065 profile image
Quy Luong

Yah, I'll check it, thanks for your feedback :D