Skip to content

Cirara (Commits in Repository as REST API) provides a JSON log of commits from Git repositories.

License

Notifications You must be signed in to change notification settings

KiaArmani/Cirara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cirara

Cirara (Commits in Repository as REST API) provides a JSON log of commits from Git repositories.

Inspired by https://commits.facepunch.com/

Requirements

  • .NET Core Runtime 3.1
  • An Internet Connection to download NuGet packages for building the project

Installation

  • Clone the repository
git clone https://github.com/Regensturm/Cirara.git
  • Add Config / Secrets
dotnet user-secrets set "Config:DefaultBranch" "main"
dotnet user-secrets set "repoName:Url" "https://github.com/yourname/yourrepo.git"
dotnet user-secrets set "repoName:User" "GithubUser"
dotnet user-secrets set "repoName:Pass" "GithubAppToken"

Keep in mind that you need a Personal Access Token for accessing (private) repositories. Learn more here: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token

  • Open a (Power)Shell / Terminal
  • Build the project
dotnet build --configuration Release
  • Start the service
dotnet run --project .\Cirara\Cirara.csproj

Project Structure

This project was created with the Microsoft ASP .NET Core API template. For reference on how to work with this (e.g. adding controllers) please visit https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-3.1&tabs=visual-studio

About

Cirara (Commits in Repository as REST API) provides a JSON log of commits from Git repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages