DevPulse is a developer tool designed to help users stay updated on the latest activities and trends in GitHub projects. It provides clear, concise insights into repository developments without requiring deep technical expertise.
- GitHub Integration: Fetch repository information, including recent commits, open issues, and pull requests.
- LLM-Based Summarization: Summarizes GitHub updates using Large Language Models (to be introduced in Version 1.0).
- PostgreSQL Database Storage**: Stores repository data locally, allowing easy access without needing to re-enter repository locations.
- Command-Line Interface (CLI): A simple, user-friendly CLI tool to interact with the GitHub API and the PostgreSQL database.
- Web-Based UI: (Planned for Version 1.0) A web interface to view and interact with repository data.
- Python 3.x
- PostgreSQL
- Git
-
Clone the Repository
git clone git@github.com:steven-zhc/dev-pulse.git cd dev-pulse
-
Set Up the Virtual Environment
python3 -m venv venv source venv/bin/activate
-
Install Dependencies
pip install -r requirements.txt
-
Configure PostgreSQL Database
-
Create a PostgreSQL database and user:
psql postgres
Inside the PostgreSQL shell:
CREATE DATABASE devpulse_db; CREATE USER devpulse_user WITH PASSWORD 'your_password'; GRANT ALL PRIVILEGES ON DATABASE devpulse_db TO devpulse_user; \q
-
Set Up Environment Variables
Add your GitHub token and PostgreSQL credentials to your environment:
export GITHUB_TOKEN=your_github_token export DATABASE_URL='postgresql://devpulse_user:your_password@localhost/devpulse_db'
Fetch repository information:
python src/cli.py <repo_owner/repo_name>
Example:
python src/cli.py octocat/Hello-World
python src/cli.py
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
This project is licensed under the MIT License.