Skip to content

Instantly share code, notes, and snippets.

@nilsbaier-cmd
nilsbaier-cmd / generate_analysis.py
Created December 24, 2025 21:47
Fixed CASA generate_analysis.py
#!/usr/bin/env python3
"""
Generate static JSON analysis files from INAD and BAZL Excel data.
This script is run by GitHub Actions when new data is uploaded.
"""
import json
import os
import sys
from datetime import datetime
@nilsbaier-cmd
nilsbaier-cmd / workflow.yml
Created December 24, 2025 01:25
Fixed CASA workflow file
name: Analyze Data and Deploy
on:
push:
paths:
- 'data/**'
branches:
- main
workflow_dispatch:
@nilsbaier-cmd
nilsbaier-cmd / Configuration.jsx
Created December 24, 2025 00:59
CASA Dashboard v2 - GitHub Actions Setup Files
import React, { useState, useEffect } from 'react';
import { Settings, Save, RefreshCw, Upload, Server, FileSpreadsheet, Github, ExternalLink } from 'lucide-react';
import { useData } from '../context/DataContext';
const Configuration = ({ translations = {} }) => {
const {
config,
updateConfig,
uploadFiles,
loadServerFiles,