Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

A simple CLI experiment that writes recommendation of GitHub repository/project in form of tweet. Powered by OpenAI GPT-3.

Notifications You must be signed in to change notification settings

viktorbezdek/github-repo-recommendation-writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Repo Recommendation Writer

A simple CLI experiment that writes recommendation of GitHub repository/project in form of tweet. Powered by OpenAI GPT-3.

Prerequisites:

  • Node 17.5+ (or higher)
  • OpenAI API access
  • Twitter API access

Create .env file with:

OPENAI_API_KEY=sk-your-credentials

TWITTER_CONSUMER_KEY=your-consumer-key
TWITTER_CONSUMER_SECRET=your-consumer-secred
TWITTER_ACCESS_TOKEN_KEY=your-access-token-key
TWITTER_ACCESS_TOKEN_SECRET=your-access-token-secret

Populate data/repos.txt with github projects you like and want to tweet about in following format:

owner/reponame
owner/reponame
owner/reponame

Install dependencies using npm install or yarn install.

Run the tool with: node index.js or npm start or yarn start


⚠️ WARNING: This shouldn't be used as basis for Twitter bot. OpenAI forbids to use GPT-3 in this way.

About

A simple CLI experiment that writes recommendation of GitHub repository/project in form of tweet. Powered by OpenAI GPT-3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published