Show HN: I have a silly pet project, can I get some input?
Last night I had a stupid idea, and wanted to check if it is technically possible. Well, it is!
In a nutshell: Emoji support for your website's URLs.
yourwebsite.com/contact - booring
yourwebsite.com/:phoneemoji: - cool!
So I wrote a nodejs middleware that offers emoji support for your API, with 2 lines of code. (well if you count the installation 3 lines)
Here's the project:
https://www.npmjs.com/package/slashemoji
I currently have support for the /contact and /about routes.
Can you give me some ideas of what other URLs to cover, and what emojis to link the routes to?
(
18 comments
| 11 points
| on HN
)
Additionally, you could allow your code to accept a mapping of emojis to strings. That way people could use other emojis without hammering you to support them, and the same emoji could be used to represent different strings on different sites.
Overall I think its a cool idea, but if I were you I'd be worried about the huge amount of work to extend this functionality as-is if it got popular.
I'll explore some solutions for scaling and customizing it, thanks!
For example: emoji.set(':emojisymbol:', '/whatever/route/here')
Thanks again for the input!
pages you can cover: careers/jobs, pricing, status, faqs, blog, terms of service, privacy policy.
Hope this helps.
Thanks for the suggestions, these are awesome! I'll add them like this (because I can't use spaces): /careers /jobs /pricing /status /faq /blog /terms /privacy
I had a question though - why not provide a mapping option to slug for better customization. (pardon - my programming knowledge is very limited)
I'll try to figure that out as well for 2.0, maybe there's a user friendly way to customize it
This is a great way to universalize the standard website footers such as About us, privacy, contact us and sitemap
I built it as a tongue in cheek project, but I'm starting to get pretty excited about polishing it.