TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Attune - Build and publish APT repositories in seconds

102 pointsby ilikebitsabout 1 month ago
Hey HN, we&#x27;re Eliza and Xin, and we’ve been working on Attune. Attune is a tool for publishing Linux packages.<p>Previously, we worked at other startups building open source developer tools that ran on our customers’ CI and development machines. For many of them, being able to `apt-get install` our tools was a requirement.<p>When we went to actually set up APT repositories, we were really surprised by the state of tooling around package publishing. The open source tools we found were old, slow, and difficult to figure out how to run in CI. The commercial tools we found were not much better. The cloud-hosted vendors required us to provide our signing keys to a cloud vendor (which was a non-starter), while the self-hosted vendors required us to operate our own specialized hosting servers.<p>We just wanted something simple: sign locally, run quickly, be easy to use, and deploy to managed object storage.<p>We couldn’t find it, so we built it. If you want to try it out, you can create a repository with three commands:<p><pre><code> attune repo create --uri https:&#x2F;&#x2F;apt.releases.example.com attune repo pkg add --repo-id 123 package.deb attune repo sync --repo-id 123 </code></pre> You can get the tool at <a href="https:&#x2F;&#x2F;github.com&#x2F;attunehq&#x2F;attune">https:&#x2F;&#x2F;github.com&#x2F;attunehq&#x2F;attune</a>. There are a lot of rough edges right now since it&#x27;s so new - sorry in advance, we&#x27;re working on sanding those down.<p>It’s fully open source under Apache 2. We’re also working with some early customers to build enterprise features like audit logging, RBAC, and HSM integrations, and we’re thinking about building a managed cloud hosting service as well.<p>We’d love your feedback on whether this is useful for you, and what you’d like to see next. We’re well aware that publishing is a small piece of CI&#x2F;CD, but we think a lot of the tooling in this area (publishing, artifact registries, package repositories) could really use some love.<p>What do you think? Comment here, or email us at founders@attunehq.com.

9 comments

yjftsjthsd-habout 1 month ago
It&#x27;s probably intuitive to anybody who&#x27;s tried to do this the hard way, but if your target is people without that experience, you might want to dumb it down even more. So this is from your readme:<p><pre><code> attune repo create -u &#x27;http:&#x2F;&#x2F;localhost:9000&#x2F;debian&#x27; -d bookworm attune repo pkg -r 1 add -c stable&#x2F;v17 ~&#x2F;Downloads&#x2F;teleport_17.4.4_arm64.deb </code></pre> And I <i>think</i> I know what `-d bookworm` must be, but I&#x27;ve no clue what -r or -c are doing in the second command.<p>Also, from your post here (and why are the quick start steps different here?),<p><pre><code> attune repo create --uri https:&#x2F;&#x2F;apt.releases.example.com </code></pre> What is that URI supposed to be? Is that where the thing will eventually get served from and I have to run this on the server, or synchronize an output directory to the server, or is that going to do some sort of magic upload itself?
评论 #43730048 未加载
pabs3about 1 month ago
Lots more options listed on the Debian wiki, I&#x27;ve added Attune to the list.<p><a href="https:&#x2F;&#x2F;wiki.debian.org&#x2F;DebianRepository&#x2F;Setup" rel="nofollow">https:&#x2F;&#x2F;wiki.debian.org&#x2F;DebianRepository&#x2F;Setup</a>
评论 #43734384 未加载
Hackbratenabout 1 month ago
How is this different to aptly, especially if one already has object storage?
评论 #43730136 未加载
benwilber0about 1 month ago
Maybe I&#x27;m wrong, but aren&#x27;t apt repositories just files in a web root? There are many scripts in the Debian ecosystem to generate and maintain such web directories. Maybe the actual package building would be interesting, but I don&#x27;t know about just &quot;we&#x27;ll host your .deb files and keep the index updated&quot;
评论 #43730172 未加载
评论 #43735314 未加载
frabonaabout 1 month ago
Curious how different is this from mise and ubi? <a href="https:&#x2F;&#x2F;github.com&#x2F;jdx&#x2F;mise">https:&#x2F;&#x2F;github.com&#x2F;jdx&#x2F;mise</a><p>I have a few pain points with that for installing cua (<a href="https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua&#x2F;issues&#x2F;27">https:&#x2F;&#x2F;github.com&#x2F;trycua&#x2F;cua&#x2F;issues&#x2F;27</a>), so if it can remove the initial friction happy to chat!
评论 #43732215 未加载
评论 #43734404 未加载
3npabout 1 month ago
Looks neat!<p>What would be really valuable for us would be future support for other distros&#x2F;repos.<p>A more unified interface for synchronized publishing across say dep&#x2F;rpm&#x2F;archlinux&#x2F;alpine when we have multi-distro packages to build and publish.
评论 #43732736 未加载
rurban29 days ago
Happy to test this out, because I&#x27;m really unhappy with aptly quirks
评论 #43776197 未加载
powerawq103846about 1 month ago
very cool stuff!
jauntywundrkindabout 1 month ago
Yes, it&#x27;s Rust ;). Sign of quality to me.<p>Excited to try. I ran a reprepo for a couple of years &amp; it wasn&#x27;t the worst to run, but not fun either. My confidence in efficiently publishing packages was super low, never improved much.<p>It also mandated running a web server (configuring my nginx to point at the repo filesystem), not very batteries included.<p><a href="https:&#x2F;&#x2F;wiki.debian.org&#x2F;DebianRepository&#x2F;SetupWithReprepro" rel="nofollow">https:&#x2F;&#x2F;wiki.debian.org&#x2F;DebianRepository&#x2F;SetupWithReprepro</a>
评论 #43730223 未加载
评论 #43734143 未加载
评论 #43731969 未加载
评论 #43730182 未加载