GitHub Timeline is a web application that visualizes a GitHub user's public repositories in a timeline format, displaying repository names, creation dates, and descriptions. It also provides a summary of the number of repositories created each year.
- Enter a GitHub username to generate a timeline of public repositories.
- Click the 'Generate' button to fetch and display the timeline.
- View repository names, creation dates, and descriptions.
- Summary of the number of repositories by year.
- Warning message if the GitHub username is invalid.
- Next.js
- React
- Axios
The application is automatically deployed to GitHub Pages using GitHub Actions upon each push to the main
branch.
- Node.js installed on your machine.
-
Clone the repository:
git clone https://github.com/your-username/github-timeline.git
-
Navigate to the project directory:
cd github-timeline
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to view the application.
-
Set the
basePath
innext.config.js
:Replace
/your-repo-name
with the name of your GitHub repository. -
Update the
homepage
inpackage.json
:Although not mandatory for Next.js, it's good practice to set the
homepage
field if you plan to use other deployment methods.
This project is licensed under the MIT License.
Powerd by o1-mini
prompt based on app-ideas:
https://github.com/florinpop17/app-ideas/blob/master/Projects/3-Advanced/GitHub-Timeline-App.md