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: Webapp to Format SQL Queries for Readability

4 pointsby iomcrover 4 years ago
I wrote https:&#x2F;&#x2F;sql.greatenemy.com&#x2F; because I needed a quick way to make app generated SQL statements readable. None of the alternatives I could find quickly via search engine at the time included the following features: dark mode, small and fast, works offline, postgres first, not covered in ads.<p>It is mostly a wrapper around npm&#x27;s sql-formatter<p>https:&#x2F;&#x2F;github.com&#x2F;greatenemy&#x2F;sql-sapper

2 comments

ryan-duveover 4 years ago
This is pretty neat. Thanks for sharing. I can see myself using it when I need to quickly prettify some gnarly queries. My only question is why is the text area limited to the top half of the screen?
llagerlofover 4 years ago
I liked the formatting style. However I could not make the syntax formatter work and the spaces combo didn&#x27;t any difference. The indentation always use 4 spaces.