{"id":19380560,"url":"https://github.com/techytushar/youman","last_synced_at":"2026-04-08T18:02:43.838Z","repository":{"id":50201021,"uuid":"157512627","full_name":"techytushar/youman","owner":"techytushar","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T01:17:40.000Z","size":13,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T17:17:46.401Z","etag":null,"topics":["bootstrap","flask","js","python"],"latest_commit_sha":null,"homepage":"https://youman.herokuapp.com/","language":"JavaScript","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/techytushar.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}},"created_at":"2018-11-14T08:02:21.000Z","updated_at":"2018-12-20T17:19:48.000Z","dependencies_parsed_at":"2023-01-24T02:35:11.356Z","dependency_job_id":null,"html_url":"https://github.com/techytushar/youman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techytushar/youman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techytushar%2Fyouman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techytushar%2Fyouman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techytushar%2Fyouman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techytushar%2Fyouman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techytushar","download_url":"https://codeload.github.com/techytushar/youman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techytushar%2Fyouman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","flask","js","python"],"created_at":"2024-11-10T09:14:16.918Z","updated_at":"2026-04-08T18:02:43.789Z","avatar_url":"https://github.com/techytushar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouMan\n\nA webapp using which the user can search for videos on YouTube. It provided features to sort the videos by name or by date.\n\n## Implementation\n\n* The backend server is made using Flask and the frontend is made using Bootstrap, jQuery and Javascript.\n* When the user searches for a query, an AJAX POST request is made to the Flask API.\n* The Flask API uses the Google Python API Client Library to search YouTube and returns an array of JSON Objects.\n* This array is then parsed and a `div` block is created for each video.\n* The sorting is done using the javascript `sort` function.\n* The Dockerfile is used to build a Docker image to run the project using Docker.\n* It is also deployed to Heroku [here](https://youman.herokuapp.com/)\n\n## How to run\n\n### Generate a YouTube API key :\n\n* Create a project in the [Google Developer Console](https://console.developers.google.com/)\n* Click on the *Enable APIs and Services*, search for *YouTube Data API v3* and click on *Enable*.\n* Click on *Credentials* in the left menu and click on *Create Credentials*.\n* In the *Where you will be call the API from* select *Web Server* and select *Public Data* in *What data will you be accessing?* and click the next button.\n* Copy the API key and assign the value of *YOUTUBE_API_KEY* variable in the `utils.py` file\n\n### Run the webapp:\n\n**Using Docker**\n\n* Make sure you have docker installed.\n* Build the docker image using (might take some time)\n```bash\ndocker build -t youman .\n```\n* Run the image using\n```bash\ndocker run -p 8000:8000 youman\n```\n\n**Running locally**\n\n* To run you need Python3.5+ and pip installed.\n* Clone the repository and enter into it using \n```bash\ngit clone https://github.com/techytushar/youman.git \u0026\u0026 cd youman\n```\n* Install `virtualenv` module to create a virtual environment using\n```bash\n[sudo] pip3 install virtualenv\n```\n* Create a virtual environment using\n```bash\nvirtualenv .\n```\n* Activate the virtual environment using \n```bash\nsource bin/activate\n```\n* Install all the dependencies using\n```bash\npip install -r requirements.txt\n```\n* Export the FLASK_APP environment variable using\n```bash\nexport FLASK_APP=app.py\n```\n* Run the app using\n```bash\nflask run -h localhost -p 8000\n```\n* Open a browser and navigate to\n```\nhttp://localhost:8000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechytushar%2Fyouman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechytushar%2Fyouman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechytushar%2Fyouman/lists"}