diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 6c20a39..e55bca7 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -12,6 +12,11 @@ jobs: - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v4 + - name: Lint Markdown files + uses: actions/markdownlint-cli2-action@v17 + with: + globs: | + **/*.md - name: Create Python virtualenv run: | mkdir -p .cache diff --git a/README.md b/README.md index 9038e74..7084dee 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,15 @@ # pacer2influxdb -export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp) data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/) +export [Pacer](https://play.google.com/store/apps/details?id=cc.pacer.androidapp) +data to [InfluxDB](https://www.influxdata.com/products/influxdb-overview/) - * requires Python 3, `influxdb-python` and `sqlite-python` - * original code from https://github.com/korjavin/sqlite2influxdb and https://github.com/influxdata/influxdb-python - * sqlite database is `/data/data/cc.pacer.androidapp/databases/MDData.db` on an Android device, may need root privileges to get it - * collects steps, distance, active time and calories - * for now InfluxDB database needs to be created first - * incremental feed: just insert missing points - * [Grafana](https://grafana.com/) dashboard export in json format is included, adjust datasource name +* requires Python 3, `influxdb-python` and `sqlite-python` +* original code from [https://github.com/korjavin/sqlite2influxdb](https://github.com/korjavin/sqlite2influxdb) +and [https://github.com/influxdata/influxdb-python](https://github.com/influxdata/influxdb-python) +* sqlite database is `/data/data/cc.pacer.androidapp/databases/MDData.db` on an +Android device, may need root privileges to get it +* collects steps, distance, active time and calories +* for now InfluxDB database needs to be created first +* incremental feed: just insert missing points +* [Grafana](https://grafana.com/) dashboard export in json format is included, +adjust datasource name