{"id":27629328,"url":"https://github.com/leonf3/aws-s3-audio-demo","last_synced_at":"2025-09-04T01:33:37.277Z","repository":{"id":289324553,"uuid":"970877288","full_name":"LeonF3/aws-s3-audio-demo","owner":"LeonF3","description":"Upload audio files to AWS S3 using Python and return a public URL. Great for learning cloud file handling, S3 permissions, and dotenv config.","archived":false,"fork":false,"pushed_at":"2025-04-22T17:13:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T08:44:26.317Z","etag":null,"topics":["aws","backend","boto3","cloud","codespaces","dotenv","python","s3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/LeonF3.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-04-22T17:09:17.000Z","updated_at":"2025-04-22T17:15:48.000Z","dependencies_parsed_at":"2025-04-22T18:38:44.411Z","dependency_job_id":"6e8f179d-2344-4bcb-8ac9-3661b4ab1d54","html_url":"https://github.com/LeonF3/aws-s3-audio-demo","commit_stats":null,"previous_names":["leonf3/aws-s3-audio-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LeonF3/aws-s3-audio-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeonF3%2Faws-s3-audio-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeonF3%2Faws-s3-audio-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeonF3%2Faws-s3-audio-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeonF3%2Faws-s3-audio-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeonF3","download_url":"https://codeload.github.com/LeonF3/aws-s3-audio-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeonF3%2Faws-s3-audio-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273539279,"owners_count":25123494,"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-09-03T02:00:09.631Z","response_time":76,"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":["aws","backend","boto3","cloud","codespaces","dotenv","python","s3"],"created_at":"2025-04-23T15:16:24.747Z","updated_at":"2025-09-04T01:33:37.246Z","avatar_url":"https://github.com/LeonF3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎙️ Audio to S3 Demo\n\nThis simple Python script demonstrates how to upload a local audio file to an Amazon S3 bucket and retrieve a public URL.\n\n## 📦 Tech Stack\n- Python 3\n- [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) (AWS SDK for Python)\n- [python-dotenv](https://pypi.org/project/python-dotenv/) for managing environment variables\n\n---\n\n## ⚙️ Setup\n\n### 1. Clone the Repo\n```bash\ngit clone https://github.com/yourusername/aws-s3-audio-demo.git\ncd aws-s3-audio-demo\n```\n\n### 2. Install Dependencies\n```bash\npip install boto3 python-dotenv\n```\n\n### 3. Create Your `.env` File\nRename `.env.example` to `.env` and add your AWS credentials:\n```env\nAWS_ACCESS_KEY_ID=your_access_key\nAWS_SECRET_ACCESS_KEY=your_secret_key\nAWS_REGION=us-east-2\nS3_BUCKET_NAME=your_bucket_name\n```\n\n### 4. Add Your Audio File\nPlace your `.mp4` audio file in the root directory and rename it to `sample_audio.mp4` (or update the script accordingly).\n\n### 5. Run the Script\n```bash\npython audio_to_s3_demo.py\n```\n\n---\n\n## ✅ Output\nIf successful, the script will print a public S3 URL like:\n```\nhttps://your_bucket_name.s3.us-east-2.amazonaws.com/demo/audio/sample_audio.mp4\n```\n\n## 🛡 Notes\n- Ensure your S3 bucket permissions allow public reads or adjust ACL settings as needed.\n- This is a demo and not meant for production use without proper security reviews.\n\n---\n\n## 📄 License\nThis project is open-source and available under the MIT License.\n\n---\n\nBuilt by [Leon Franklin](https://www.linkedin.com/in/leon-m-franklin-iii-813950206/) ✊🏾\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonf3%2Faws-s3-audio-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonf3%2Faws-s3-audio-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonf3%2Faws-s3-audio-demo/lists"}