{"id":19539034,"url":"https://github.com/mzakharo/smartbow","last_synced_at":"2025-04-19T12:57:15.854Z","repository":{"id":148449951,"uuid":"309191672","full_name":"mzakharo/smartbow","owner":"mzakharo","description":"Pair a smartphone to a bow","archived":false,"fork":false,"pushed_at":"2021-04-13T14:13:02.000Z","size":27746,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T08:05:21.622Z","etag":null,"topics":["archery","bow","conda","digital-wellbeing","influxdb","kivy","numpy","orientation-sensor","python","python-for-android","sensors"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mzakharo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-11-01T21:27:58.000Z","updated_at":"2024-09-08T17:57:41.000Z","dependencies_parsed_at":"2023-05-01T04:55:42.336Z","dependency_job_id":null,"html_url":"https://github.com/mzakharo/smartbow","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzakharo%2Fsmartbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzakharo%2Fsmartbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzakharo%2Fsmartbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mzakharo%2Fsmartbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mzakharo","download_url":"https://codeload.github.com/mzakharo/smartbow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249699487,"owners_count":21312407,"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":["archery","bow","conda","digital-wellbeing","influxdb","kivy","numpy","orientation-sensor","python","python-for-android","sensors"],"created_at":"2024-11-11T02:37:50.393Z","updated_at":"2025-04-19T12:57:15.827Z","avatar_url":"https://github.com/mzakharo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![APK build using buildozer](https://github.com/mzakharo/smartbow/workflows/APK%20build%20using%20buildozer/badge.svg)\n\n#  Project description\n\n* Augment your bow with cybertech from your smartphone\n* Count arrows shot\n* Orientation view for stability/consistency analsysis\n\n\u003cimg src=\"/extra/DSC_0482.JPG\"  width=\"400\" height=\"600\"\u003e\n\n* Developed and tested with Galaxy S10\n* [Bow Phone Mount](https://www.amazon.ca/Smartphone-Camera-Phone-IPhone-Samsung/dp/B00BVF6V5Q)\n\n## Installation\n - Method 1 : [Play Store](https://play.google.com/store/apps/details?id=org.org.smartbow)\n - Method 2 : Download and install the latest APK from the Artifacts of the [Actions section](https://github.com/mzakharo/smartbow/actions)\n\n##  InfluxDB setup (Optional)\n\n * Upload raw orientation/accelerometer data for each shot into your private InfluxDB instance, for offline analsys/data science\n![InfluxDB](/extra/influx.png?raw=true \"Orientation\")\n * You can obtain a free [InfluxDB account](https://cloud2.influxdata.com/signup)\n * Edit and add a [smartbow_config.json](/smartbow_config.json) to the root of the internal storage (`/sdcard`)\n\n# APK Build instructions\n\nTested on Ubuntu 20.04.\n\n## Add to .bashrc\n```export PATH=$HOME/.local/bin/:$HOME/.buildozer/android/platform/android-sdk/platform-tools/:$PATH```\n\n## Prep for buildozer\n```\n#  from https://buildozer.readthedocs.io/en/latest/installation.html#android-on-ubuntu-20-04-64bit\nsudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev libssl-dev\nsudo apt install ccache\n```\n\n## Setup native runtime environment\n\nDownload and install [conda](https://docs.conda.io/en/latest/miniconda.html)\n```\n conda install -c conda-forge kivy\n conda install cython numpy\n pip install -r  requirements.txt\n```\n\n## run the app on the desktop\n```python main.py```\n\n## build the mobile .apk\n ```make```\n \n## install the .apk\n```make install```\n\n## log\n```./logcat.sh```\n\n## Linux adb permissions \n```\nlsusb  to get vendor/product\ncp 51-android.rules /etc/udev/rules.d/\nsudo udevadm control --reload-rules\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzakharo%2Fsmartbow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmzakharo%2Fsmartbow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmzakharo%2Fsmartbow/lists"}