June 20th, 2024

Sloth search for Ruby Weekly – a 100 minute hack turned 20h open sauce project

Sloth Finder, a Ruby and Rails tool, curates niche articles on API and automation. It emphasizes simplicity, slow loading times, and plans to upgrade its tech stack for efficiency. Open source on GitHub.

Read original articleLink Icon
Sloth search for Ruby Weekly – a 100 minute hack turned 20h open sauce project

Sloth Finder is a tool created by a developer with a passion for Ruby and Rails, focusing on niche topics like API, automation, and more. The tool aims to gather the best articles in these areas over the past decade, offering valuable insights and potential networking opportunities. Despite its specific focus, the creator encourages all Ruby enthusiasts to explore new interests beyond the mainstream topics. Sloth Finder stands out for its minimal development effort, slow loading times, and unique tech stack, emphasizing simplicity and efficiency. The tool's frontend design is credited to Claude Opus, and future plans include upgrading to Rails 8 and Kamal 2 on a more robust server. While lacking comprehensive testing, the creator promises to enhance the tool if it evolves beyond its current MVP stage. Sloth Finder is open source on GitHub and was developed with a touch of humor and laziness, reflecting the laid-back approach of its creator.

Related

Show HN: Pomoglorbo, a TUI Pomodoro timer for your terminal

Show HN: Pomoglorbo, a TUI Pomodoro timer for your terminal

A Pomodoro Technique timer, Pomoglorbo, enhances productivity with customizable features like audio settings and work intervals. Users can contribute to the project following guidelines for development and testing.

AI-powered conversion from Enzyme to React Testing Library

AI-powered conversion from Enzyme to React Testing Library

Slack engineers transitioned from Enzyme to React Testing Library due to React 18 compatibility issues. They used AST transformations and LLMs for automated conversion, achieving an 80% success rate.

Groqnotes: Generate structured notes from audio using Groq, Whisper, and Llama3

Groqnotes: Generate structured notes from audio using Groq, Whisper, and Llama3

The GitHub project "Groqnotes" is a streamlit app utilizing Groq, Whisper, and Llama3 to create structured notes from audio content efficiently. It offers rapid transcription, markdown styling, and download options. Access online or set up locally.

Show HN: SaaS Surf – Curated tools for makers that are off the hook

Show HN: SaaS Surf – Curated tools for makers that are off the hook

SaaS Surf offers curated tools, resources, and lifetime deals for developers, designers, and entrepreneurs. It features products like Snitcher and Sitechecker for developers, Pixelfree Studio for designers, and discounted lifetime deals. The platform aims to be a comprehensive SaaS solution.

Show HN: Field report with Claude 3.5 – Making a screen time goal tracker

Show HN: Field report with Claude 3.5 – Making a screen time goal tracker

The author shares their positive experience using Claude 3.5 Sonnet to track screen time goals. Claude proved reliable, fast, and auditable, aiding in reducing screen time through visualizations and goal setting. Despite design flaws, Claude improved performance with accurate metrics and visualizations, benefiting the author's screen time tracking.

Link Icon 2 comments
By @emmanueloga_ - 4 months
Hey there,

Took me really long to understand what this is... let me see if I get it right:

* You scrape rubyweekly.com into Sqlite entries.

* You provide a simple search engine on top of that.

1) Less is more, you can simply state that on your page ("Search an index of scraped rubyweekly articles).

2) If I get it right you are doing regex match for keywords, but maybe you could rely on FTS5 since you are using Sqlite, you may be able to get better results faster, maybe with less code? ([1] random article I found about rails+FTS5).

Cheers!

--

1: https://mariochavez.io/desarrollo/2023/09/01/full-text-searc...

By @richstone_io - 4 months
Sloth Finder helps you encounter the most amazing weekly Ruby articles around your favorite Ruby and Rails topics for the past decade sourced from [Ruby Weekly](https://rubyweekly.com/). This tool was made because the creator, a Sloth in human form, was interested in all the greatest articles around his favorite weird Ruby niche, so he built a primitive search and looked for:

``` api, openapi, automation, rest, graphql, rpc, soap, webhook, scrap, event-driven, serializ ```

What followed was a wealth of articles full of knowledge, understanding of his niche, and potential for connecting to potential leads and partners. Instead of calling it a day, he decided to share the tool with us, the people (which basically means his 100 minute hack turned into a 20 hour project if you include all the side quests and write-ups related to it).

https://slothfinder.apishop.io/

He has also open-sourced it on GitHub. Here are some reasons for you to look at the code:

- You want to see how to deploy a Rails project on the cheapest [render.com](http://render.com) non-free plan running on SQLite (making it cheaper than usual). After I already embarked on render.com, I found that [someone else documented how they experimented with something similar and ran Python on SQLite on fly.io for basically free](https://github.com/irskep/cheapo_website), so this might be another solution if you are interested in hosting your hobby projects. - You want a simple Ruby scraper template to scrape simply structured sites like xlcd.com/1, xkcd.com/2, etc. - You wanna see a logger that writes to STDOUT and logs (useful for local scraping if you want to watch progress but also write to logs for search purposes later). - You want to see a Turbo stream in action. - You want to see how a „first thing that came to mind search over a small ActiveRecord collection“ was implemented.

Ok writing first-person again. If you find the search useful, let me know if you would like something similar for the other publishings of cooperpress(https://cooperpress.com/publications/). They have top notch stuff on JavaScript, Postgres, and much more! I’ll also take suggestions for other scrapeable publishings that don’t have a search.

Enjoy