Compare commits
1 Commits
2217bd5855
...
production
| Author | SHA1 | Date | |
|---|---|---|---|
| 07e3af444c |
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
fly.toml
|
||||||
|
.git/
|
||||||
|
__pycache__/
|
||||||
|
.envrc
|
||||||
|
.venv/
|
||||||
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
FROM python:3.13.1 AS builder
|
||||||
|
|
||||||
|
ENV PYTHONUNBUFFERED=1 \
|
||||||
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
||||||
|
RUN python -m venv .venv
|
||||||
|
COPY requirements.txt ./
|
||||||
|
RUN .venv/bin/pip install -r requirements.txt
|
||||||
|
FROM python:3.13.1-slim
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=builder /app/.venv .venv/
|
||||||
|
COPY . .
|
||||||
|
CMD ["/app/.venv/bin/flask", "run", "--host=0.0.0.0", "--port=8080"]
|
||||||
10
README.md
10
README.md
@@ -1,22 +1,18 @@
|
|||||||
# Torn User Activity Tracker
|
# Torn User Activity Scraper
|
||||||
|
|
||||||
> [!WARNING]
|
|
||||||
> **Development is still in its early stages; do not put it to productive use!**
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Start and stop scraping user activity data
|
- Start and stop scraping user activity data
|
||||||
- View real-time logs
|
- View real-time logs
|
||||||
- Download data and log files
|
- Download data and log files
|
||||||
- View scraping results
|
- View scraping results and statistics
|
||||||
- Plugin based analysis system
|
|
||||||
- Toggle between light and dark mode
|
- Toggle between light and dark mode
|
||||||
|
|
||||||
**Note:** Many features are not fully implemented yet, but the activity tracker/grabber works as intended.
|
**Note:** Many features are not fully implemented yet, but the activity tracker/grabber works as intended.
|
||||||
|
|
||||||
## Planned Features
|
## Planned Features
|
||||||
|
|
||||||
- Additional analyses plugins
|
- Additional analyses
|
||||||
- Selector for Torn API data to choose which data shall be tracked
|
- Selector for Torn API data to choose which data shall be tracked
|
||||||
- Improved / fixed log viewer
|
- Improved / fixed log viewer
|
||||||
|
|
||||||
|
|||||||
20
fly.toml
Normal file
20
fly.toml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# fly.toml app configuration file generated for tornactivitytracker on 2025-02-11T02:59:23+01:00
|
||||||
|
#
|
||||||
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||||
|
#
|
||||||
|
|
||||||
|
app = 'tornactivitytracker'
|
||||||
|
primary_region = 'fra'
|
||||||
|
|
||||||
|
[build]
|
||||||
|
|
||||||
|
[http_service]
|
||||||
|
internal_port = 8080
|
||||||
|
force_https = true
|
||||||
|
auto_stop_machines = 'stop'
|
||||||
|
auto_start_machines = true
|
||||||
|
min_machines_running = 0
|
||||||
|
processes = ['app']
|
||||||
|
|
||||||
|
[[vm]]
|
||||||
|
size = 'shared-cpu-2x'
|
||||||
428
tests/analyses.ipynb
Normal file
428
tests/analyses.ipynb
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user