This project is a Flutter application that retrieves information about Github users based on their username.
The application allows the user to enter a Github username and then retrieves and displays information about the corresponding Github profile. This is an excellent tool for developers who want to quickly find out more about other Github users.
- Flutter
- flutter_bloc for state management
- dio for networking
- equatable for value comparison
- font_awesome_flutter for icons
- flutter_dotenv for environment variable handling
- url_launcher for launching URLs
-
Create a
.env
file in the root directory of the project. -
Inside the
.env
file, add your Github token like this:GITHUB_TOKEN=your_github_token
Replace your_github_token
with your actual Github token.
- Sign in to your GitHub account.
- Click your profile picture on the top right.
- Click "Settings".
- Scroll down and click "Developer settings" on the left side.
- Click "Personal access tokens".
- Click "Tokens (classic)".
- Click "Generate new token".
- Enter a note to remind you what the token is for (Optinal).
- Set the expiration for your token.
- Under "Select scopes", check only the "repo" box.
- Click "Generate token" at the bottom.
- Copy new token and paste
.env
file.
For example:
GITHUB_TOKEN=ghp_kExdQqlkPqdbES4YdTy6Ty654nSJev2a7fXK
Please make sure not to disclose your token publicly, as it may be used to perform actions on your behalf.
Once you have started the application:
- Enter the Github username of the user you would like to "stalk"
- Press the "Stalk" button.
The application will then retrieve and display information about the user.
Contributions are welcomed! If you see an issue that you'd like to see fixed, the best way to make it happen is to help out by submitting a pull request implementing it. I'll be happy to review your pull request!