Complete installation and configuration guide for the AI Security Intelligence Engine.
git clone <repository-url>
cd neo-notebook.github.io
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt
Edit config/sources.yaml to add your RSS feeds:
sources:
- name: "Your Source Name"
type: "rss"
url: "https://example.com/feed.xml"
category: "security_research"
credibility_tier: "medium"
enabled: true
python src/main.py --mode daily
This will:
python -c "
from src.outputs.json_generator import JSONGenerator
from src.outputs.pdf_generator import PDFGenerator
import json, glob
# Load last 30 days
items = []
for f in glob.glob('private/feeds/*.json'):
with open(f) as file:
items.extend(json.load(file)['items'])
# Generate weekly outputs
JSONGenerator().generate_trends(items, 'docs/public/data/trends_30d.json')
PDFGenerator().generate_weekly_brief(items[:50], 'private/artifacts/weekly_brief.pdf')
"
main/docs/publicIf using cloud LLM instead of Ollama:
OLLAMA_URL or LLM_API_KEYGitHub Actions will automatically run:
For local LLM summarization:
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull model
ollama pull llama3.2
# Start Ollama (runs on localhost:11434)
ollama serve
The pipeline will automatically use Ollama if available, otherwise falls back to metadata-based summaries.
Edit config/scoring_weights.yaml:
dimensions:
relevance:
weight: 0.35 # Adjust to prioritize different dimensions
Edit config/sources.yaml and set enabled: true/false
Edit config/tags_taxonomy.yaml to add custom tags
enabled: true in sources.yamlcurl <feed-url>PYTHONPATH=. pytest tests/ -v
.github/workflows/├── .github/workflows/ # GitHub Actions
├── config/ # Configuration files
├── docs/ # Documentation
│ └── public/ # GitHub Pages site
├── private/ # Private outputs (gitignored)
│ ├── feeds/ # Daily archives
│ └── artifacts/ # Weekly PDFs, drafts
├── src/ # Python source code
└── tests/ # Test suite
config/sources.yamlhttps://<username>.github.io