FOSSA Status - fossa-url FOSSA License Badge - fossa-license-badge FOSSA Security Badge - fossa-security-badge
Dis na Pidgin English version of "shouldideploy" repo. We dey try make developers, designers, and tech people laugh small before dem deploy code.
- We dey speak pure pidgin
- We dey welcome contributions wey dey speak pidgin
- No serious grammar, just vibes and code 😎
- Fork the repo
- Add your pidgin magic
- Make pull request
- Make everybody laugh small 😂
- Write code wey work
- Use pidgin wey everybody go understand
- No form grammar, just flow
Abeg, come join us make we laugh and code! 🇳🇬🖥️
- Run dis tin:
npm i
— make dependencies enter.npm run dev
start dev servernow dev
if you want use local serveless function (you go need "now")
Reasons dey for reasons.ts.
We get API wey you fit use for your CI or just for fun at api-endpoint.
You fit add some optional parameters wey go customize API response:
-
tz
: Timezone wey you want use. Put correct timezone string, likeAfrica/Lagos
orAmerica/Chicago
. Default naUTC
. -
date
: Date wey you want check. Default na today. Put correct date string for this formatYYYY-MM-DD
, like2024-11-18
.
Get the default API response using the current date and time in the UTC timezone:
https://makeideploy.today/api
Get the API response for a specific timezone (e.g., Africa/Lagos):
https://makeideploy.today/api?tz=Africa/Lagos
Get the API response for a specific date (e.g., 2024-11-18) in the UTC timezone:
https://makeideploy.today/api?date=2024-11-18
Get the API response for a specific date (e.g., 2024-11-18) in a specific timezone (e.g., America/Chicago):
https://makeideploy.today/api?tz=America/Chicago&date=2024-11-18
The API go give you JSON object wey get these keys:
timezone
: Timezone wey you give for the request.date
: Date wey you provide for ISO format (YYYY-MM-DDTHH:mm:ss.sssZ).makeideploy
: Boolean value wey go show if you suppose deploy today.message
: String/Message wey explain why you go or no go deploy.
Example response:
{
"timezone": "UTC",
"date": "2024-11-18T00:00:00.000Z",
"makeideploy": false,
"message": "Today na Monday, you suppose don deploy!"
}
Favicon created by emilegraphics from the NOUN Project at favicon-credit
Abeg check am for license-link || WTFPL - You fit do anytin wey you want with dis code!