Skip to content

ExilProductions/GitRepSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitRep

Reputation for GitHub repositories.

.NET 9.0 Blazor Server PostgreSQL


Vote rep+ or rep- on any GitHub repository. Sign in with your GitHub account, search for a repo, view its reputation, and leave comments. Built on ASP.NET Core Blazor Server with PostgreSQL.


Features

  • Reputation voting — upvote or downvote any public GitHub repo.
  • Repository search — look up repos by owner/name or full URL; validated against the GitHub API.
  • Comments — post up to 500 characters per comment; delete your own.
  • Admin dashboard — manage users, comments, blocked words, and view a moderation audit log.
  • Auto-admin — the first user to sign in is granted admin privileges.
  • Ban system — banned users see a restricted page and cannot interact.

Tech Stack

Layer Technology
Framework ASP.NET Core 9.0
UI Blazor Server
Database PostgreSQL
ORM Entity Framework Core 9.0
Auth GitHub OAuth via AspNet.Security.OAuth.GitHub

Getting Started

Prerequisites

Setup

git clone https://github.com/ExilProductions/GitRepSharp.git
cd gitrep/Gitrep

Configure credentials:

dotnet user-secrets set "ConnectionStrings:DefaultConnection" "Host=localhost;Database=gitrep;Username=postgres;Password=yourpassword"
dotnet user-secrets set "GitHub:ClientId" "your-github-client-id"
dotnet user-secrets set "GitHub:ClientSecret" "your-github-client-secret"

Build and run:

dotnet build
dotnet run

Starts at http://localhost:5173. The database schema is created automatically on startup.

Database

Table Purpose
GitrepUser GitHub-authenticated users
ReputationVote One vote per user per repo (unique on owner+name+user)
RepoComment Comments on repos
BlockedWord Admin-curated blocked terms
ModLogEntry Moderation audit trail

About

.net based Reimplementation of GitRep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors