Implement social media data collection, LLM-powered Rust analysis backend, and GitHub Actions scheduling#1
Draft
Implement social media data collection, LLM-powered Rust analysis backend, and GitHub Actions scheduling#1
Conversation
…ions workflows Agent-Logs-Url: https://github.com/CambrianTech/KashCompiler/sessions/05916574-c413-4002-ac11-34db03445aa1 Co-authored-by: joelteply <347104+joelteply@users.noreply.github.com>
…tions conditional Agent-Logs-Url: https://github.com/CambrianTech/KashCompiler/sessions/05916574-c413-4002-ac11-34db03445aa1 Co-authored-by: joelteply <347104+joelteply@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add data gathering from social media APIs
Implement social media data collection, LLM-powered Rust analysis backend, and GitHub Actions scheduling
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Greenfield implementation of the KashCompiler platform: scheduled social media ingestion via pluggable TypeScript adapters, Prisma ORM persistence, and a Rust analysis backend with pluggable LLM-driven algorithms.
TypeScript collector (
packages/collector/)SocialPost,SocialUser,CollectionRun,AnalysisResult) mirrored in Prisma ORM (SQLite dev / Postgres prod)BaseAdapterabstract class +AdapterRegistryfor runtime-pluggable sourcesGrokAdapter— xAI Grok search APITwitterAdapter— Twitter/X v2 recent search (******RedditAdapter— Reddit public hot posts (no auth required)savePosts,createCollectionRun,finalizeCollectionRunrunners/collect.ts) — fully env-var-driven; consumed directly by GitHub ActionsRust analyzer (
crates/analyzer/)LlmProvidertrait —GrokProvider(xAI) andOpenAiProvider(OpenAI-compatible); swap or add providers without touching pipeline codeAlgorithmtrait —SentimentAlgorithm(keyword heuristic with optional LLM override) andTrendAlgorithm(tag aggregation + LLM summary)AnalysisResultJSON;--llm nonefalls back to offline heuristicsGitHub Actions
collect.yml— scheduled every 6 h; collect → persist → export JSON → analyze → upload artifacts. Manual dispatch withsources,topics,max_postsoverridesci.yml— TypeScript build/test + Rust fmt/clippy/test on push and PRWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
checkpoint.prisma.io/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/KashCompiler/KashCompiler/node_modules/prisma/build/child {"product":"prisma","version":"5.22.0","cli_install_type":"local","information":"","local_timestamp":"2026-04-07T01:17:42Z","project_hash":"35c0b3fa","cli_path":"/home/REDACTED/work/KashCompiler/KashCompiler/node_modules/prisma/build/index.js","cli_path_has(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/KashCompiler/KashCompiler/node_modules/prisma/build/child {"product":"prisma","version":"5.22.0","cli_install_type":"local","information":"","local_timestamp":"2026-04-07T01:17:49Z","project_hash":"35c0b3fa","cli_path":"/home/REDACTED/work/KashCompiler/KashCompiler/node_modules/.bin/prisma","cli_path_hash":"7caad4(dns block)/opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node /home/REDACTED/work/KashCompiler/KashCompiler/node_modules/prisma/build/child {"product":"prisma","version":"5.22.0","cli_install_type":"local","information":"","local_timestamp":"2026-04-07T01:17:55Z","project_hash":"35c0b3fa","cli_path":"/home/REDACTED/work/KashCompiler/KashCompiler/node_modules/.bin/prisma","cli_path_hash":"7caad4(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt