{"id":21288170,"url":"https://github.com/karitham/idiot","last_synced_at":"2025-03-15T15:27:17.424Z","repository":{"id":171374149,"uuid":"647764010","full_name":"karitham/iDIoT","owner":"karitham","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-30T08:07:52.000Z","size":2462,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"prod","last_synced_at":"2025-01-22T05:29:46.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karitham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-31T13:23:52.000Z","updated_at":"2023-06-28T14:34:29.000Z","dependencies_parsed_at":"2023-07-04T09:05:49.087Z","dependency_job_id":null,"html_url":"https://github.com/karitham/iDIoT","commit_stats":null,"previous_names":["karitham/idiot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karitham%2FiDIoT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karitham%2FiDIoT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karitham%2FiDIoT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karitham%2FiDIoT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karitham","download_url":"https://codeload.github.com/karitham/iDIoT/tar.gz/refs/heads/prod","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243748538,"owners_count":20341700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T12:19:04.013Z","updated_at":"2025-03-15T15:27:17.417Z","avatar_url":"https://github.com/karitham.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iDIoT\n\niDIoT is the i of the iPhone (or the iBlitzcrank), but with IoT and Domotics.\n\n## Usage\n\nWe host versions for your own use on our server, and have a [demo hosted version](https://web.idiot.0xf.fr).\n\nTo use it yourself, you will need to have installed:\n\n- Docker Compose\n- NodeJS\n\nYou would also need some microcontrollers with sensors to actually gather data from, but we are planning on having a demo for this that doesn't require microcontrollers.\n\nThe default values are not production safe, do not hesitate to contact us if you want to deploy a production set-up and we would be happy to assist.\n\nAll of the infrastructure can be simply started with `docker compose up -d` from the root of the repo\n\nTo get the frontend running, you will need to edit the `API_URL` on the frontend side to point to your deployment.\n\nOn windows, you will have to manually go edit the [`client.ts`](./front/src/api/client.ts) file, and on unix you can use this script.\n\n```sh\n# We replace the demo api with a local one.\nsed -i \"s~'https://api.idiot.0xf.fr/v1'~'http://localhost:7667/v1'~\" ./front/src/api/client.ts\n```\n\nOnce that's done, you just have to create yourself a user;\n\n```sh\ndocker exec api ./main db user add --admin --name $MY_NAME --email $MY_EMAIL --password $MY_PASSWORD\n```\n\nNow, all the infrastructure should be ready to welcome you, and you only have to run the frontend.\n\n```sh\ncd front; npm i; npm run dev\n```\n\nThe frontend should then be available at `http://localhost:5173` and you can login with your credentials\n\n\u003c!-- TODO(@Karitham): Prod setup --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaritham%2Fidiot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaritham%2Fidiot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaritham%2Fidiot/lists"}