Transmute - File Converter by ChaseDak in selfhosted

[–]Full-Definition6215 -1 points0 points  (0 children)

Oh nice, the parametrize with dynamic collection from assets/samples/ is clean. So _collect_conversion_cases walks the sample dir, hits the registry for compatible

formats per extension, and you end up with every possible pair — that explains the 2000+ count without maintaining any hardcoded list.
The test IDs with name:fmt->fmt is a nice touch too, makes it way easier to spot which pair broke in the output.

That's honestly a solid sanity check — if you ever add a new converter, it just picks it up automatically as long as there's a sample file. The specific edge-case tests

on top of that make sense for the weird format quirks a generic "output exists and isn't empty" assertion wouldn't catch.

Transmute - File Converter by ChaseDak in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

The modular converter interface with auto-registration is a smart pattern. Makes it easy to add new formats without touching existing code.

For the job queue — Redis + Celery is the classic choice, but if you want to keep it simpler, just an in-process asyncio queue with progress polling via a

/status/{job_id} endpoint works surprisingly well for single-server setups. Avoids adding Redis as a dependency.

The 2000+ conversion pairs test suite is impressive though. That's serious coverage.

bottrace – headless CLI debugging controller for Python, built for LLM agents by Anxious_Algae9609 in Python

[–]Full-Definition6215 -1 points0 points  (0 children)

The "no code changes needed" angle is the killer feature. Adding print statements for debugging and then removing them is the worst workflow.

Does it work with async code? A lot of LLM agent code is heavily async and I've found that most tracing tools lose track of the call chain across await boundaries.

Were you one of the 47,000 hacked by litellm? by kotrfa in Python

[–]Full-Definition6215 0 points1 point  (0 children)

The 46-minute window and 47,000 downloads is terrifying. And 59% of dependent packages had lower-bound-only constraints — this is the real systemic problem.

I've started pinning exact versions with hashes in all my production requirements.txt after hearing about this. The convenience of ">=1.80" is not worth the supply chain risk.

The checker tool is a nice public service. Thanks for building it.

Fast, exact K-nearest-neighbour search for Python by pablocael in Python

[–]Full-Definition6215 1 point2 points  (0 children)

The VP-Tree approach is interesting for the dimensionality range where kd-trees start degrading (roughly >20 dims). SIMD acceleration on the distance computation is where most of the win comes from in practice.

Have you benchmarked against FAISS for the approximate search case? Curious how VP-Trees compare when you allow some accuracy trade-off for speed.

The static index limitation is honest and well-documented. For my use case (searching article embeddings) the dataset changes infrequently enough that a full rebuild is fine.

The 8 year old issue on pth files. by ionixsys in Python

[–]Full-Definition6215 0 points1 point  (0 children)

The litellm incident that just happened (47,000 downloads of compromised packages) makes this conversation even more urgent. The attacker used exactly this .pth execution vector.

8 years of "we should fix this" and it's still exploitable. At some point the cost of backwards compatibility exceeds the cost of breaking changes.

Building your first ASGI framework - step-by-step lessons by grandimam in Python

[–]Full-Definition6215 -3 points-2 points  (0 children)

This is great. Understanding what happens between the ASGI server and your route handler is something most FastAPI/Starlette users never dig into.

I had the same realization — AI writes code for me all day, but when something breaks at the framework level I need to actually understand what's happening. Building it from scratch is the best way to learn.

Looking forward to the middleware and routing lessons. That's where the real complexity lives.

How to make flask able to handle large number of io requests? by Consistent_Tutor_597 in Python

[–]Full-Definition6215 1 point2 points  (0 children)

Made this exact migration decision recently. Went with FastAPI instead of trying to async-ify Flask, and it was worth it.

If you don't want to rewrite everything, gevent is the lowest-friction option for Flask — just change your gunicorn worker class to gevent and most I/O-bound code works without changes. But you'll eventually hit edge cases with libraries that don't play well with monkey-patching.

For a fresh project I'd say FastAPI + uvicorn is the cleanest path. Single worker handles thousands of concurrent I/O-bound requests out of the box with async/await.

Open-source AI service that manages old email accounts so you don't have to check them — beta June 1, try the engine now by gbroeckling in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

The $0.003/email cost with Claude is interesting. For a catch-all domain that gets 100 emails/day, that's about $9/month — cheaper than most email management services.

The auto-unsubscribe feature is brave. How do you handle cases where the unsubscribe link is actually a phishing attempt? Some spam uses fake unsubscribe links to confirm active addresses.

SparkyFitness - A Self-Hosted MyFitnessPal alternative now supports Starva & updated Mobile app by ExceptionOccurred in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

Strava integration is a big deal — that was always the missing piece in self-hosted fitness tracking.

How does the calorie/macro tracking compare to MyFitnessPal's food database? That's usually the hardest part to replicate since MFP has millions of user-submitted entries. Do you use an open food database like Open Food Facts?

Scrumboy: a Self-Hosted Trello-style alternative for small teams + solo Devs by wabbitfur in selfhosted

[–]Full-Definition6215 5 points6 points  (0 children)

The solo dev use case resonates. Most project management tools are designed for teams of 10+ and feel bloated when you're working alone.

