Skip to content

clintcparker/name-on

Repository files navigation

Name-On

Release

Build

Introduction

I've found my self needing one of these repeatedly over the last few months. So I built this one. You'll get a new Adjective-Noun-Number combo with each new request.

Check it out @ name-on.site

Structure

Name-On consists of 4 components:

  1. name-on-core: A shared library with the core behavior logic
  2. name-on-unit-test: A unit testing project for the core library
  3. name-on-cli: A command line wrapper for the core library
  4. name-on-web: An ASP.NET Core web app surfacing the core behaviors

CLI

I'm a sucker for CLIs. But I'm not clear on how to deploy this one. For now, get the source, run dotnet publish, and then symlink from the new publish directory to someplace in your $PATH.

API

That's right there's an API. You never know when you'll need to curl this because you haven't installed the CLI yet.

curl https://name-on.site/api/name

Roadmap

  1. Add a button to copy to clipboard
  2. CD for publishing CLI to various sources
    1. Homebrew
    2. Chocolatey
    3. APT