Skip to content

rosenpin/git-projects-showcaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-project-showcaser

Showcase your projects from Github/Gitlab in your own website automatically

Configuration

The configuration file should be in this format (yaml):

ResourcesPath: resources # Path to the resources directory, should include the index.html file to work with
Username: rosenpin # The username for the service
AuthCode: YOUR_AUTH_CODE # Optional auth code for services like github that limit request number
HTTPRequestTimeout: 10s # API request time out
MaxProjects: 9 # The maximum number of projects to show
IncludeForks: false # Include fork projects or not
SortMode: stars # The method to sort the projects by
GitPlatform: github  # The git service to use
ProfileURL: http://www.github.com/rosenpin # The url to the profile if you want the visitors to be able to go to your profile
ReloadInterval: 12h # At what interval to fetch from git

Running it

The exported CreateHandler function returns an HTTP.HandlerFunc that you can use on your sever

For a more detailed example, feel free to view my own website source code here

About

Showcase your projects from your favorite git server in your own website. Example @ https://rosenpin.io/showcase

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published