TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I have a silly pet project, can I get some input?

11 pointsby andreigasparover 5 years ago
Last night I had a stupid idea, and wanted to check if it is technically possible. Well, it is!<p>In a nutshell: Emoji support for your website&#x27;s URLs.<p>yourwebsite.com&#x2F;contact - booring<p>yourwebsite.com&#x2F;:phoneemoji: - cool!<p>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)<p>Here&#x27;s the project:<p><a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;slashemoji" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;slashemoji</a><p>I currently have support for the &#x2F;contact and &#x2F;about routes.<p>Can you give me some ideas of what other URLs to cover, and what emojis to link the routes to?

6 comments

swimmadude66over 5 years ago
Rather than trying to exhaustively predict all the pages you could ever want, maybe it would be smarter to build this as a middleware. That way you could also support things like post requests, multiple emojis in a path, or paths off of something other than root.<p>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.<p>Overall I think its a cool idea, but if I were you I&#x27;d be worried about the huge amount of work to extend this functionality as-is if it got popular.
评论 #20881646 未加载
评论 #20882208 未加载
andreigasparover 5 years ago
I created an updated package with the ability to customize your emojis, and implemented it into our site (there are some examples in the description): <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;emoji-express" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;emoji-express</a>
tanmaydesai89over 5 years ago
Sharing a demo url would help.<p>pages you can cover: careers&#x2F;jobs, pricing, status, faqs, blog, terms of service, privacy policy.<p>Hope this helps.
评论 #20881339 未加载
tonteldoosover 5 years ago
Scratched an itch, simple idea, elegant implementation, and useful! I love it :)
评论 #20894179 未加载
gitgudover 5 years ago
Cool idea, I think it should be mobile only though. Emojis dont show in my chrome browser on PC, as coloured icons that is.
评论 #20882225 未加载
XZz_Yassinover 5 years ago
Cool idea, I like it
评论 #20882305 未加载
评论 #20882244 未加载