Repository navigation
All the files has been uploaded and anyone can use it for personal/community use but commercial use is strictly not allowed.
Anyone can take their time for contributing in this project, it's compulsory to mention the official link of the repo if you create one different repo.
For configuring the app
-
make a .env
-
==============================
Flask configuration
==============================
SESSION_SECRET=dev-secret-key-change-in-production
FLASK_DEBUG=True==============================
GitHub API configuration
==============================
GITHUB_TOKEN=your-github-token-here
GITHUB_REQUEST_TIMEOUT=30==============================
AI Model configuration
==============================
HUGGINGFACE_MODEL=facebook/bart-large-cnn
MAX_SUMMARY_LENGTH=150
MIN_SUMMARY_LENGTH=30
AI_BATCH_SIZE=5==============================
Caching configuration
==============================
CACHE_TYPE=simple
CACHE_DEFAULT_TIMEOUT=1800
CACHE_KEY_PREFIX=github_summarizer_==============================
Redis configuration (if using Redis cache)
==============================
REDIS_URL=redis://localhost:6379/0
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD===============================
Application limits
==============================
MAX_ISSUES_PER_REQUEST=100
MAX_PAGES_PER_REQUEST=1000
REQUEST_TIMEOUT=300==============================
Logging configuration
==============================
LOG_LEVEL=INFO
LOG_FILE=app.log==============================
Rate limiting
==============================
RATELIMIT_ENABLED=False
RATELIMIT_DEFAULT=100 per hour
RATELIMIT_STORAGE_URL=memory://