gitgpt

Automated Git Commit Messages using OpenAI's GPT Model

https://github.com/stevecondylios/gitgpt

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Automated Git Commit Messages using OpenAI's GPT Model

Basic Info
  • Host: GitHub
  • Owner: stevecondylios
  • License: other
  • Language: R
  • Default Branch: main
  • Size: 25.4 KB
Statistics
  • Stars: 7
  • Watchers: 2
  • Forks: 1
  • Open Issues: 2
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Installation

r install.packages("gitGPT") library(gitGPT)

Quick Start Guide

  1. Get an OpenAI API key from here.

  2. Set the key as an environment variable inside your R session:

```R Sys.setenv(OPENAIAPIKEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxx")

Windows users must also set these two environment variables:

Sys.setenv(GITAUTHORNAME = "Your Name") Sys.setenv(GITAUTHOREMAIL = "Your Email") ```

  1. From inside RStudio, run this single command commit() to add, commit and push with a GPT-generated commit message.

```r library(gitGPT)

Ensure getwd() is in your git repo

Make some changes to files

Add all changes, commit and push to GitHub with a single command

commit() ```


If you prefer to see some sample output of what your commit message may look like, you can try:

r suggest_commit_message()


You can also see what GPT provides based on your own input:

```r suggestcommitmessage("Tidied headings in plots, optimised matrix multiplication in hpc.R")

Updated headings and improved matrix multiplication performance.

```


Note: ChatGPT is non-deterministic, so the same inputs can produce different outputs each time the function is run.

Owner

  • Name: Steve Condylios
  • Login: stevecondylios
  • Kind: user
  • Location: Melbourne

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 0.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stevecondylios (2)
  • statunizaga (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 182 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: gitGPT

Automated Git Commit Messages using the 'OpenAI' 'GPT' Model

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 182 Last month
Rankings
Dependent packages count: 29.7%
Dependent repos count: 35.4%
Average: 51.6%
Downloads: 89.7%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • httr * imports
  • jsonlite * imports