Skip to main content

Show HN: Top 10 Newest HackerNews Stories (Phoenix/LiveView) https://ift.tt/3ciyEy4

Show HN: Top 10 Newest HackerNews Stories (Phoenix/LiveView) HNLive is a small Elixir/Phoenix/LiveView web app showing the top 10 (by score or number of comments) newest HackerNews stories in "real time" (i.e. as quickly as updates become available via the HackerNews API). You should find the app running on https://ift.tt/2Xeks58 - please note that this is running on the free tier with limited memory and resources. GitHub: https://ift.tt/3gEdU7C The motivation for building HNLive was twofold: 1. I had read and heard many good things about Elixir, Phoenix and LiveView, and after watching Chris McCord`s demo "Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5" on YouTube, I finally said to myself: "That looks awesome, time to learn Elixir and Phoenix!" HNLive is the app I built over the last couple of days while on this learning journey. 2. I love browsing HackerNews, but for me the selection of stories on the front page, the "newest" page and the "best" page is not ideal if I want to see at a glance which new stories (say, submitted over the course of the last 12 hours) have received the most upvotes or are discussed particularly controversially (as judged by the number of comments). HNLive attempts to address this using data from the HackerNews API to provide the top 10 submissions, sorted by score or number of comments, taking into account only the last 500 submissions. I also wanted to see updates to the top 10 (and scores and number of comments) in real time, which was made easy by using LiveView. May 30, 2020 at 06:03PM

Comments

Popular posts from this blog

Show HN: Infstream – We’re trying to fix video monetization for creators https://ift.tt/34Rcd11

Show HN: Infstream – We’re trying to fix video monetization for creators TL;DR: https://ift.tt/2VFChrA Hi HN – we’re Ben & Callum from Infstream. We’ve always been heavy users of YouTube, for entertainment, education and sharing. Towards the end of last year, we saw more and more horror stories of YouTubers losing their livelihood to the ad algorithm. We decided to build a content-first video platform, which aims to reduce issues by removing advertisers from the equation. Instead, we charge for the content you watch – bold, I know. Instead of paying in advertising and data, users on Infstream build their own streaming package, a channel at a time. Anyone can start a channel (US & UK now, Europe soon) and earn directly from their subscribers. Subscribers pay $1 per month per channel, of which the channel receives $0.75. This all begins from the first subscriber, there are no minimums to start monetization. Channels have total control, and can publish on a daily, weekly or monthl...

Show HN: Teddy Bear Tracker iOS App https://ift.tt/34MIiHn

Show HN: Teddy Bear Tracker iOS App Two weeks ago when walking around my neighborhood I noticed a strange amount of teddy bears placed in the windows of homes. When I got home I searched the internet and found https://ift.tt/2URjc5m describing that this was being done to provide additional entertainment for people going on walks during these times of social distancing. This past week I decided to repurpose some old code into an app that would allow me to keep track of the teddy bears I found while on my own walks. It's quite simple but I hope others can get some enjoyment out of it! :) Here is the Apple App Store link: https://ift.tt/3al5kpV April 19, 2020 at 10:26PM

Show HN: MailPhantom – Keeping your email address invisible https://ift.tt/2Lc2z02

Show HN: MailPhantom – Keeping your email address invisible Been reading HN for some time now, but this would be my first post. https://ift.tt/2zkYqEh Copy and past from the site: ######### The use of unique password are considered best practice, why are we not doing this with email addresses as well. MailPhantom aims to achieve this, with an added benefit, you'll see which service providers or mailing lists are sharing your email addresses. ######### This is basically a MVP, and may likely break somewhere. But if there is a lot of interest I may build/work on it more. I have used it in its current state for a few months now. I welcome any feedback :) ^C May 10, 2020 at 12:59PM