📜 ⬆️ ⬇️

Snippets.PRO - free code snippet library

Snippets.PRO Greetings, dear colleagues! I want to bring to your attention one of my personal projects: snippets.pro is a free library of snippets. I fully understand that such services already exist, but I wanted to do something different from others. Well, plus to this, benefit yourself and your colleagues by making a convenient and friendly system :) I tried to take a course on maximum socialization: rating snippets and users, own snippets and favorites, comments, the ability to instantly share your favorite code in social networks.


What has been done


Development of the system from scratch took three days, fine-tuning and catching bugs - two more days. Initially, I wanted to implement only the basic functionality, but in the development process I got a little more than I had planned:
  1. Registration, authorization, recovery of a forgotten password (you can log in via Facebook, soon add authorization via Twitter and, probably, through GitHub).
  2. Snippets publication (this is possible even without authorization, just by entering captcha)
  3. Full code editor when adding a snippet (based on CodeMirror )
  4. Convenient breakdown of snippets by categories and tags
  5. Search system (currently searches only by name and by tags)
  6. User profile with own tape of added snippets and “favorites”
  7. Ability to vote for a snippet (respectively, this affects the rating of the snippet and its author)
  8. Ability to add snippet to favorites
  9. Ability to share snippet in social networks (so far only FB, Twitter, Google+, VK and Reddit)
  10. The ability to download a snippet as a text file, the ability to view the code in a separate browser tab (just a raw code, without any “husk”), and within the system interface (of course, that each snippet has a readable permalink).
  11. Snippet comments
  12. RSS feed with recently added snippets broken down by category
  13. The service interface is available in Russian, English, Czech and German.


Future plans


I want to make a feedback to the users of the service as the main development policy: if I see that one or another function is required, it will be added. But it will definitely be implemented in the near future:
  1. Further development of the basic functionality.
  2. Authorization through social networks (at least Twitter and GitHub).
  3. Editing snippets and, as a result, their versioning.
  4. Any internal system incentives for active users based on their rating.

')

Conclusion


I will welcome any suggestions, comments and any reasonable criticism from you, dear colleagues. I also invite everyone to participate in the beta testing, and maybe make a small contribution to the development of the service by adding your own code snippet :) Thank you for your attention!

Source: https://habr.com/ru/post/181506/


All Articles