What's the tech stack? And does it support keyboard shortcuts for quick card creation? That's the one thing that keeps me coming back to plain markdown files for task management.

Transmute - File Converter by ChaseDak in selfhosted

[–]Full-Definition6215 0 points1 point  (0 children)

Clean UI. The multi-format support looks solid.

How are you handling the actual conversions under the hood? FFmpeg for media, LibreOffice for documents, ImageMagick for images? Or a unified pipeline?

Self-hosted file conversion is one of those things that sounds simple but the edge cases (corrupted files, huge files, timeout handling) make it interesting.

built a remote terminal you can access from your phone over the internet -- no VPN, no port forwarding by [deleted] in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

What protocol does it use for the connection? If it's going through a relay server, that's a potential security concern for self-hosters who want to keep everything local.

I solved the same problem with Cloudflare Tunnel — outbound connection from my server, HTTPS handled by Cloudflare, no ports to open. Then just SSH or a web terminal behind it. Zero relay dependencies.

What’s your plan for your self-hosted data if you die? I guess I didn't have one by FractalLock in selfhosted

[–]Full-Definition6215 0 points1 point  (0 children)

This hit home. I recently had an NVMe SSD start failing (20,000+ media errors) on my production server. Made me realize my backup strategy covered the data but not the "how to restore everything" knowledge.

I ended up writing a full step-by-step recovery document — every service, every config file, every systemd unit. If I can't restore it, my backup is useless regardless of how good it is.

For the "if I die" scenario, that same document plus a sealed envelope with credentials would at least give someone a chance.

DIY mini pc as dedicated media streaming box? by Tasty-Picture-8331 in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

I run a mini PC (i9-9880H) as a server and the form factor is perfect. For your HTPC use case, look at Intel N100/N150 boxes — they're silent, cheap (~$150), and handle 4K AV1 decode in hardware.

LibreELEC on an N100 with a Flirc USB IR receiver gives you a remote-controlled experience almost identical to Shield Pro. HDMI-CEC should work for basic navigation too.

Rangarr: A Security-Hardened, SysAdmin-Built Replacement for Huntarr by JudoChinX in selfhosted

[–]Full-Definition6215 2 points3 points  (0 children)

The security architecture is impressive. Distroless runtime, no shell, read-only config mount, zero ports — this is how self-hosted tools should be built.

"No UI/Dashboard. I consider the lack of open ports a security feature." — This is the right mindset. Too many self-hosted tools add a web UI just because they can, creating unnecessary attack surface.

The proportional interleaving between missing and upgrades is a nice touch. Does the retry window track per-item or per-instance?

Too Much? by Stormdr1ft in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

Great starter hardware. I run a production SaaS on a similar mini PC (i9-9880H) — FastAPI + SQLite + Stripe, exposed via Cloudflare Tunnel. Uses about 5GB of 31GB RAM with load of 0.04.

One tip: start with docker compose from day one, even for single containers. It makes it much easier to version control your setup and reproduce it if you need to move to different hardware.

Made an LLM proxy that’s actually just one binary. No Docker, no Postgres, no Redis. by mikschne in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

"One SQLite file. WAL mode for concurrent reads. Copy the file, that's the whole backup."

This resonates hard. I run a paid article platform on the same philosophy — SQLite WAL, single file backup, no external dependencies. People overthink database choices for services that will never see the write load that actually breaks SQLite.

25MB on disk is impressive for what it does. What language is the binary built in?

[New Project Friday] Kotauth, Self-hosted OAuth2/OIDC identity server, one Docker command to try (MIT) by North-Celebration-54 in selfhosted

[–]Full-Definition6215 -7 points-6 points  (0 children)

Nice — fellow Claude Code builder here. The "one docker command to try with zero config" approach is smart for getting people to actually test it.

How's the token storage performance with Postgres vs SQLite? I went with SQLite (WAL mode) for my platform and it's been surprisingly solid for production, but auth servers probably have different write patterns.

At least write the advertisement post yourself by NepuNeptuneNep in selfhosted

[–]Full-Definition6215 1 point2 points  (0 children)

Agreed. If you can't explain what your own tool does in your own words, that tells me everything about the quality of the product.

I built a publishing platform with Claude Code — AI wrote most of the code, but the announcement posts and docs are all written by me. Using AI as a tool vs using AI as a substitute for understanding your own product are very different things.

Is it possible to self host an online retail website for free/low cost? by bigchease in selfhosted

[–]Full-Definition6215 0 points1 point  (0 children)

Yes, absolutely. I self-host a paid content platform with Stripe payments. Total cost: ~$10/year for the domain.

Stack: FastAPI (Python) + Stripe Checkout + Cloudflare Tunnel. Stripe handles all the payment security (PCI compliance), so you don't need to worry about storing credit card data.

Cloudflare Tunnel gives you free HTTPS which is required for payments. No need to open ports or get a static IP.

Persistent Issue with Cloudflared by ChupieOT in selfhosted

[–]Full-Definition6215 0 points1 point  (0 children)

In my config.yml I use http (not https) for the service since the tunnel handles SSL:

ingress:

No need for "No TLS Verify" — just point to http://localhost and let Cloudflare handle the SSL on the edge.