尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
Display of statistics from data scraped from Hacker News
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Hacker News Stats is a display of statistics from data scraped from Y Combinator's news site, Hacker News. I use Requests, Beautiful Soup, and asyncio libraries to acquire and parse the first three pages of posts from the main Hacker News feed asynchronously. I then store the data in an Amazon RDS instance of PostgreSQL and serve it through a series of API endpoints that return statistics based on time period (e.g., /api/hacker_news/stats/hour/average_comment_count returns the average comment count for posts in the past hour, /api/hacker_news/stats/week/top_website returns the most common websites that articles were posted from). The Stats page displays various Highcharts visualizations of the scraped data, including a pie chart that shows a breakdown of the different types of posts, a word cloud of the most common words used in post comments (excluding stop words), and a bubble chart of the top five users who posted the most comments (with each bubble's width reflecting their total words used). Buttons at the top of the Stats page allow the user to toggle between different time periods of data (e.g., past hour, past day, past week).
npm install.npm run build.Netlify site hn-stats serves https://hn-stats.crystalprism.io (DNS: CNAME to hn-stats.netlify.com). It builds continuously from main of estherh5/hacker_news_stats with npm run build and publishes dist/, so pushing to main deploys. GitHub Pages is not enabled.