bookish / Quotes-Generator

website for generating random quotes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quotes-Generator

This is a website for generating random quotes which can be tweeted.

This is a website for generating random quotes which can be tweeted. Using basic HTML,CSS,JS with a few helpful packages

The generate button picks text and author out of a list of quotes from quote.js

The tweet this. redirect you to tweet text box url with the quote you generated

copy qoute basically copies the current quote

the download button uses the package npm-text-image to capture and format the quote to image/png and saves it to your local storage.

Please give this project a star 🌟 and don't forget to follow me 😊.

If you are looking to make your first contribution, follow the steps below. Check the CONTRIBUTING.md file file if you are already familiar with the git workflow.

fork this repository

If you don't have git on your machine, install it.

Fork this repository

Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.

Clone the repository

clone this repository

Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.

Open a terminal and run the following git command:

git clone "url you just copied"

where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project). See the previous steps to obtain the url.

copy URL to clipboard

For example:

git clone https://github.com/this-is-you/Quotes-Generator.git

where this-is-you is your GitHub username. Here you're copying the contents of the Quotes-Generator repository on GitHub to your computer.

Create a branch

Change to the repository directory on your computer (if you are not already there):

cd Quotes-Generator

Now create a branch using the git checkout command:

git checkout -b your-new-branch-name

For example:

git checkout -b add-whatever-you-want

Make necessary changes and commit those changes

git status

If you go to the project directory and execute the command git status, you'll see there are changes.

Add those changes to the branch you just created using the git add command:

git add Contributors.md

Now commit those changes using the git commit command:

git commit -m "Add <...>"

Push changes to GitHub

Push your changes using the command git push:

git push origin -u <add-your-branch-name>

replacing <add-your-branch-name> with the name of the branch you created earlier.

Submit your changes for review

If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button.

create a pull request

Now submit the pull request.

submit pull request

Soon I'll be merging all your changes into the master branch of this project. You will get a notification email once the changes have been merged.

Run In Docker

docker build -t quotegen ./
docker run -p 8080:80 quotegen

Then open localhost:8080 from local browser.

About

website for generating random quotes

License:GNU General Public License v2.0


Languages

Language:JavaScript 95.8%Language:CSS 2.5%Language:HTML 1.6%Language:Dockerfile 0.2%