Initial commit
This commit is contained in:
43
README.md
Normal file
43
README.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Webbplatsanalys
|
||||
|
||||
Analysera webbplatser och generera PDF-rapporter.
|
||||
|
||||
## Snabbstart
|
||||
|
||||
```bash
|
||||
nix-shell
|
||||
python webbanalys.py run https://example.com -c "Företag AB"
|
||||
```
|
||||
|
||||
## Kommandon
|
||||
|
||||
| Kommando | Beskrivning |
|
||||
| ---------- | --------------------------------- |
|
||||
| `scan` | Kör Unlighthouse-analys |
|
||||
| `generate` | Generera PDF från befintlig data |
|
||||
| `run` | Analysera + generera (allt-i-ett) |
|
||||
| `init` | Spara kunduppgifter |
|
||||
| `info` | Visa status |
|
||||
|
||||
## Exempel
|
||||
|
||||
```bash
|
||||
# Endast analys
|
||||
python webbanalys.py scan https://colix.se -s 5
|
||||
|
||||
# Endast rapport (kräver befintlig data)
|
||||
python webbanalys.py generate -c "Colix AB"
|
||||
|
||||
# Allt-i-ett
|
||||
python webbanalys.py run https://colix.se -c "Colix AB" -s 3
|
||||
```
|
||||
|
||||
## Flaggor
|
||||
|
||||
| Flagga | Beskrivning |
|
||||
| ---------------- | -------------------------- |
|
||||
| `-s, --samples` | Antal samples per sida (3) |
|
||||
| `-c, --customer` | Kundnamn |
|
||||
| `-u, --url` | Webbplats-URL |
|
||||
| `-o, --output` | Utdatafil |
|
||||
| `-l, --logo` | Logotyp (PNG/SVG) |
|
||||
Reference in New Issue
Block a user