{"id":20596751,"url":"https://github.com/shivansh-007/websearch","last_synced_at":"2025-12-30T20:06:35.072Z","repository":{"id":52461970,"uuid":"291891146","full_name":"Shivansh-007/WebSearch","owner":"Shivansh-007","description":"Hi! For TWT's August Code-Jam we were tasked to create a \"generator\" themed project. Our team, Shivansh , FunkyMonkey, NMarco, wowzers, decided to create a website generator. Our project will ask the user for an input and then return a website on it with a definition, some fun facts on it, Youtube videos, news articles and relevant images. Have Fun!","archived":false,"fork":false,"pushed_at":"2021-04-28T13:33:26.000Z","size":246,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T12:02:03.007Z","etag":null,"topics":["awesome","dictionary","hacktoberfest","image-scrapping","python","scraping-websites","search-engine","website","wikipedia","wikipedia-api","youtube","youtube-api"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shivansh-007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-01T03:58:25.000Z","updated_at":"2024-12-20T15:59:03.000Z","dependencies_parsed_at":"2022-08-27T03:08:45.271Z","dependency_job_id":null,"html_url":"https://github.com/Shivansh-007/WebSearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivansh-007%2FWebSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivansh-007%2FWebSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivansh-007%2FWebSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shivansh-007%2FWebSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shivansh-007","download_url":"https://codeload.github.com/Shivansh-007/WebSearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253341963,"owners_count":21893546,"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","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":["awesome","dictionary","hacktoberfest","image-scrapping","python","scraping-websites","search-engine","website","wikipedia","wikipedia-api","youtube","youtube-api"],"created_at":"2024-11-16T08:18:29.535Z","updated_at":"2025-12-30T20:06:35.027Z","avatar_url":"https://github.com/Shivansh-007.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 1️⃣ WebSearch Project\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg) \n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n[![HitCount](http://hits.dwyl.com/{username}/{project-name}.svg)](https://github.com/Shivansh-007/TWT-Code-Jam)\n[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n:star: Star us on GitHub — it helps!\n\nHi! For TWT's August Code-Jam we were tasked to create a \"generator\" themed project. Our team, [Shivansh](https://github.com/Shivansh-007) , [FunkyMonkey](https://github.com/Roshannarma), [NMarco](https://github.com/marco-create), [wowzers](https://github.com/tshe777), decided to create a website generator. \nOur project will ask the user for an input and then return a website on it with a definition, some fun facts on it, Youtube videos, news articles and relevant images. Have Fun!\n\n##  Contributors\n\n\n|                                       [Shivansh](https://github.com/Shivansh-007)                                       |                                       [FunkyMonkey](https://github.com/Roshannarma)                                        |                                       [NMarco](https://github.com/marco-create)                                        |                                       [wowzers](https://github.com/tshe777)                                        |\n| :-----------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: | \n|                      [\u003cimg src=\"https://www.dalesjewelers.com/wp-content/uploads/2018/10/placeholder-silhouette-male.png\" width = \"200\" /\u003e](https://github.com/Shivansh-007)                       |                      [\u003cimg src=\"https://www.dalesjewelers.com/wp-content/uploads/2018/10/placeholder-silhouette-male.png\" width = \"200\" /\u003e](https://github.com/Roshannarma)                         |                      [\u003cimg src=\"https://www.dalesjewelers.com/wp-content/uploads/2018/10/placeholder-silhouette-male.png\" width = \"200\" /\u003e](https://github.com/marco-create)                      |                      [\u003cimg src=\"https://www.dalesjewelers.com/wp-content/uploads/2018/10/placeholder-silhouette-male.png\" width = \"200\" /\u003e](https://github.com/tshe777)                     |                      [\u003cimg src=\"https://www.dalesjewelers.com/wp-content/uploads/2018/10/placeholder-silhouette-male.png\" width = \"200\" /\u003e](https://github.com/Shivansh-007)                        |\n|                 [\u003cimg src=\"https://github.com/favicon.ico\" width=\"15\"\u003e ](https://github.com/Shivansh-007)               |            [\u003cimg src=\"https://github.com/favicon.ico\" width=\"15\"\u003e ](https://github.com/Roshannarma)              |           [\u003cimg src=\"https://github.com/favicon.ico\" width=\"15\"\u003e ](https://github.com/marco-create)           |          [\u003cimg src=\"https://github.com/favicon.ico\" width=\"15\"\u003e ](https://github.com/tshe777)         |\n| [ \u003cimg src=\"https://static.licdn.com/sc/h/al2o9zrvru7aqj8e1x2rzsrca\" width=\"15\"\u003e ](https://www.linkedin.com/) | [ \u003cimg src=\"https://static.licdn.com/sc/h/al2o9zrvru7aqj8e1x2rzsrca\" width=\"15\"\u003e ](https://www.linkedin.com/) | [ \u003cimg src=\"https://static.licdn.com/sc/h/al2o9zrvru7aqj8e1x2rzsrca\" width=\"15\"\u003e ](https://www.linkedin.com/in/marco-ninghetto-a0b983142/) | [ \u003cimg src=\"https://static.licdn.com/sc/h/al2o9zrvru7aqj8e1x2rzsrca\" width=\"15\"\u003e ](https://www.linkedin.com/) |\n\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#Usage)\n- [Setting Up APIs](#Setting-Up-APIs)\n- [Examples](#Exampl.es)\n    - [Search Page](#Search-Page)\n    - [Result](#Results-Page)\n    - [Screen Recording](#iScreenRecording)\n- [License](#License)\n- [Links](#Links-And-Resourcse)\n\n## Installation\n\n### Clone\n\n- Clone this repo to your local machine using `https://github.com/Shivansh-007/TWT-Code-Jam`\n\n\n**Linux**\n```shell\n$ sudo apt-get install python3.8-venv\n$ python3.8 -m venv venv\n```\nMove all the files from the cloned folder to this virtual venv\n\n```shell\n$ git clone https://github.com/Shivansh-007/WebSearch.git\n$ cd WebSearch\n$ pip install -r requirements.txt\n$ . bin/activate\n$ export FLASK_ENV=development\n$ export FLASK_APP=server.py\n$ flask run\n```\n\n**Windows**\n\n!! open PowerShell as ***Administrator***\n```PowerShell\n\u003e git clone https://github.com/Shivansh-007/WebSearch.git\n\u003e cd \\cloned\\repository\n\u003e Set-ExecutionPolicy Unrestricted -Force\n\u003e py -m pip install -r requirements.txt\n\u003e py -m pip install --upgrade pip\n\u003e py -m pip install --user virtualenv\n```\nFollowing commands always inside the cloned repository folder\n```PowerShell\n\u003e py -m venv env\n\u003e .\\env\\Scripts\\activate\n```\nRun the app\n```PowerShellv\n\u003e $env:FLASK_APP = \"server.py\"\n\u003e flask run\n```\n\n\n## Usage\n\nOnce everything is set, the command line should run like the following (example for Windows)\n\n![Picture](https://user-images.githubusercontent.com/53913990/91655073-5fc24e00-eaae-11ea-856a-05158fb4178a.png)\n\nJust copy the url and paste it into browser and go!\n\n## Setting Up APIs for YouTube ([check how to do it](https://www.youtube.com/watch?v=th5_9woFJmk\u0026t=185s)) :information_desk_person:\n\n\u003cdetails open\u003e\n\u003csummary\u003eSetting up the YouTube APIs!!\u003c/summary\u003e\n\u003cbr\u003e\n\n- Go to https://developers.google.com/ and log in or create an account, if necessary.\n- After logging in go to this link https://console.developers.google.com/project and click on the blue CREATE PROJECT button as depicted in the photo below. Wait a moment as google prepares your project.\n\n![Picture](http://www.slickremix.com/wp-content/uploads/2015/04/Screen-Shot-2016-08-06-at-4.12.36-PM.png)\n- Fill in whatever Project Name you want.\n\n![Picture](http://www.slickremix.com/wp-content/uploads/2015/04/Screen-Shot-2016-08-06-at-4.14.40-PM.png)\n- Then click GoogleAPIs link in the top left corner and then click the link option called “YouTube Data API v3” It’s under YouTube API’s. You can see it below:\n\n![Picture](https://plugins360.com/wp-content/uploads/2018/11/youtube-data-api-v3-box.png)\n- Now click on the “ENABLE” button.\n- Next click on the blue ‘Go to Credentials’ button to the right.\n\n![Picture](http://www.slickremix.com/wp-content/uploads/2015/04/Screen-Shot-2016-08-06-at-4.17.34-PM.png)\n- Choose the select option YouTube Data API v3 for the first select option and Web server(e.g. node js. Tomcat) for the second selection. Then choose Public data. Now click the blue button, “What credentials do I need?.”\n\n![Picture](http://www.slickremix.com/wp-content/uploads/2015/04/Screen-Shot-2016-08-06-at-4.21.07-PM.png)\n- Almost done, wait for google to create your new project and you should see the screen below where you can copy your API Key.\n\n![Picture](http://www.slickremix.com/wp-content/uploads/2015/04/Screen-Shot-2016-08-06-at-4.21.38-PM.png)\n- **Copy the API Key (it will be requested by the terminal)**\n\n\u003c/details\u003e\n\n## Examples\n\n### Search Page\n\nEnter the topic you'd like to look for and press ENTER\n\n![Picture](https://user-images.githubusercontent.com/53913990/91727640-44386f80-eba2-11ea-80e5-2cf0cb5e0fc0.png)\n\n### Results Page\n\n![Picture](https://user-images.githubusercontent.com/53913990/91800027-8efcca80-ec28-11ea-97aa-490ba8087a68.png)\n\n![Picture](https://user-images.githubusercontent.com/53913990/91800214-e13deb80-ec28-11ea-9730-9259c812c6d8.png)\n\n### Of course, sometimes something can go wrong\n\n404 error page\n\n![Picture](https://user-images.githubusercontent.com/53913990/91727915-a85b3380-eba2-11ea-9bde-27c43261ae93.png)\n\n### ScreenRecording\n\nTo be Done\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Sachin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n## Links And Resourcse\n\n- [Dictionary API](https://dictionaryapi.com/)  \n- [Wikipedia Library](https://pypi.org/project/wikipedia/)  \n- [Wikipedia API](https://pypi.org/project/Wikipedia-API/)  \n- [How to install Youtube API - easy](https://www.youtube.com/watch?v=th5_9woFJmk\u0026t=185s)  \n- [Google News API](https://pypi.org/project/GoogleNews/)\n- [Older Repo Of This Project 1](https://github.com/Shivansh-007/TWT-Code-Jam/graphs/contributors)\n- [Older Repo Of This Project 2](https://github.com/Roshannarma/code_jam/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivansh-007%2Fwebsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivansh-007%2Fwebsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivansh-007%2Fwebsearch/lists"}