Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

no-as-a-service

> 后端框架
Open source

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 tu

7.8K stars0 likes5 views
WebsiteGitHub

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 tu

❌ No-as-a-Service

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.

This project is sponsored by GitAds.
You can get your GitHub repository sponsored too — create your account now.


API Usage

Base URL

https://naas.isalman.dev/no

Method: GET
Rate Limit: 120 requests per minute per IP

Example Request

http
GET /no

✅ Example Response

json
{
  "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

bash
git clone https://github.com/hotheadhacker/no-as-a-service.git
cd no-as-a-service

2. Install dependencies

bash
npm install

3. Start the server

bash
npm start

The API will be live at:

http://localhost:3000/no

You can also change the port using an environment variable:

bash
PORT=5000 npm start

Project Structure

no-as-service/
├── index.js            # Express API
├── reasons.json        # 1000+ universal rejection reasons
├── package.json
├── .devcontainer.json  # VS Code / Github devcontainer setup
└── README.md

package.json

For reference, here’s the package config:

json
{
  "name": "no-as-service",
  "version": "1.0.0",
  "description": "A lightweight API that returns random rejection or no reasons.",
  "main": "index.js",
  "scripts": {
    "start": "node index.js"
  },
  "author": "hotheadhacker",
  "license": "MIT",
  "dependencies": {
    "express": "^4.18.2",
    "express-rate-limit": "^7.0.0"
  }
}

⚓ Devcontainer

If you open this repo in Github Codespaces, it will automatically use .devcontainer.json to set up your environment. If you open it in VSCode, it will ask you if you want to reopen it in a container.


Projects Using No-as-a-Service

Here are some projects and websites that creatively integrate no-as-a-service to deliver humorous or programmatic "no" responses:

  1. no-as-a-service-rust
    Rust implementation of this project.

  2. CSG Admins
    A system administration and gaming service hub using no-as-a-service to provide playful negative responses across some admin panels and commands.

  3. FunnyAnswers - /no endpoint
    A humor-focused API playground that includes a mirror or wrapper for no-as-a-service, perfect for developers exploring fun HTTP-based responses.

  4. Gerador de Frases Aleatórias (pt-BR) Uma reinterpretação em Python com frases em português, frontend e novas categorias.

  5. NoAsAnApp
    A simple native Android app calling no-as-a-service to provide negative responses.

  6. FunnyReasons
    A simple Web app using no-as-a-service to provide funny reasons to say No.

  7. How About No? A basic GUI using no-as-a-service as the backend. Built with docker in mind.

  8. no-as-a-service-asp
    A straight-forward implementation of NaaS in ASP.NET Core

  9. No as a Service - Raycast Extension
    Get a random No from within Raycast. Just install the extension from the Raycast store, open Raycast, then type in 'Random No'. Raycast extension: No as a Service.

  10. Nopeify
    A simple native iOS app calling no-as-a-service to provide negative responses.

  11. No-as-a-Service - Slack App
    Get a random No from within Slack. Install the app to your workspace and then use the /no command to get a random response.

  12. No-as-a-Service - Signal Bot
    Get a random No from within Signal. Deploy the Docker container, link your Signal account, and use the /no command to get a random response.

  13. No-as-a-Service GNOME Search GNOME search provider for the No-as-a-Service API. Type 'no' to get a random excuse. Click or press Enter to copy to clipboard.

  14. **Nope App for iPhone and iPad. Available on AppStore **
    Simple OpenSource iOS app inspired by this service to find and curate reasons to say no!

  15. No MCP
    Perfect for when you want your AI to be consistently negative or just want to add some humor to your MCP setup.

  16. Your Project Here? If you're using no-as-a-service in your project, open a pull request to be featured here!


Want to use no-as-a-service in your own project? Check out the usage section in this README and start returning "no" like a pro.


Author

Created with creative stubbornness by hotheadhacker


License

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


Testimonials

"I tried to integrate No-as-a-Service into the Linux kernel to reject bad patches automatically, but it started rejecting my own commits. 10/10, absolutely ruthless."

— Linus Torvalds (probably)

Issues· 70 open

View all issuesOpen on GitHub
  • #112

    sever is down

    Updated Aug 18, 2026
  • #97

    Multi-lang support (Vietnamese for now)

    Updated Apr 18, 2026
  • #91

    NaaS dataset

    Updated Mar 11, 2026
  • #89

    Feature Recommendation: Yes, how about no

    Updated Feb 13, 2026
  • #73

    Language support? Needed or just a hurdle to fix

    Updated Jan 23, 2026
  • #78

    Missing .gitignore

    Updated Jan 14, 2026
  • #76

    Additional project using NaaS

    Updated Jan 13, 2026
  • #74

    Replace Math.random() with a proper Random Number Generator

    Updated Jan 11, 2026
  • #70

    Apache & PHP - two lines of code...

    Updated Jan 7, 2026
  • #46

    Add support for context based rejections

    Updated Dec 31, 2025

> Tags

JavaScriptapiexpressjsjson

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架