flopp / activities Goto Github PK
View Code? Open in Web Editor NEWYour self-hosted activities overview (running, cycling, ...). Synced with Strava.
Home Page: https://activities.flopp.net
License: MIT License
Your self-hosted activities overview (running, cycling, ...). Synced with Strava.
Home Page: https://activities.flopp.net
License: MIT License
This came up on Reddit: https://www.reddit.com/r/Strava/comments/i04vus/webapp_that_shows_your_strava_activities/fzuxh6z
Transform the project into a full multi-user website, where anyone can connect to with their Strava account.
Currently, the filter page only displays the number of matching activities.
Add some more statistics about the matching activities, e.g.
The map is not usable in mobile view when the activities list/sidebar is open.
-> show prev/next buttons to jump to the previous/next activity when the sidebar is closed.
One could also save the authentication data in the SQLite database. We could then get rid of the account.json
"config" file.
Is this on purpose or a regression ?
I think it would be handy to store data in a sqlite3 db to make it faster and simplier to query ?
What do you think about ?
Display all points-of-interest from the configures POI file on the map.
Feature request:
Display a heatmap for the activities matching the current filter settings, e.g. via https://www.patrick-wied.at/static/heatmapjs/ as in https://github.com/flopp/exposure
similar to Strava's "Training Log":
Show a small activity info box with essential attributes (name, distance, ...) when the sidebar is closed.
but without deleting the auth tokens!
Via Reddit: https://www.reddit.com/r/Strava/comments/i04vus/webapp_that_shows_your_strava_activities/fzuxh6z
probably when the access token expires soon
Add a the activity type ("Run", "Hike", ...) to each activity box.
This would require to fetch the full activity data from Strava
Following your README.md I ran
git clone https://github.com/flopp/activities.git
cd activities
python3 -m venv .env
.env/bin/pip install --upgrade pip
.env/bin/pip install .
on a Ubuntu 21.04 container on proxmox as well as WSL Ubuntu, which resulted in the following error
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects
I think strava api offer this attr, or maybe we can let user config the attrs in config.js?
For #42 the DB schema needs to be extended. How to do this in Sqlalchemy such that old DB files can still be loaded (and extended on the fly)?
It would be great to be able to have a table with sorting for all filtered actvities
I think that's what we need because more and more running app close their websites, as https://www.nike.com/nrc-app and https://www.runtastic.com/en/web-update
Thank you very much.
Since the latest Strava activity is the one that is probably being edited later on (e.g. title change, etc.), it would be nice if it was refetched/synced on each call.
This is especially important when running in an unsupervised mode (e.g. via a cronjob).
With the last commit, heatmap is available but not without selecting a activity
Like what you did in GpxTrackPoster :)
Opening an URL like https://activities.flopp.net/#3608420246 should directly show the corresponding activity.
The fragment can be access via window.location.hash
(https://developer.mozilla.org/en-US/docs/Web/API/Location/hash).
Maybe use the History API (https://developer.mozilla.org/en-US/docs/Web/API/History) to modify the URL when selection/showing an activity.
Hello Florian, I'm interested by your dev and could give a hand :)
What should I add in config.json to make it work ?
E.g. via eslint
. Of course this requires npm
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.