Inspiration

You must have an old phone you're not using, right? Do you also want a home security system? Well, Amazon Ring and Google Nest security cameras are expensive! More and more people get security cameras for their properties each year. Whether it's doorbell cameras or plain old exterior cameras, the demand for home security is increasing. That's why we made Secruxity, an easy-to-use AI powered security system.

What it does

Secruxity repurposes old devices (phones, tablets, etc) into security cameras. Simply set up the web server on your computer, access it on your phone, and give the web server camera permissions. From there, access the 'output' page on your computer and see the live video feeds from all the cameras you set up.

How we built it

We built Secruxity with Cloudflare and Google Gemini in the backend and NextJS in the frontend. Cloudflare is used to handle secure HTTPS transmission of video broadcasts. Google Gemini is used for its vision capabilities to analyse what's going on in the video feed and provide summaries of what's happened in the past. NextJS is used to display everything the user sees from their computer.

Challenges we ran into

We had difficulty transmitting phone camera feeds to a computer. We could do one computer to another, but only if BOTH had our project compiled and running. Of course, you can't compile and run NextJS on a phone locally, so we had to get creative. We used Cloudflare to host everything on the computer and have the phone simply access what's being hosted.

Accomplishments that we're proud of

We're proud that we managed to get such a robust camera system working in such a short amount of time. The user can have tons of cameras going at once and view them all from one screen. It's also pretty cool we made this all for a hackathon.

What we learned

We learned the ins and outs of Cloudflare, how to use Gemini API, and web development on NextJS. All in all, this project was a good way to get a taste of what it's like to build a secure platform for tramsitting videos.

What's next for Secruxity

In the future, it would be neat to allow users to login and view the camera feeds elsewhere.... maybe we could integrate Supabase :)

Share this project:

Updates