ninsuo / twigfiddle

twigfiddle.com provides a small development environment to develop, run, store and access Twig code online.
https://twigfiddle.com
MIT License
136 stars 14 forks source link

[Feature Suggestion] Browse most popular fiddles #39

Open paulmassen opened 7 years ago

paulmassen commented 7 years ago

Hi and thanks for making twigfiddle, it's very useful.

While browsing fiddle, I noticed that there is no way of viewing the most popular fiddles whereas the number of views is displayed. I think it could be a great way to find interesting twig tricks.

Thanks again, Paul

ninsuo commented 7 years ago

Hi there,

Actually "views" is a bit weird because robots are visiting fiddles and this information has no real sense because all older fiddles will systematically be on top of such a sort. Some people even flooded website to increment this counter (ex: https://twigfiddle.com/sf3zav, in reality visited by 132 people according to analytics).

Maybe a voting system on fiddles and a "Recent | Votes" filter would be more relevant.

I'm not going to do it quickly because most people just run fiddles out there and don't browse others, some numbers for the last 90 days:

When I'll be a bit less busy with other opensource projects, I'll go for it 👍