跳到正文
原文
Hacker News · bootstrapped· lukaesch·· 2024-10-07AI 评分37

独立开发者用 Rust 搭建播客平台 Audioscrape,应用跑在 7 美元/月的 VM 上

Audioscrape: Building in Rust When Everyone Said I Shouldn't

AI 导读

独立开发者 lukaesch 用 Rust 从零搭建播客探索平台 Audioscrape,整个应用跑在一台 7 美元/月的 VM 上。过去 7 天有 500 名用户,MRR 为 0,单用户成本低于 0.01 美元。技术栈包括 Axum、SQLite 配 SQLx、Tokio,约 4k 行代码集中在单个 main.rs 文件,下一步计划加入付费功能。

正文
Audioscrape: Building in Rust When Everyone Said I Shouldn't
90 points by lukaesch on Oct 7, 2024 | hide | past | favorite | 45 comments

I'm excited to share my journey of bootstrapping Audioscrape, a podcast exploration platform, built entirely in Rust. Despite conventional wisdom suggesting RoR, Python, or TypeScript for rapid MVP development, I chose Rust to challenge myself technically and optimize for low operational costs. The result? A performant application running on a $7/month VM, demonstrating that you can launch lean and scale efficiently.

Why Rust for a Bootstrapped MVP?

Cost-Efficiency: Minimal resource usage translates to lower hosting costs, crucial for bootstrapping.

Performance: Efficient handling of audio processing and web serving, allowing for growth without immediate infrastructure scaling.

Learning Investment: Deepening expertise in a language with growing demand, potentially opening future opportunities.

Proving a Point: Demonstrating Rust's viability for rapid development in web applications.

Project Overview:

Audioscrape aggregates podcast RSS feeds, transcribes episodes, and provides an interactive interface for exploring and discussing podcast content. It's a full-stack Rust application, leveraging various crates from the ecosystem.

Technical Stack:

Backend: Axum (async web framework)

Database: SQLite with SQLx for type-safe queries

Authentication: OAuth2

Image Processing: For social media previews

HTML Templating: Askama

Async Runtime: Tokio

Development Approach:

4k LoC in a single main.rs file (plus HTML templates)

Rapid iteration using Neovim for navigation

Lean development: No external services beyond the VM

Key Features:

Transcription Browsing: Read along with your favorite podcasts or quickly scan for topics of interest.

Segment Highlighting: Share and discuss specific moments from episodes.

Community Interaction: Upvote, comment on, and bookmark your favorite segments.

Advanced Search: Find relevant content across multiple podcasts and episodes.

Person Profiles: Explore appearances of specific guests or hosts across different shows.

Challenges and Learnings:

Overcoming the learning curve of Rust's ownership model

Efficient transcriptions and speaker detection

Managing all aspects solo: Development, design, and operations

Future Plans:

API for third-party integrations

WebAssembly for client-side processing

Scaling strategies for larger datasets (search)

Personalized content delivery

Metrics and Goals:

Current Users: 500 (last 7 days)

MRR: $0

Cost per User: Less than $0.01 (thanks to efficient resource use)

Next Milestone: Add paid features to pay the bills + reduce cost per episode page creation

Questions for the HN Community:

Has anyone else bootstrapped using Rust? What were your experiences?

How do you balance technical debt vs. shipping features in a solo project?

What strategies have worked for you in marketing such technical products?

I'm bootstrapping this project and would greatly appreciate any feedback, especially from those who've launched similar technical products or used unconventional tech stacks for MVPs. Check out Audioscrape at www.audioscrape.com and let me know your thoughts!

来源:Hacker News · bootstrapped · news.ycombinator.com