37 Commits

Author SHA1 Message Date
6eb5e05b1e get rid of cron.logs 2026-02-01 15:08:35 -06:00
8734ef9fcc fix git ignore 2026-02-01 15:00:53 -06:00
211cf0b89e added embedder to docker compose file and turned into cron job 2026-02-01 14:52:33 -06:00
91860211ad Install dependencies and update requirements.txt for ChromaDB query functionality 2026-02-01 10:21:00 -06:00
c8a712d776 feat: implement enhanced data pipeline with Prometheus telemetry and Grafana integration 2026-01-31 23:56:06 -06:00
5e52142909 Add article server deployment to docker-compose and remove scraper service
Added article-server service to docker-compose.yml that builds from articleServer directory and maps articles volume from /home/user/StockDocs/scraper/articles. Removed the scraper service as it's no longer needed. The article server will now serve articles on port 5008.
2026-01-31 23:22:46 -06:00
c6f3cb3e65 Update n8n webhook URL to production endpoint 2026-01-31 20:52:53 -06:00
64e81869ea Restore /facts endpoint and maintain all MCP Server functionality 2026-01-31 13:10:59 -06:00
ec756240b1 Implement all MCP Server endpoints from OpenAPI specification 2026-01-31 13:09:31 -06:00
1a62e2bd9b cleaned up mcp server andn added /facts endpoint 2026-01-31 13:05:23 -06:00
0453faccb4 Add comprehensive agent.md overview file for repository projects 2026-01-31 12:36:08 -06:00
cc192cf566 Implement article filtering to avoid reprocessing already downloaded articles 2026-01-31 12:06:37 -06:00
1cbeb55463 Fix filename sanitization to resolve Linux permission denied errors 2026-01-31 11:53:32 -06:00
7808922aac Remove U.S. News – Money RSS feed that was causing connection issues 2026-01-31 11:45:44 -06:00
e23b4c2ac9 Add enhanced error handling for 'Remote end closed connection' errors in RSS feed parsing 2026-01-31 11:44:08 -06:00
e975350701 Add explicit Firefox path handling for /usr/bin/firefox to fix PATH issues 2026-01-31 11:38:48 -06:00
ea99b69e87 Add better error handling for Firefox binary not found error 2026-01-31 11:34:50 -06:00
341cbde833 Minor logging update - existing logging already shows proper article counts 2026-01-31 11:33:49 -06:00
d5625605ad Add more robust timeout handling for RSS feed parsing to prevent hanging feeds 2026-01-31 11:27:14 -06:00
a07c637984 Remove problematic NASDAQ feed that was holding up threads 2026-01-31 11:24:59 -06:00
4ee338ae4d Optimize RSS feed processing with parallel parsing and improved error handling 2026-01-31 11:23:25 -06:00
03b728d172 Improve logging in scraper with timestamps and focused new file notifications 2026-01-31 11:16:05 -06:00
936dd4dc28 Force exit if RSS feed file not found, as requested 2026-01-31 11:02:54 -06:00
874c64c9d1 Fix file path handling and add robust error handling for cron job execution 2026-01-31 11:00:14 -06:00
585499a171 Add webhook functionality to send new articles to external endpoint 2026-01-31 05:28:18 -06:00
b923201695 Adding a cron job script and a setup script to help with setting up cronjob 2026-01-31 09:49:18 +00:00
b8a24a9fb1 feat(scraper): Add cron_scraper.py to fix freezing issues 2026-01-31 00:03:06 -06:00
15862cf32a feat(scraper): Implement cron-based scraper to fix freezing issues with 15-minute scheduling 2026-01-30 15:09:20 -06:00
f32902e894 New Readmes, cleaned reqs.txt, fixed multithreading issue, and commenting out aiserver and embedder until more testing done 2025-10-17 09:53:15 -05:00
e207823427 Changing out AP rss feed 2025-10-17 01:59:22 -05:00
3c2073614f handling spaces better 2025-10-17 01:39:15 -05:00
8a630e7ba3 server content gets served 2025-10-17 00:45:10 -05:00
e8673fb0f6 Added basic article retriever 2025-10-17 00:42:35 -05:00
8a23bcc58a Merge pull request 'Docker now auto restarts' (#3) from DockerAutoRestarts into master
Reviewed-on: http://git.example.com/jarianc/StockDocs/pulls/3
2025-08-18 14:00:30 -05:00
901a4f9f88 Docker now auto restarts 2025-08-18 13:58:10 -05:00
c534c5a159 user/jarian/addingScraperDocker (#2)
This fully implements the Stock Docs Project with full Docker Containerization support. This is a working prototype that is actively running on the Media Server. There's a few issues noted, including the following:
- Support for some sites could be improved. Reuters has many articles behind an adblock and some websites present banners that don't need to be processed by our AI engine
- Some caching could be smarter. As the size of files grows, it will get expensive to search through all files to be sure we've not scraped it, ai proccessed it or embedded it.
- Logging could be improved to be much better than just print statements and telemetry could be sent for dashboard monitoring if this were ever to become a full service where we cared about reliability.
- MCP server has been noted to return some poorly matching results. Would be better if it returned nothing at all. And should never really return banners or ads as that provides awful input for the model. Perhaps the model could be told to not care about this, but it's better to just never show irrelevant info to the model

I think this is an overall really good jumping off point, and we've already gotten to see the max capabilities of our system so far. It's a major win to have the Scraper for instance running at all times getting articles from across the web. I look forward to expending this scraper in the near future for projects like scraping all local news websites in the US or general scraping and monitoring of websites.

Co-authored-by: Jarian Cottingham <jariancottingham@dev-machine.local>
Co-authored-by: jarianc <user@example.com>
Reviewed-on: http://git.example.com/jarianc/StockDocs/pulls/2
2025-07-16 01:06:34 -05:00
cd67adaae4 Initial Commit 2025-07-05 05:35:29 +00:00