Hmas - Hacker Messages As Service
May 18, 2025โข721 words
๐ง HMAS API โ The Hacker Message Automation System
Welcome to the HMAS API, your terminal-friendly, prank-ready, hacker-style message generator. Whether you're building a dev tool, injecting some chaos into your chat, or just having fun, HMAS has your back.
โก Basic Usage
/api.php?msg=YourUserID&apikey=YOUR_API_KEY
Replace YourUserID with your desired name or identifier.
Free API Key: testkey123
Note: Kittens will die if you abuse this service.
๐งพ Output Formats
/api.php?msg=Hacker&format=json&apikey=testkey123
Response:
{
"message": "๐ง Captain! Almost your devices are hacked...",
"user": "Hacker"
}
Optional Format Parameter
&format=jsonโ Default JSON (structured API use)&format=txtโ Plain text (shell output)&format=htmlโ Styled HTML (for dashboards)
- &format=yaml โ YAML (config/devops tools)
๐ฅ๏ธ Use HMAS from Your Terminal
Use our official CLI to fetch messages directly from the command line:
npx hmas-cli --msg hacker --format txt --apikey YOUR_API_KEY
CLI Options
--msg: Your message context--format:json,txt,yaml,html,md--category:ai,debug,terminal, etc.--mode:dailyorweekly--apikey: Or useHMAS_APIKEYas an env var ### Examplesbash npx hmas-cli --msg ghost --format md --mode daily --apikey YOUR_API_KEY HMAS_APIKEY=YOUR_API_KEY npx hmas-cli --msg hacker --format yaml### Global Installationbash npm install -g hmas-cli hmas --msg hacker --format yaml --apikey YOUR_KEY--- ## ๐งฑ Integration Examples ### CommonJSjs const hmas = require('hmas-cli'); hmas({ msg: 'cyberpunk', format: 'json', apikey: 'YOUR_KEY' }) .then(res => console.log(res));### ES Modulesjs import hmas from 'hmas-cli'; const res = await hmas({ msg: 'ai', format: 'yaml', apikey: 'YOUR_KEY' }); console.log(res);### TypeScript Supportts import hmas from 'hmas-cli'; const result = await hmas({ msg: 'fun', format: 'json', apikey: 'YOUR_KEY' });--- ## โค๏ธ Like It? Save It. You can now like or dislike any retrieved message:http api.php?last=like&apikey=YOUR_KEY api.php?last=dislike&apikey=YOUR_KEY- Likes go into your personal vault.
- Dislikes? Well, letโs just say itโs โunder review.โ
๐ Retrieve Your Liked Messages
api.php?liked&apikey=YOUR_KEY
api.php?liked&max=5&page=2&format=markdown&apikey=YOUR_KEY
Parameters
max(1โ10): Number of messagespage: Paginate resultsformat:json,html,md,yaml,txt### Examplehttp api.php?liked&page=1&format=html&apikey=testkey123Returns:html โค๏ธ ๐ง Captain! A phantom process is scraping your clipboard history. โค๏ธ ๐ก AI Guardian detected entropy drift. Bucket reversed.--- ## ๐งพ Advanced: Custom Labels withas=Useas=to override the default user label:http /api.php?as=system&apikey=YOUR_KEYResponse:json { "system": "๐ง Some generated message." }Applies to all formats. --- ## ๐ก HMAS API: Search, Share, Paginate Messages Search, share, and paginate messages easily. ### ๐ Search Messageshttp api.php?search=memory&apikey=YOUR_KEY#### Additional Optionsmax: (1โ10)page: paginationformat:json,html,markdown,text,yamlhttp api.php?search=memory&max=3&page=2&format=markdown&apikey=YOUR_KEY--- ## ๐ฌ Share via Email ### Share a Named Messagehttp api.php?msg=john&format=html&share=you@example.com&apikey=YOUR_KEY### Share a Search Resulthttp api.php?search=quantum&max=5&page=1&format=markdown&share=colleague@lab.net&apikey=YOUR_KEY- Output is UTF-8 safe.
- Looks great in your inbox.
๐ ๏ธ Format Options
You can set formats via format=, as=, or msg=:
json(default)htmlmarkdownyaml
- txt or text
๐ Try It Now
api.php?search=surveillance&format=html&share=friend@cyberspace.net&page=1&max=2&apikey=YOUR_KEY
Spread the intelligence. Share the signal.
๐งฉ Embed the Hacker Terminal Widget
Embed on your website:
<div id="hacker-terminal"></div>
<script src="https://carlostkd.ch/hmas/embed.js" data-api="https://carlostkd.ch/hmas/api.php?msg=hacker&apikey=yourApi"></script>
๐ Rules & Parameters
?as=johnโ Returns label: john?msg=johnโ Returns user: john- Allowed:
a-z,A-Z,0-9,_,-, space
- Max: 50 characters
๐ง Integration Ideas
- Command line tools (curl, bash)
- Mobile apps (React Native, iOS, Android)
- Bots (Discord, Slack)
- Browser extensions
- Game overlays
- Dashboards, dev intros, widgets
๐ Categories
Use ?category= to filter messages:
/api.php?msg=hacker&category=fun
/categories.php
Available: ai, cyberpunk, terminal, debug, fun, hacker, misc
๐ฎ Prank Generator
Inject chaos with fun messages for friends!
- Dynamic alerts: new prank every time
- Customize format: terminal, alert, playful
Warning: Use responsibly โ donโt cause harm, just laughs!
---
## ๐ Daily & Weekly Modes
http /api.php?msg=test&mode=daily&apikey=yourkey /api.php?msg=test&mode=weekly&category=debug&apikey=yourkey--- ## ๐ค Final Thoughts - 128,000+ random hacker-style messages
- Immersive phrasing with emoji support
- Great for projects, pranks, and dev humor
Made with chaos & caffeine. Long live the terminal wizards.