Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubhamdutta2000/github-user-bot
With this Bot user can login to github, create a new repository and clone other's repository. Feel free to add your own script which can be used to do github automation
https://github.com/shubhamdutta2000/github-user-bot
create-repository github github-bot github-login hacktoberfest hacktoberfest2022 puppeteer repository-clone web-scraping
Last synced: 8 days ago
JSON representation
With this Bot user can login to github, create a new repository and clone other's repository. Feel free to add your own script which can be used to do github automation
- Host: GitHub
- URL: https://github.com/shubhamdutta2000/github-user-bot
- Owner: Shubhamdutta2000
- Created: 2021-07-15T19:29:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T20:22:37.000Z (about 2 years ago)
- Last Synced: 2023-03-06T05:35:56.879Z (over 1 year ago)
- Topics: create-repository, github, github-bot, github-login, hacktoberfest, hacktoberfest2022, puppeteer, repository-clone, web-scraping
- Language: JavaScript
- Homepage:
- Size: 567 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github Bot
> With this project user can login to github, create a new repository and clone other's repository by providing all credentials.
## How to use
- Add these environment variables to .env file
- **GITHUB_USERNAME** : Your github username (for login)
- **GITHUB_PASSWORD** : Your github password (for login)
- **REPO_NAME** : Repository name (for creating new repository)
- **REPO_DESCRIPTION** : Repository description (for creating new repository)
- **REPO_VISIBILITY** : Repository visibility (for creating new repository)
- **REPO_USERNAME_FOR_CLONE** : Username who created the repository (for cloning)
- **REPO_NAME_FOR_CLONE** : Name of the repository (for cloning)- ### Github Login
- Login github with your GITHUB_USERNAME and GITHUB_PASSWORD credentials
- Get screenshot of Home page of github after login```
npm run github-login
```- ### Create Repository
- Create a new repository by giving some repository name, description and set your repository visibility to 'public' or 'private'
- Get screenshot of newly created repository```
npm run create-repo
```- ### Clone Repository
- Clone any repository by providing repository name with its username for cloning
- Get the repository clone link with proper command
- Get screenshot of cloned repository```
npm run clone-repo
```## Run Locally
```
git clone https://github.com/Shubhamdutta2000/Github-Bot.gitnpm i
# For login
npm run github-login# For creating repository
npm run create-repo# For cloning repository
npm run clone-repo```
## Tech Stack
- nodejs
- puppeteer