AndroidDevices is a website built in Vapor 2 that keeps track of all HomeKit accessories available in the market. Accessories are divided in 18 official categories to make it easier to find the perfect accessory for your needs. You can search any accessory by its name or manufacturer and directly open its official website to find more information.
To get started with AndroidDevices, make sure you have installed Vapor on your machine. Please follow the official guide. Make sure to also install PostreSQL since HomeKitty uses it as database. Postgres app should work fine.
Enough with the dependencies, clone the repo.
$ git clone https://github.com/RishabhTayal/AndroidDevices
You can now choose to build via command line, or use Xcode. Who doesn't love Xcode? ๐
- Terminal:
vapor build && vapor run serve
- Xcode:
vapor xcode -y
and thenCMD+R
.
HomeKitty has a very simple architecture. The Sources
folder contains two folders:
- Run: contains
main.swift
and it's the starting point of the application. - App: contains all the controllers (route handlers), models and helper methods.
There are some basic tests in the Tests folder.
We would love to have you onboard and help us shape the future of AndroidDevices. We have a ton of new features and bug fixes ready for you in the issues.
In case you need help or simply have a technical question, join us in the #development channel in our Slack.
All accessories are stored in a PostgreSQL database. If you are interested in contributing with new accessories which are release everyday, let me know and we can try to find a solution and open them up to the community to improve the database.
During development, it's possible to seed the database with some example data for debugging purposes. Execute the seed.sh
in the Scripts folder:
$ ./Scripts/seed.sh
I'm Patrick Balestra. Email: [email protected] Twitter: @RishabhTayal.
Special thanks to @BalestraPatrick
AndroidDevices
is available under the MIT license. See the LICENSE file for more info.
Please don't re-publish the project as it is under your name. Feel free to use it a starting point for any of your other side projects though.