The best Hacker News stories from Show from the past week
Latest posts:
Show HN: Pages CMS – A CMS for GitHub
In a nutshell:<p>1. You log in with your GitHub account.<p>2. You select the GitHub repo where your site/app is at (whether it's Next.js, 11ty, Hugo, Nuxt... as long as you're using flat files for content).<p>3. You add a single config file to your repo to define the content types and other settings (e.g. media folder).<p>4. Congrats: you now have a user friendly CMS to manage content + media BUT all changes are still tracked like regular commits (under your account) on GitHub.<p>I started using Jekyll around 2009 and over the course of the past 10+ years, I've helped build major sites and tiny blogs with Hugo, Gatsby, Next.js and more recently 11ty.<p>I still love it.<p>BUT once you're done building, managing content and media can be a bit of a pain. You have a few options:<p>- Edit files directly (on GitHub or your local). Good luck getting your colleagues on the marketing team to do that.<p>- Hook up a headless CMS like Contentful, Sanity, or Strapi. That works, but it's one more dependency and (IMHO) overkill in most cases.<p>- OR you could use something like [Decap CMS](<a href="https://decapcms.org/" rel="nofollow">https://decapcms.org/</a>). Really cool project, but I've never been a fan of the UI/UX, and it's been a bit of a pain to setup (maybe that's just me).<p>I wanted something as simple as possible, preferably with nothing to install or deploy.<p>Back in 2018, I had built a prototype (Jekyll+) [1] with the idea of getting a CMS set up by just adding a single configuration file to your GitHub repository.<p>Pages CMS [2] is a continuation of that idea. It's 100% free and Open Source: <a href="https://github.com/pages-cms/pages-cms">https://github.com/pages-cms/pages-cms</a>.<p>If you don't want to use the online version because you're not comfortable signing up with your GitHub account, consider the following options:<p>- Use a fine-grained personal access token [3], there's an option on the login screen. There is still a bug if you try to access a repo that isn't part of your token scope, but I'll get it fixed in the next couple of days.<p>- Deploy it yourself (for free) on Cloudflare Pages. Literally 5 minutes of work max. I made a video walking you through the process [4].<p>- Check out the intro video on the front page [2] (a bit crap, but I'll get a better one up in the next few days).<p>I use it actively with a few other teams, I hope it will be of use to some of you.<p>I'm already working on adding a few nicer features, like collaborative editing and email invites (to let non-developers login without a GitHub account).<p>PS: I've spent the past 8+ years building a business and only recently got back into coding. I'd love pointers as to what I could do better (and how I can manage my Powerpoint PTSD).<p>[1]: <a href="https://github.com/hunvreus/jekyllplus/">https://github.com/hunvreus/jekyllplus/</a><p>[2]: <a href="https://pagescms.org" rel="nofollow">https://pagescms.org</a><p>[3]: <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#fine-grained-personal-access-tokens" rel="nofollow">https://docs.github.com/en/authentication/keeping-your-accou...</a><p>[4]: <a href="https://pagescms.org/docs/development/" rel="nofollow">https://pagescms.org/docs/development/</a>
Show HN: Pages CMS – A CMS for GitHub
In a nutshell:<p>1. You log in with your GitHub account.<p>2. You select the GitHub repo where your site/app is at (whether it's Next.js, 11ty, Hugo, Nuxt... as long as you're using flat files for content).<p>3. You add a single config file to your repo to define the content types and other settings (e.g. media folder).<p>4. Congrats: you now have a user friendly CMS to manage content + media BUT all changes are still tracked like regular commits (under your account) on GitHub.<p>I started using Jekyll around 2009 and over the course of the past 10+ years, I've helped build major sites and tiny blogs with Hugo, Gatsby, Next.js and more recently 11ty.<p>I still love it.<p>BUT once you're done building, managing content and media can be a bit of a pain. You have a few options:<p>- Edit files directly (on GitHub or your local). Good luck getting your colleagues on the marketing team to do that.<p>- Hook up a headless CMS like Contentful, Sanity, or Strapi. That works, but it's one more dependency and (IMHO) overkill in most cases.<p>- OR you could use something like [Decap CMS](<a href="https://decapcms.org/" rel="nofollow">https://decapcms.org/</a>). Really cool project, but I've never been a fan of the UI/UX, and it's been a bit of a pain to setup (maybe that's just me).<p>I wanted something as simple as possible, preferably with nothing to install or deploy.<p>Back in 2018, I had built a prototype (Jekyll+) [1] with the idea of getting a CMS set up by just adding a single configuration file to your GitHub repository.<p>Pages CMS [2] is a continuation of that idea. It's 100% free and Open Source: <a href="https://github.com/pages-cms/pages-cms">https://github.com/pages-cms/pages-cms</a>.<p>If you don't want to use the online version because you're not comfortable signing up with your GitHub account, consider the following options:<p>- Use a fine-grained personal access token [3], there's an option on the login screen. There is still a bug if you try to access a repo that isn't part of your token scope, but I'll get it fixed in the next couple of days.<p>- Deploy it yourself (for free) on Cloudflare Pages. Literally 5 minutes of work max. I made a video walking you through the process [4].<p>- Check out the intro video on the front page [2] (a bit crap, but I'll get a better one up in the next few days).<p>I use it actively with a few other teams, I hope it will be of use to some of you.<p>I'm already working on adding a few nicer features, like collaborative editing and email invites (to let non-developers login without a GitHub account).<p>PS: I've spent the past 8+ years building a business and only recently got back into coding. I'd love pointers as to what I could do better (and how I can manage my Powerpoint PTSD).<p>[1]: <a href="https://github.com/hunvreus/jekyllplus/">https://github.com/hunvreus/jekyllplus/</a><p>[2]: <a href="https://pagescms.org" rel="nofollow">https://pagescms.org</a><p>[3]: <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#fine-grained-personal-access-tokens" rel="nofollow">https://docs.github.com/en/authentication/keeping-your-accou...</a><p>[4]: <a href="https://pagescms.org/docs/development/" rel="nofollow">https://pagescms.org/docs/development/</a>
Show HN: Real-time image generation with SDXL Lightning
Show HN: Real-time image generation with SDXL Lightning
Show HN: Real-time image generation with SDXL Lightning
Show HN: RAM Prices
I was inspired by this discussion <a href="https://news.ycombinator.com/item?id=39066480">https://news.ycombinator.com/item?id=39066480</a> about diskprices.com last month, and decided to go ahead and make a site for RAM. It's my first time building anything like this! Any tips / suggestions / calls for complete overhaul are welcome :)
Show HN: PRQL in PostgreSQL
This extension let's you write PRQL functions in PostgreSQL.<p>When I first saw PRQL on Hacker News a few months ago, I was immediately captivated by the idea, yet equally disappointed that there was no integration for PostgreSQL. Having previous experience with writing PostgreSQL extensions in C, I thought this was a great opportunity to try out the pgrx framework and decided to integrate PRQL with PostgreSQL myself.<p>The maintainers of both PRQL and pgrx were very nice to work with. Thanks guys.
Show HN: htmz – a low power tool for HTML
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
Show HN: Driftmania – an open source PICO-8 racing game
I've been spending a lot of my spare time over the last year creating this little racing game. It's built in PICO-8, which is a really fun “fantasy retro console” that's been mentioned on HN several times. The console has strict limits and I wanted to see how far I could push them<p>The source code for the game is over here: <a href="https://github.com/maxbize/PICO-8/tree/master/Driftmania">https://github.com/maxbize/PICO-8/tree/master/Driftmania</a>. It's a bit of a mess, but I'm happy to answer any questions on it or development of the game. Cheers!<p>EDIT: For those not familiar with PICO-8, there's only a few inputs: arrow keys, Z/C/N, and X/V/M
Show HN: Driftmania – an open source PICO-8 racing game
I've been spending a lot of my spare time over the last year creating this little racing game. It's built in PICO-8, which is a really fun “fantasy retro console” that's been mentioned on HN several times. The console has strict limits and I wanted to see how far I could push them<p>The source code for the game is over here: <a href="https://github.com/maxbize/PICO-8/tree/master/Driftmania">https://github.com/maxbize/PICO-8/tree/master/Driftmania</a>. It's a bit of a mess, but I'm happy to answer any questions on it or development of the game. Cheers!<p>EDIT: For those not familiar with PICO-8, there's only a few inputs: arrow keys, Z/C/N, and X/V/M
Show HN: Gitlab Meeting Simulator 2024
Gitlab's meeting recordings on YouTube have tens of thousands of views by people pretending to work. Now you can appear to be in the meeting using your own webcam.
Show HN: Aldi Price Map
Hi HN, Inspired by the recent discussion on traderjoesprices.com, and sites such as mccheapest.com, here is a map of how much does it cost to shop (this week's promo items) at Aldi
Show HN: Play the game I'm developing directly on its website
I've been working on Athena Crisis for about two years, and full time for the past 9 months. The game is entirely built from scratch using React and CSS without a game engine. It runs anywhere, including the Steam Deck. You can even use a gamepad on the landing page to play!<p>Previously the landing page had a video of the game but my goal was to always just put the actual game on the website. I merged the landing page into the game's monorepo, added the game's React components, and boom – the video was replaced with a playable version of Athena Crisis.<p>Of course, the real game has tons more features, but the landing page now always runs the exact same code as the actual game – including assets, the AI, and the UI/UX – and it is pushed within 5 minutes as the actual game is being updated live.<p>I frequently talk about the tech behind this game (see this React Summit talk about "How Not to Build a Video Game": <a href="https://www.youtube.com/watch?v=m8SmXOTM8Ec" rel="nofollow">https://www.youtube.com/watch?v=m8SmXOTM8Ec</a> ) and I'm planning on open sourcing as much as possible in the future.
Show HN: Reor – An AI note-taking app that runs models locally
Reor is an open-source AI note-taking app that runs models locally.<p>The four main things to know are:<p>1. Notes are connected automatically with vector search. You can do semantic search + related notes are automatically connected.<p>2. You can do RAG Q&A on your notes using the local LLM of your choice.<p>3. Embedding model, LLM, vector db and files are all run or stored locally.<p>4. Point it to a directory of markdown files (like an Obsidian vault) and it works seamlessly alongside Obsidian.<p>Under the hood, Reor uses Llama.cpp (node-llama-cpp integration), Transformers.js and Lancedb to power the local AI features.<p>Reor was built right from the start to support local models. The future of knowledge management involves using lots of AI to organize pieces of knowledge - but crucially, that AI should run as much as possible privately & locally.<p>It's available for Mac, Windows & Linux on the project Github: <a href="https://github.com/reorproject/reor">https://github.com/reorproject/reor</a>
Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
A Short Film in 256 Bytes of Code<p>Programmed by KilledByAPixel
Presented at Lovebyte Party 2024<p>...<p>I found an old VHS tape at a yard sale.
It was labeled "Bitwise Liminal" in sharpie.
But when I watched the video it was only static.<p>Then I started having vivid and... unsettling dreams.
Also I couldn't stop thinking about that weird VHS tape.
After researching I learned it was a digital backup.
Using some special software I recovered the data.
To my shock, it was a 256 byte program...<p>With trembling hands I opened it in a web browser.
Strange. This reminds me of the dreams I've been having.
Now I don't need to sleep anymore.
I just keep watching.<p>...<p>l ɐ u ᴉ ɯ ᴉ ⅂ ǝ s ᴉ ʍ ʇ ᴉ ᗺ<p><pre><code> <canvas id=c><svg onload=setInterval("for(t+=.1,R=T=C=Math.cos,c.width=w=128,i=9986,V=t/9&3;Y=i--/w;c.getContext`2d`.fillRect(X,Y,(C(t/6)*T^V*i/1e4*T+t) ?(R=T++,1):(T=9,19/R),5/Z))for(Z=5,X=i%w+4/R;0<(V*95+C(t/3)+Z*X/64-Z^Z|(60-Y)*Z/58);Z+=.2);",t=9)></code></pre>
Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code
A Short Film in 256 Bytes of Code<p>Programmed by KilledByAPixel
Presented at Lovebyte Party 2024<p>...<p>I found an old VHS tape at a yard sale.
It was labeled "Bitwise Liminal" in sharpie.
But when I watched the video it was only static.<p>Then I started having vivid and... unsettling dreams.
Also I couldn't stop thinking about that weird VHS tape.
After researching I learned it was a digital backup.
Using some special software I recovered the data.
To my shock, it was a 256 byte program...<p>With trembling hands I opened it in a web browser.
Strange. This reminds me of the dreams I've been having.
Now I don't need to sleep anymore.
I just keep watching.<p>...<p>l ɐ u ᴉ ɯ ᴉ ⅂ ǝ s ᴉ ʍ ʇ ᴉ ᗺ<p><pre><code> <canvas id=c><svg onload=setInterval("for(t+=.1,R=T=C=Math.cos,c.width=w=128,i=9986,V=t/9&3;Y=i--/w;c.getContext`2d`.fillRect(X,Y,(C(t/6)*T^V*i/1e4*T+t) ?(R=T++,1):(T=9,19/R),5/Z))for(Z=5,X=i%w+4/R;0<(V*95+C(t/3)+Z*X/64-Z^Z|(60-Y)*Z/58);Z+=.2);",t=9)></code></pre>
Show HN: A platform for remote piano lessons based on the Web MIDI API
I'm building a video conferencing app designed to facilitate better remote piano lessons. My hope is to solve a lot of the challenges piano tutors and new students deal with when taking lessons through Skype/Zoom. It leverages WebRTC's data transmission to send media, MIDI state, and (eventually) send sheet music files and other musical data.<p>I'm surprised with how well the MVP has worked and would love to hear any feedback or suggestions!
Show HN: A platform for remote piano lessons based on the Web MIDI API
I'm building a video conferencing app designed to facilitate better remote piano lessons. My hope is to solve a lot of the challenges piano tutors and new students deal with when taking lessons through Skype/Zoom. It leverages WebRTC's data transmission to send media, MIDI state, and (eventually) send sheet music files and other musical data.<p>I'm surprised with how well the MVP has worked and would love to hear any feedback or suggestions!