1
0

some design, data model, data migration script

This commit is contained in:
2025-06-27 12:36:25 +02:00
commit d43e2651c5
8 changed files with 372 additions and 0 deletions

50
DESIGN.md Normal file
View File

@@ -0,0 +1,50 @@
# features
* register
* list
* filter
* stats panel
* stats collector
* failure counter
# MVP
- [ ] homepage
- [ ] form to register an instance
- [ ] check for duplicates
- [ ] grab first stats : version, users, groups, events
- [ ] if fail, set failure to 1
- [ ] confirmation page
- [ ] instances list, no pagination
- [ ] abuse link
- [ ] cron
- [ ] select instances where failure < max_failure
- [ ] for each entry, fetch stats
- [ ] if fail, set failure to failure+1
- [ ] if success, set failure = 0
- [ ] stats page
- [ ] instances over time area chart
- [ ] users over time area chart
- [ ] events over time area chart
- [ ] groups over time area chart
- [ ] versions pie chart
- [ ] languages pie chart (user weighted ?)
- [ ] location pie chart
# impl
## stack
1) sqlpage
* webapp: sqlpage
* cron : ?
2) python web framework
django / flask / microdot / webpy