{"id":30142049,"url":"https://github.com/ehsundar/social-content-dl","last_synced_at":"2025-08-11T05:37:23.759Z","repository":{"id":306347260,"uuid":"1025594662","full_name":"ehsundar/social-content-dl","owner":"ehsundar","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-25T00:53:32.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-25T06:17:36.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehsundar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-24T13:48:41.000Z","updated_at":"2025-07-25T00:53:36.000Z","dependencies_parsed_at":"2025-07-25T06:28:02.114Z","dependency_job_id":null,"html_url":"https://github.com/ehsundar/social-content-dl","commit_stats":null,"previous_names":["ehsundar/social-content-dl"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ehsundar/social-content-dl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fsocial-content-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fsocial-content-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fsocial-content-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fsocial-content-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsundar","download_url":"https://codeload.github.com/ehsundar/social-content-dl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsundar%2Fsocial-content-dl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269837071,"owners_count":24483174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-11T05:37:23.119Z","updated_at":"2025-08-11T05:37:23.750Z","avatar_url":"https://github.com/ehsundar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social Content DL\n\nA Go application for downloading social media content, including music from Telegram channels.\n\n## Features\n\n- Download music from Telegram channels using your personal account\n- Support for audio files, voice messages, and documents\n- Automatic file naming and organization\n- Duplicate file detection\n- No need to add bots to channels\n\n## Getting Started\n\n### Prerequisites\n\n- Go 1.21 or later\n- Telegram account (your personal account)\n\n### Setup Telegram API\n\n1. Go to https://my.telegram.org/apps\n2. Log in with your phone number\n3. Create a new application (or use existing)\n4. Note down your `api_id` and `api_hash`\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ehsundar/social-content-dl.git\ncd social-content-dl\n```\n\n2. Install dependencies:\n```bash\ngo mod tidy\n```\n\n3. Set your Telegram credentials:\n```bash\nexport TELEGRAM_PHONE=\"+1234567890\"  # Your phone number\nexport TELEGRAM_APP_ID=\"your_api_id\"  # From my.telegram.org/apps\nexport TELEGRAM_APP_HASH=\"your_api_hash\"  # From my.telegram.org/apps\n```\n\n4. Run the application:\n```bash\n# Download all music from a channel\ngo run main.go telegram channelname\n\n# Download limited number of files\ngo run main.go telegram channelname 50\n```\n\n**Note:** On first run, you'll receive a verification code on your Telegram account. Enter it when prompted.\n\n## Environment Variables\n\n- `TELEGRAM_PHONE` - Your phone number (required, e.g., +1234567890)\n- `TELEGRAM_APP_ID` - Your API ID from my.telegram.org/apps (optional, default: 17349)\n- `TELEGRAM_APP_HASH` - Your API hash from my.telegram.org/apps (optional, default: desktop)\n- `DOWNLOAD_PATH` - Download directory (default: ./downloads)\n\n## Usage Examples\n\n```bash\n# Download all music from @musicchannel\ngo run main.go telegram musicchannel\n\n# Download only 10 files from @musicchannel\ngo run main.go telegram musicchannel 10\n\n# Use custom download path\nexport DOWNLOAD_PATH=\"/path/to/music\"\ngo run main.go telegram musicchannel\n```\n\n## Development\n\nTo add new dependencies:\n```bash\ngo get \u003cpackage-name\u003e\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsundar%2Fsocial-content-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsundar%2Fsocial-content-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsundar%2Fsocial-content-dl/lists"}