{"id":30806513,"url":"https://github.com/utsavll0/auto-slide-generator","last_synced_at":"2025-10-06T09:07:00.415Z","repository":{"id":312315699,"uuid":"961282970","full_name":"utsavll0/auto-slide-generator","owner":"utsavll0","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-29T18:13:35.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T01:12:30.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/utsavll0.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-06T07:04:39.000Z","updated_at":"2025-08-29T18:13:38.000Z","dependencies_parsed_at":"2025-08-29T20:50:39.461Z","dependency_job_id":"abfc0ad4-a1e6-424b-acc0-9d72b2fc7c23","html_url":"https://github.com/utsavll0/auto-slide-generator","commit_stats":null,"previous_names":["utsavll0/auto-slide-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/utsavll0/auto-slide-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavll0%2Fauto-slide-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavll0%2Fauto-slide-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavll0%2Fauto-slide-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavll0%2Fauto-slide-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utsavll0","download_url":"https://codeload.github.com/utsavll0/auto-slide-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utsavll0%2Fauto-slide-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278584580,"owners_count":26010854,"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-10-06T02:00:05.630Z","response_time":65,"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-09-06T01:09:51.658Z","updated_at":"2025-10-06T09:07:00.400Z","avatar_url":"https://github.com/utsavll0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automatic Presentation Creator\n\nThis repository contains a Flask application for creating automated slides by crawling the web.\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/alai-challenge.git\n   cd alai-challenge\n   ```\n\n2. Create a virtual environment and activate it:\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. Install the required dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Configuration\n\nCreate a `.env` file in the root directory with the following configuration:\n\n```env\nFIRECRAWL_API_KEY=\"YOUR_FIRECRAWL_KEY\"\nALAI_API_KEY=\"YOUR_ALAI_API_KEY\"\nFLASK_SECRET_KEY=\"ANYTHING_OVER_HERE\"\n```\n\nReplace the placeholder values with your actual configuration.\n\n## Running the Application\n\nTo run the Flask application:\n\n```bash\ncd src\nflask --app main run --debug --port 5500\n```\n\nThe application will be available at `http://127.0.0.1:5500/`.\n\n## API Documentation\n\nDocumentation for the API endpoints is available at `/apidocs` when the application is running.\n\n## How to use\n\n1. Once the backend is running the first order of business is to login. The endpoint is a HTTP Post at URI `auth/login`\n\n```json\n{\n  \"username\": \"alai_email\",\n  \"password\": \"alai_password\"\n}\n```\n\nThis will authenticate the user in the backend and for all further calls user doesnt have to worry about authentication.\n\n2. To create presentation hit the API at `presentation/create` endpoint using the following json\n\n```json\n{\n  \"url\": \"https://example.com\",\n  \"instructions\": \"System prompt for the AI to create a slide on.\",\n  \"num_of_slides\": 3,\n  \"tone\": \"SOME_TONE\",\n  \"verbosity\": 3\n}\n```\n\n`num_of_slides`, `tone` and `verbosity` are optional, default values are 1, 'DEFAULT' and 3 respectively.\n\nALSO `TONE` currently only supports the values from the ALAI's website and giving a custom tone might lead to unexpected behavior. Best to use something like `PROFESSIONAL`,`CASUAL`, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futsavll0%2Fauto-slide-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futsavll0%2Fauto-slide-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futsavll0%2Fauto-slide-generator/lists"}