Project Info
This project did not submit a demo video on Devpost.
Inspiration
As a muslim, the inspiration for HalalScan came from the challenges that many Muslims (including myself) face in finding halal food options. As a team, we wanted to create a tool that makes it easier for people to identify halal and non-halal ingredients in food products quickly and accurately.
What it does
HalalScan is a website that lets users to input ingredient lists, and identifies whether the ingredients are Halal or Haram thanks to OpenAI's technology. It simplifies the decision-making process for individuals and manufacturers by providing clear results. The user takes a photo, copies the text from the image (a feature often seen in both Apple and Android phones), pastes it in the textbox, presses on the submit button, and awaits for their result (either HALAL, meaning islamically permissible, or HARAM, meaning islamically impermissible).
How we built it
HalalScan was built using HTML, CSS, JavaScript, OpenAI's API, and a lot of help from ChatGPT. We used the following prompt: `If the following ingredient list includes the words alcohol, pork, ham, bacon, gelatin, output the word HARAM alone and if it doesnt include those words output the word HALAL alone: '${ingredientText}'
Challenges we ran into
Our initial attempt in building HalalScan involved exploring technologies like MindsDB and Reflex, but due to time constraints and slow internet connectivity, we decided to focus on a more simple and straightforward web-based solution.
Accomplishments we're proud of
We actually finished building it on time We built something functional!! We built something people truly want Learning more about APIs in general
What we learned
Adaptability is key. Sometimes the simplest method (i.e not using every sponsor's technology) is what leads to success.
What's next
We hope to rely less on OpenAI and build a model of our own. We could also explore potential collaborations and partnerships to make HalalScan readily available to a wider audience.
This repository has no readme, or GitHub could not be reached.
Analysis
View
Metric
- 1
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- HTMLIn code
- JavaScriptClaimed
2 of 3 appear in the indexed code. 1 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
4.6 KB
Source files
2
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
lalabbad0/calhacks_2023
3 files · 20 KB · @ 5ac099e
Structure
Interface
2 files · 67%Screens, components and styles rendered to the user.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- HTML65%
- CSS35%
Share of indexed source by file size. Binary and vendored files are excluded.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.