Skip to content

No-as-a-Service (NAAS) is a simple API that returns a random rejection reason. Use it when you need a realistic excuse, a fun “no,” or want to simulate being turned down in style.

Notifications You must be signed in to change notification settings

ItsMeSudo/no-as-a-service-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❌ No-as-a-Service

No-as-a-Service Banner

Ever needed a graceful way to say “no”?
This tiny API returns random, generic, creative, and sometimes hilarious rejection reasons — perfectly suited for any scenario: personal, professional, student life, dev life, or just because.

Built for humans, excuses, and humor.


🚀 API Usage

Base URL

https://naas.serverhu.eu/no

Method: GET
Rate Limit: No rate limit

🔄 Example Request

GET /no

✅ Example Response

{
  "reason": "This feels like something Future Me would yell at Present Me for agreeing to."
}

Use it in apps, bots, landing pages, Slack integrations, rejection letters, or wherever you need a polite (or witty) no.


🛠️ Self-Hosting

Want to run it yourself? It’s lightweight and simple.

1. Clone this repository

git clone https://github.com/ItsMeSudo/no-as-a-service-go.git
cd no-as-a-service-go

2. Build

go build

3. Start the server

.\naas.exe or ./naas  [Windows or Linux]

The API will be live at:

http://localhost:3000/no

You can also change things using an environment variable:

PORT=3000 [int]
ENABLE_RATE_LIMIT=false [bool]

📁 Project Structure

no-as-service-go/
├── main.go             # Main source
├── reasons.json        # 1000+ universal rejection reasons
├── go.mod
├── go.sum
└── README.md

👤 Author

Created with creative stubbornness by hotheadhacker

Ported to GO by SUDO


📄 License

MIT — do whatever, just don’t say yes when you should say no.

About

No-as-a-Service (NAAS) is a simple API that returns a random rejection reason. Use it when you need a realistic excuse, a fun “no,” or want to simulate being turned down in style.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%