Back to Home
haritha8503 icon

langextract

Verified Safe

by haritha8503

Overview

This server provides a RESTful API to extract the content of single files or an entire repository from GitHub, intended for programmatic code analysis or processing.

Installation

Run Command
uvicorn main:app --host 0.0.0.0 --port 8000

Environment Variables

  • GITHUB_TOKEN

Security Notes

The server fetches content from the public GitHub API and does not execute any user-provided code locally. It properly uses environment variables for the GITHUB_TOKEN, and all external requests are to the GitHub API. Path parameters are incorporated into GitHub API URLs, relying on GitHub's own security for path validation. Recursion depth for repository listing is limited (max_depth=5), and an in-memory cache has a defined size limit. No 'eval' or other directly malicious patterns were found. The primary security consideration is related to GitHub API rate limits if the GITHUB_TOKEN is not provided, which could lead to service unavailability due to throttling.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens25000
Stars0
Forks0
Last Update2026-01-17

Tags

GitHubCode ExtractionAPIFastAPIRepository Analysis