Code Repository
Permalink
Hello everyone,
I've been trying out several open-source CMS systems trying to find a perfect fit. I read some of the discussions here on the whole Concrete5 versus WordPress debate. I tend to agree they both have their strengths, and your use and end user experience should dictate your choice.
I'm looking to develop a CMS-powered web site with just the right amount of abstraction, security, and ease of use. One feature I would like to see is access, via a plugin, to an on-line code repository for code snippets. Snipplr is an example, however, their repository is public. I don't have a problem with sharing resuable solutions, but some of my content is proprietary. Does anyone know of a good FREE on-line code repository with PUBLIC and PRIVATE access? And is there an associated plug-in for Concrete5?
WordPress has a Snipplr plugin, and it works well using shortcodes like [ snippet = id ]. The problem is you can't reference snippets in a website unless they are made public.
I envision snippets replacing config files and language files for global variables and phrase content. The abstraction adding another layer of security.
Hopefully, my question makes sense and some master coder out there knows of a solution.
I've been trying out several open-source CMS systems trying to find a perfect fit. I read some of the discussions here on the whole Concrete5 versus WordPress debate. I tend to agree they both have their strengths, and your use and end user experience should dictate your choice.
I'm looking to develop a CMS-powered web site with just the right amount of abstraction, security, and ease of use. One feature I would like to see is access, via a plugin, to an on-line code repository for code snippets. Snipplr is an example, however, their repository is public. I don't have a problem with sharing resuable solutions, but some of my content is proprietary. Does anyone know of a good FREE on-line code repository with PUBLIC and PRIVATE access? And is there an associated plug-in for Concrete5?
WordPress has a Snipplr plugin, and it works well using shortcodes like [ snippet = id ]. The problem is you can't reference snippets in a website unless they are made public.
I envision snippets replacing config files and language files for global variables and phrase content. The abstraction adding another layer of security.
Hopefully, my question makes sense and some master coder out there knows of a solution.
Thanks for the quick reply. I actually went to this very site and reviewed the options listed. I'm not really looking for a code editor/syntax highlighter tool, paste bin, or a versioning tool. One site sounded promising #6 Paste HTML, but my Security Software flagged it as a malicious website. #12 Gist - GitHub seems promising, but private repositories aren't free.
I've experimented with #9 Snipplr, but again the issue is storing and accessing PRIVATE snippets. I also tried #16 Snipt, and it while your can insert snippets into your site, they aren't displayed as the actual source.
Example: My stored HTML snippet is:
<strong><font color="#FFFFFF">Hello World!</font></strong>
and I can create a Concrete5 scrapbook called 'Snippets' and add an HTML block and enter this reference to Snipt:
<script src="http://snipt.org/embed/xoqk"></script>
However instead of seeing "Hello World" displayed in bold, white letters against my dark background, I get an image of the snippet code when viewing the website. (http://radiometallica.com)
Snipt is open source and the API is available, but creating a plugin is beyond my skill.
Concrete5's scrapbook is a similiar concept, but the code snippets/blocks are part of the application and can't easily be reused across websites.
I've experimented with #9 Snipplr, but again the issue is storing and accessing PRIVATE snippets. I also tried #16 Snipt, and it while your can insert snippets into your site, they aren't displayed as the actual source.
Example: My stored HTML snippet is:
<strong><font color="#FFFFFF">Hello World!</font></strong>
and I can create a Concrete5 scrapbook called 'Snippets' and add an HTML block and enter this reference to Snipt:
<script src="http://snipt.org/embed/xoqk"></script>
However instead of seeing "Hello World" displayed in bold, white letters against my dark background, I get an image of the snippet code when viewing the website. (http://radiometallica.com)
Snipt is open source and the API is available, but creating a plugin is beyond my skill.
Concrete5's scrapbook is a similiar concept, but the code snippets/blocks are part of the application and can't easily be reused across websites.
Bitbucket - supports Git, and now free private (and public) repositories.
http://bitbucket.org/
No add-on for you though either, but otherwise fits..
http://bitbucket.org/
No add-on for you though either, but otherwise fits..
ohh- try using the api. Instead of the script, usehttp://snipt.net/api like
$code=file_get_contents(http://snipt.net/api/snipts/13.json?style=native); //now format the data
http://www.1stwebdesigner.com/freebies/paste-share-code-snippets/...
search for provate on the page and you get a number of results.