Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calesthio/Crucix
/ functions
Functions
295 in github.com/calesthio/Crucix
⨍
Functions
295
◇
Types & classes
26
↓ 1 callers
Method
pruneAlertedSignals
* Prune stale alerted signals. * Signals with 1 occurrence: pruned after 24h. * Signals with 2+ occurrences: pruned after 48h from last alert.
lib/delta/memory.mjs:173
↓ 1 callers
Function
scrapeChannel
(channelId)
apis/sources/telegram.mjs:213
↓ 1 callers
Function
searchAwards
(opts = {})
apis/sources/usaspending.mjs:19
↓ 1 callers
Function
searchDomain
(domain, since)
apis/sources/patents.mjs:123
↓ 1 callers
Function
searchEntities
(query, opts = {})
apis/sources/opensanctions.mjs:10
↓ 1 callers
Function
searchEvents
(query = '', opts = {})
apis/sources/gdelt.mjs:11
↓ 1 callers
Function
searchPatents
(query, opts = {})
apis/sources/patents.mjs:43
↓ 1 callers
Function
searchPosts
(query, opts = {})
apis/sources/bluesky.mjs:13
↓ 1 callers
Function
searchReports
(opts = {})
apis/sources/reliefweb.mjs:41
↓ 1 callers
Method
sendActionableIdeas
* Post HIGH confidence, short-horizon ideas as actionable Kalshi-style alerts. * @param {Array} ideas — LLM-generated ideas from the sweep
lib/alerts/discord.mjs:438
↓ 1 callers
Method
sendAlert
(message)
lib/alerts/telegram.mjs:118
↓ 1 callers
Function
stablePostKey
(post)
lib/delta/engine.mjs:90
↓ 1 callers
Function
start
()
server.mjs:408
↓ 1 callers
Method
start
* Start the Discord bot. Connects to the gateway, registers slash commands, * and begins listening for interactions.
lib/alerts/discord.mjs:58
↓ 1 callers
Method
startPolling
* Start polling for incoming messages/commands. * Call this once during server startup. * @param {number} intervalMs - polling interval (default
lib/alerts/telegram.mjs:315
↓ 1 callers
Function
summarizeAirHotspots
(hotspots = [])
dashboard/inject.mjs:109
↓ 1 callers
Function
summarizeVulnerabilities
(vulns)
apis/sources/cisa-kev.mjs:10
Function
ago
(hours)
apis/utils/fetch.mjs:30
Function
briefing
()
apis/sources/yfinance.mjs:85
Function
categorize
(posts, keywords)
apis/sources/bluesky.mjs:36
Function
checkReporterCommodities
(reporterCode, commodityCodes, period)
apis/sources/comtrade.mjs:70
Function
classifyAircraft
(ac)
apis/sources/adsb.mjs:106
Function
classifyFrequency
(rx)
apis/sources/kiwisdr.mjs:107
Function
compactArticle
(a)
apis/sources/gdelt.mjs:78
Function
compactBotMessage
(msg)
apis/sources/telegram.mjs:95
Function
compactEntity
(e)
apis/sources/opensanctions.mjs:39
Function
compactPatent
(p)
apis/sources/patents.mjs:112
Function
compactPost
(child)
apis/sources/reddit.mjs:65
Function
compactPost
(post)
apis/sources/bluesky.mjs:24
Function
compactReading
(r)
apis/sources/epa.mjs:85
Function
compactRecord
(rec)
apis/sources/comtrade.mjs:89
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/anthropic.mjs:15
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/minimax.mjs:16
Method
complete
* Complete a prompt with system + user messages * @returns {{ text: string, usage: { inputTokens: number, outputTokens: number }, model: string }}
lib/llm/provider.mjs:13
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/mistral.mjs:16
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/codex.mjs:58
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/gemini.mjs:15
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/openrouter.mjs:15
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/openai.mjs:15
Method
complete
(systemPrompt, userMessage, opts = {})
lib/llm/ollama.mjs:17
Method
constructor
({ botToken, channelId, guildId, webhookUrl })
lib/alerts/discord.mjs:35
Method
constructor
({ botToken, chatId })
lib/alerts/telegram.mjs:34
Method
constructor
(config)
lib/llm/anthropic.mjs:6
Method
constructor
(config)
lib/llm/grok.mjs:6
Method
constructor
(config)
lib/llm/minimax.mjs:7
Method
constructor
(config)
lib/llm/provider.mjs:4
Method
constructor
(config)
lib/llm/mistral.mjs:7
Method
constructor
(config)
lib/llm/codex.mjs:14
Method
constructor
(config)
lib/llm/gemini.mjs:6
Method
constructor
(config)
lib/llm/openrouter.mjs:6
Method
constructor
(config)
lib/llm/openai.mjs:6
Method
constructor
(config)
lib/llm/ollama.mjs:8
Method
constructor
(runsDir)
lib/delta/memory.mjs:15
Method
evaluateAndAlert
* Evaluate delta signals with LLM and send tiered alert if warranted. * Uses semantic dedup, rate limiting, and a much richer evaluation prompt.
lib/alerts/telegram.mjs:129
Function
generateIdeas
(V2)
dashboard/inject.mjs:260
Function
getAircraftInArea
(lat, lon, radiusNm = 250, apiKey)
apis/sources/adsb.mjs:184
Function
getAllFlights
()
apis/sources/opensky.mjs:10
Function
getArrivals
(airportIcao, begin, end)
apis/sources/opensky.mjs:43
Function
getBilateralTrade
(reporter, partner, cmdCode, period)
apis/sources/comtrade.mjs:60
Function
getChat
(chatId)
apis/sources/telegram.mjs:89
Function
getConsolidatedMetadata
()
apis/sources/ofac.mjs:58
Function
getDailyStatement
(days = 7)
apis/sources/treasury.mjs:20
Function
getDataset
(name)
apis/sources/opensanctions.mjs:29
Function
getDepartures
(airportIcao, begin, end)
apis/sources/opensky.mjs:33
Function
getEntity
(entityId)
apis/sources/opensanctions.mjs:34
Function
getFlightsByIcao
(icao24List)
apis/sources/opensky.mjs:26
Function
getIndicator
(code, opts = {})
apis/sources/who.mjs:10
Function
getLLMPrompt
()
lib/i18n.mjs:103
Function
getResultsByState
(state, opts = {})
apis/sources/epa.mjs:61
Method
getRunHistory
(n = 3)
lib/delta/memory.mjs:107
Function
getSeriesV1
(seriesId)
apis/sources/bls.mjs:20
Function
getWebSocketConfig
(apiKey)
apis/sources/ships.mjs:51
Method
isConfigured
()
lib/alerts/discord.mjs:48
Method
isConfigured
()
lib/alerts/telegram.mjs:46
Method
isConfigured
()
lib/llm/anthropic.mjs:13
Method
isConfigured
()
lib/llm/grok.mjs:13
Method
isConfigured
()
lib/llm/minimax.mjs:14
Method
isConfigured
()
lib/llm/provider.mjs:17
Method
isConfigured
()
lib/llm/mistral.mjs:14
Method
isConfigured
()
lib/llm/codex.mjs:21
Method
isConfigured
()
lib/llm/gemini.mjs:13
Method
isConfigured
()
lib/llm/openrouter.mjs:13
Method
isConfigured
()
lib/llm/openai.mjs:13
Method
isConfigured
()
lib/llm/ollama.mjs:15
Function
isSupported
(lang)
lib/i18n.mjs:130
Method
onCommand
* Register command handlers that the bot can respond to. * @param {string} command - e.g. '/status' * @param {Function} handler - async (args, m
lib/alerts/telegram.mjs:306
Function
pushUnique
dashboard/inject.mjs:244
Function
searchByAssignee
(orgName, opts = {})
apis/sources/patents.mjs:81
Method
sendAlert
(message)
lib/alerts/discord.mjs:285
Method
stop
* Stop the bot gracefully.
lib/alerts/discord.mjs:100
Method
stopPolling
* Stop polling for incoming messages.
lib/alerts/telegram.mjs:331
Function
t
(keyPath, params = {})
lib/i18n.mjs:75
Function
today
()
apis/utils/fetch.mjs:34
Function
toneTrend
(query, timespan = '7d')
apis/sources/gdelt.mjs:35
Function
volumeTrend
(query, timespan = '7d')
apis/sources/gdelt.mjs:46
← previous
201–295 of 295, ranked by callers