Skip to content

Instantly share code, notes, and snippets.

View rothnic's full-sized avatar

Nick Roth rothnic

View GitHub Profile
@rothnic
rothnic / POLICY_COMPLIANCE_README.md
Created April 9, 2026 14:43
Reddit Personal Bookmark Organizer - Full Data API Terms compliance with line-by-line policy mapping

Reddit Personal Assistant - Policy Compliance Documentation

This document maps every requirement in Reddit's Data API Terms and Responsible Builder Policy to specific implementations in the code.

Script File: reddit_personal_assistant.py
Policy References:


@rothnic
rothnic / privacy_policy.md
Created April 8, 2026 20:26
Privacy Policy for Personal Reddit Script - Compliance with Reddit Data API Terms Section 2.6

Privacy Policy for Personal Reddit Script

Last Updated: April 8, 2026 Script Owner: u/rothnic Purpose: Personal bookmark organization


1. Data Collection

@rothnic
rothnic / reddit_content_processor.py
Created April 8, 2026 20:11
Reddit Content Processor - Extracts knowledge from saved posts for project research (not data archival)
#!/usr/bin/env python3
"""
Reddit Content Processor for Project Research
This script processes saved Reddit content to extract knowledge for
active projects - not to archive Reddit data, but to extract useful
references, URLs, and entities from content I've explicitly saved.
Processing Pipeline:
1. Fetch saved posts (content I've explicitly bookmarked)
@rothnic
rothnic / reddit_api_example.py
Created April 8, 2026 19:00
Personal Reddit data archiver - read-only access to own saved/upvoted content for knowledge management
#!/usr/bin/env python3
"""
Reddit Personal Data Ingestion Script
This script demonstrates read-only access to a user's own Reddit data
for personal knowledge management purposes. It retrieves saved posts
and upvoted content for ingestion into a private knowledge base.
This is NOT a bot that interacts with other users or posts publicly.
It ONLY accesses the authenticated user's own data.
@rothnic
rothnic / README.md
Last active April 6, 2026 15:27
OpenCode Debug Proxy - Complete traffic capture and analysis tool

OpenCode Debug Proxy

A comprehensive debugging and traffic capture tool for OpenCode that captures all API traffic, exports session data (including subagents), and automatically generates analysis summaries.

Overview

This tool creates a complete debug capture of your OpenCode sessions including:

  • Full HTTP traffic with request/response bodies (sanitized)
  • Session data export (parent + all subagent sessions)
  • Automatic analysis (errors, slow API calls, key parts)
@rothnic
rothnic / weave-config-anonymized.jsonc
Created April 5, 2026 13:58
Weave Multi-Agent Orchestration Configuration - anonymized example
{
// Weave Multi-Agent Orchestration Configuration
// Docs: https://tryweave.io/
// Agent model overrides - customize per-agent behavior
"agents": {
"loom": {
// Main orchestrator
"model": "kimi-for-coding/k2p5",
"temperature": 0.1,
@rothnic
rothnic / hermes-tui.log
Created April 4, 2026 22:03
Kimi K2.5 Hermes Failed Tool Calls Due to Colon
╭─ ⚕ Hermes ───────────────────────────────────────────────────────────────────────────────────╮
Let me search for Honcho-related sessions:
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
┊ 🔍 preparing session_search…
╭─ ⚕ Hermes ───────────────────────────────────────────────────────────────────────────────────╮
<invoke name="session_search">
<parameter name="query">honcho docker restart config</parameter>
</invoke>
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
@rothnic
rothnic / reddit-fetcher.ts
Created March 14, 2026 14:52
Reddit Upvoted/Saved Posts Fetcher - Bun/TypeScript with tracking
/**
* Reddit Data Fetcher
* Fetches upvoted posts and saved bookmarks from Reddit
* Tracks processed items to avoid duplicates
*
* Usage:
* bun run reddit-fetcher.ts
*
* Requires:
* - Reddit app credentials (client_id, client_secret)
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/refs/heads/master/schema.json",
"basics": {
"additionalDetails": {
"applicationAnswers": {
"usCitizenshipRequiredRoles": {
"usCitizen": true,
"note": "U.S. citizen."
}
},
@rothnic
rothnic / mqttcomm.py
Created September 20, 2023 19:23
cassandra mqtt connection test
import logging
logger = logging.getLogger(__name__)
import time
import json
import paho.mqtt.client as mqtt
import pandas as pd
import random
from src.backend.data import datatodf, roverdata, mapdata