Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chauveaul/inquire-the-site
A simple program written in JavaScript that will use ai to answer any question using content from all sub-urls of a website to answer
https://github.com/chauveaul/inquire-the-site
Last synced: about 1 month ago
JSON representation
A simple program written in JavaScript that will use ai to answer any question using content from all sub-urls of a website to answer
- Host: GitHub
- URL: https://github.com/chauveaul/inquire-the-site
- Owner: chauveaul
- License: mit
- Created: 2024-05-05T02:24:57.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T13:36:07.000Z (about 2 months ago)
- Last Synced: 2024-11-06T14:26:07.600Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://inquire-the-site.web.app
- Size: 460 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Inquire the Site
Inquire the site is a web application powred by AI that crawls through a given url to find precise information about a specific question
## ๐ค How to use it
To start making the best of Inquire the Site, head over to this [link](https://inquire-the-site.web.app)
### Choose a base link
This will let the application know where to start its search from. Grab the link of something that you want to know more about (ex. give the site of a university and ask for more information about their programs). After that, tell the program how long it can search for (default is 10 seconds) before terminating its search if it wasn't conclusive.![1](https://github.com/user-attachments/assets/24f6da59-db12-4659-b939-96a47f4e3b02)
![Screenshot 2024-11-06 at 8 24 05โฏAM](https://github.com/user-attachments/assets/931a0828-b231-4979-a071-7be0f8dabb68)
### Ask a question
Now that the base link is set, you can ask a question and let Inquire the Site do the rest. If no answer was found, you can either reformulate your question or increase the search time as mentioned above.![3](https://github.com/user-attachments/assets/49f3669e-b0d2-4d85-a4e2-ba6497768965)
### Change your profile picture
Inquire the Site has an auth system and you can make an account to change the profile picture. To do so, head over to the top right corner of your screen and click on the account icon. Then, follow the registration steps and head back to the account icon every time you want to make modifications to your account.![4](https://github.com/user-attachments/assets/113bff16-da64-4d3c-835d-149c38128361)
![6](https://github.com/user-attachments/assets/e6aeb2cb-4381-46ab-96b7-7926a6304a41)
## ๐คจ How it was made
### Frontend
The frontend was made entirely with vanilla JavaScript, HTML and CSS.### Backend
The backend was realized with firebase. I utilized their authentication to make the implementation much easier, I utilized firestore to store the account data, such as User ID and profile pictures, and I used server-side functions to make ai requests### Logic
The logic of Inquire the Site is pretty straightforward. When you ask a question, it is sent to an openai model to interpret its keywords. After that, we crawl the given website and look for any references of the keywords in the page header title and once we find a conclusive match, we scrape the HTML contents and give it to the openai model once again to summarize everything.# โ๏ธ License
Inquire the Site is licensed under the [MIT License](LICENSE)