TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: How's the Philadelphia power grid doing? This website will tell you

1 点作者 dmuth12 个月前
Author here! I built this website because while PECO does have a very nice outage map (<a href="https:&#x2F;&#x2F;secure.peco.com&#x2F;FaceBook&#x2F;Pages&#x2F;outagemap.aspx" rel="nofollow">https:&#x2F;&#x2F;secure.peco.com&#x2F;FaceBook&#x2F;Pages&#x2F;outagemap.aspx</a>), I found that when I lost power and was sitting in the dark refreshing that status page that I really only cared about two things:<p>1) How many customers are affected?<p>2) And is that number going up or down?<p>That&#x27;s it. I don&#x27;t need a map, tons of assets, or tons of Javascript. So I decided to build this little website as a side project. All HTML and CSS is hand-coded. And with the exception of chart.js, all Javascript is hand coded, with the overall goal of trying to make the website drain cellphone batteries as little as possible.<p>It was all built out on Serverless, and is my first real project with Serverless! Static assets are stored in S3, served up via CloudFront, backend code is in Lambda, and data is stored in DynamoDB. Unless I get crushed with traffic, I expect this site will cost me less than a dollar per month to run. :-)<p>Source is at <a href="https:&#x2F;&#x2F;github.com&#x2F;dmuth&#x2F;is-peco-okay">https:&#x2F;&#x2F;github.com&#x2F;dmuth&#x2F;is-peco-okay</a> if anyone wants to see my code.

暂无评论

暂无评论