Compare commits
2 Commits
production
...
2217bd5855
| Author | SHA1 | Date | |
|---|---|---|---|
| 2217bd5855 | |||
| fa5d59b069 |
@@ -1,5 +0,0 @@
|
|||||||
fly.toml
|
|
||||||
.git/
|
|
||||||
__pycache__/
|
|
||||||
.envrc
|
|
||||||
.venv/
|
|
||||||
15
Dockerfile
15
Dockerfile
@@ -1,15 +0,0 @@
|
|||||||
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,18 +1,22 @@
|
|||||||
# Torn User Activity Scraper
|
# Torn User Activity Tracker
|
||||||
|
|
||||||
|
> [!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 and statistics
|
- View scraping results
|
||||||
|
- 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
|
- Additional analyses plugins
|
||||||
- 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
20
fly.toml
@@ -1,20 +0,0 @@
|
|||||||
# 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'
|
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user