今日已更新 80 条资讯 | 累计 20052 条内容
关于我们

Finishing What I Started: A Code Snippet Manager Built on GitHub Gists

Kush V 2026年06月07日 08:11 5 次阅读 来源:Dev.to

This is a submission for the GitHub Finish-Up-A-Thon Challenge What I Built ASTronaut is a personal code snippet manager that uses GitHub Gists as its storage backend. The name is a dumb pun: it literally builds an AST (Abstract Syntax Tree) of your Java snippets using JavaParser, pulling out class and method names so you can search by structure, not just by file name. The idea is simple: stop losing useful snippets to random notes apps or Gist pages you'll never find again. ASTronaut gives you a proper UI to create, search, edit, diff, and organize your snippets, while keeping everything synced to GitHub Gists so nothing is stuck on one machine. Frontend Repository: https://github.com/kusoroadeolu/astronaut-ui Backend Repository: https://github.com/kusoroadeolu/ASTronaut The Comeback Story The original ASTronaut had PostgreSQL, Redis, Spring Security, JWT auth, a full login/register flow, user management, admin roles, rate limiting... for a tool that only I was ever going to use. It never shipped. Not because it didn't work, but because every time I sat down to actually use it, I had to spin up a database, a Redis instance, deal with tokens. It just killed any motivation I had. The whole point was to save me time. It wasn't doing that. So it sat there. For a while. When I heard about the Finish-Up-A-Thon, this was the first project that came to mind. What Actually Changed The revamp had one goal: make it feel like a tool, not a project. Here's what got cut: The entire auth system: Spring Security, JWT, login/register, user management, all of it PostgreSQL and JPA, replaced by a lightweight local JSON index file Redis and rate limiting, pointless for a solo local tool Deep metadata extraction that was never actually used in search Here's what replaced it: GitHub PAT in an application.props file. One line of config, no OAuth flow, no callback URLs. PAT is the right call here: OAuth is for when other people are logging in with their GitHub accounts. This is just me. G

本文内容来源于互联网,版权归原作者所有
查看原文