frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Open-source CLI tool for generating licenses for your repositories

https://github.com/anth0nycodes/license-generator
2•anth0nycodes•2h ago

Comments

anth0nycodes•2h ago
Every time I start a new open-source project, I end up creating a license manually on GitHub's UI, then manually updating the year and my name. I got tired of doing this repeatedly, so I built a small CLI to automate it.

License Generator is a Node.js CLI that creates a LICENSE file for your project in seconds. It pulls official license templates (MIT, Apache 2.0, GPL, etc.) from GitHub’s Licenses API, automatically fills in your name from git config, and writes the formatted LICENSE file to your current directory.

It has an interactive mode that walks you through choosing a license:

npx @anth0nycodes/license-generator

There’s also a quick mode. You set a default license once, then generate it instantly for new projects:

generate-license --set-license mit generate-license -q

I built this because I noticed I was wasting the same few minutes at the start of every project doing identical setup work. This removes that friction, especially when scaffolding or prototyping multiple repos.

Implementation-wise, it’s a thin wrapper around GitHub’s Licenses API with a simple terminal UI (clack/prompts + inquirer). The codebase is roughly ~200 lines of TypeScript.

Features:

Interactive selection from 13 common OSS licenses

Auto-detects author name from git config

Quick mode for one-command generation

Overwrite protection for existing LICENSE files

Clean terminal output

GitHub: https://github.com/anth0nycodes/license-generator

npm: https://www.npmjs.com/package/@anth0nycodes/license-generato...

California Site Offers One-Stop Opt Out for 500 Services

https://www.pcmag.com/news/weary-of-data-brokers-california-site-offers-one-stop-opt-out-for-500-...
1•WaitWaitWha•15s ago•0 comments

Show HN: A small web app where people appear on a world map

https://mapmates.io/
1•digi_wares•5m ago•0 comments

Show HN: Client-side image optimizer built with Next.js

https://github.com/ivanglpz/v0-image-optimizer
1•ivanglpz•6m ago•0 comments

Nearly half of Japan's GDP is supervised by finance people at risk of dementia

https://www.bloomberg.com/news/features/2026-01-02/japan-s-dementia-money-problem-puts-trillions-...
2•OgsyedIE•10m ago•0 comments

Revisiting the original Roomba and its simple architecture

https://robotsinplainenglish.com/e/2025-12-27-roomba.html
2•ripe•11m ago•0 comments

2026, Our Rotting Future

https://www.thegist.ie/guest-gist-2026-our-already-rotting-future/
2•HotGarbage•15m ago•0 comments

Self-Driving Cars Can't See Without Their Eyes

https://www.nytimes.com/2026/01/02/opinion/ai-self-driving-cars-workers.html
2•ripe•18m ago•0 comments

The most popular blogs of Hacker News in 2025

https://refactoringenglish.com/blog/2025-hn-top-5/
2•maxutility•18m ago•0 comments

Show HN: EzFileChanger – Client-side WebP converter (no server uploads)

https://www.ezfilechanger.com/
2•waqaar-ansari•19m ago•1 comments

Boredom Is Good, Actually

https://aartaka.me/boredom.html
2•zdw•27m ago•0 comments

Ask HN: Platform support ignoring launch request – switch or wait?

2•kdpsuite•32m ago•0 comments

Is success just luck?

https://keygen.sh/blog/is-success-just-luck/
2•ezekg•34m ago•0 comments

How and Why Machines Work(2002) [pdf]

https://ocw.mit.edu/courses/2-000-how-and-why-machines-work-spring-2002/87856eefc0c966f97e803c3a7...
2•o4c•35m ago•0 comments

Is .NET Aspire Actually Open Source? [video]

https://www.youtube.com/watch?v=cZntPxnnmSI
2•PKop•37m ago•0 comments

All Remaining MTV Music Channels Officially Shut Down

https://www.vice.com/en/article/the-day-the-music-video-died-all-remaining-mtv-music-channels-off...
2•cdrnsf•41m ago•0 comments

Show HN: uvx ptn, scan a QR, get a terminal in your phone

https://github.com/lyehe/porterminal
2•yxl448•42m ago•0 comments

Show HN: Rust clipboard transformer, 40 transforms, 100% local, own recipes

https://github.com/skorotkiewicz/9paste
2•modinfo•47m ago•0 comments

Tracks vs. Trains: Why the Real Artificial Intelligence Boom Hasn't Started Yet

https://shawnharris.com/tracks-vs-trains-why-the-real-artificial-intelligence-boom-hasnt-started-...
2•gmays•48m ago•0 comments

Ask HN: How to Deal with Bot Accounts

1•lovich•52m ago•1 comments

Was it really a Billion Dollar Mistake?

https://www.gingerbill.org/article/2026/01/02/was-it-really-a-billion-dollar-mistake/
2•vyrotek•53m ago•0 comments

The New Moore's Law: Why Optical Computing Could Redefine Scaling for AI

https://www.allaboutcircuits.com/industry-articles/the-new-moores-law-why-optical-computing-could...
1•WaitWaitWha•59m ago•0 comments

Nadella: Looking Ahead to 2026

https://snscratchpad.com/posts/looking-ahead-2026/
1•zdw•1h ago•0 comments

Calcium Oscillations Within Juxtaglomerular Cell Clusters Control Renin Release

https://www.ahajournals.org/doi/10.1161/CIRCRESAHA.125.326541
1•PaulHoule•1h ago•0 comments

IQuest-Coder: A new open-source code model beats Claude Sonnet 4.5 and GPT 5.1 [pdf]

https://github.com/IQuestLab/IQuest-Coder-V1/blob/main/papers/IQuest_Coder_Technical_Report.pdf
1•shenli3514•1h ago•0 comments

Ask HN: Who's given up on getting hired? (January 2026)

4•waldrews•1h ago•1 comments

UX Quiz: 2025 Year in Review

https://www.nngroup.com/articles/ux-quiz/
1•neko_ranger•1h ago•0 comments

What Is the Deal with Bioelectricity?

https://eryney.substack.com/p/whats-the-deal-with-bioelectricity
2•eryney•1h ago•0 comments

Pickle 1 – Soul Computer [video]

https://www.youtube.com/watch?v=dGA8-CkaSOk
1•aprilnya•1h ago•0 comments

Proteus: The AI-native editor for multimodal creation Topics

https://github.com/gezilinll/Proteus
1•gezilinll•1h ago•2 comments

Ask HN: Do any significant web communities exist anymore that value free speech?

2•jdprgm•1h ago•1 comments