A personal touch goes a long way in an online interactions, where things can feel disconnected or distant. This is meant to serve as a hub for personal data to which I can use to build personal interactions with on my projects.
Through the Shortcuts application on my iOS device, and other on-hand physical device integrations such as smart watches, IoT devices, and more, I'm able to send data to this API to which it can be readily served on projects.
You can install these on your own devices, and use this project as you please to build similar integrations. Most of these work well in automations which activate automatically, sans-prompt at sunrise, sunset, or at any point in the day.
- Send Generalized Location
- This template will allow you to send an API request to the
/location
endpoint with the generalized location information of the device it is run on.
- This template will allow you to send an API request to the
Add Shortcut by URL
sqtU54u.mp4
Create Recurring Automation
CcJ2bTR.mp4
- Docker
- NodeJS
- yarn
First start off by cloning this repository.
git clone git@github.com:ridafkih/i.git
After that, navigate into the directory and install dependencies.
cd i
yarn
Once that's done, setup your .env
file in the root directory according to the adjacent .env.example
file.
Launching the project locally is easy, using Docker, Prisma, and NodeJS.
Start off by launching the database, and preparing the data schema. Make sure you have the Docker engine running for this part.
yarn database:up
yarn prisma:mix
Once that's done, run the data migrations.
yarn prisma:migrate:dev
Finally, you can run the microservice itself.
yarn dev
This will watch the directory for changes, so you can iterate quickly.