13

I've written a few (what I consider to be cool) bash scripts (that are specific to the Raspberry Pi), and I'd like to share them with the community.

Is there a jsfiddle-like site where I can put up the scripts?

Maybe even a community-based, cloud-sourced, site would be good for this, maybe in a wiki style. Does anyone know of one like this?

I just added a very brief script to JSFiddle to see if it'd work. Please let me know if you guys would use this. Or if it's just a horrible idea.

  • 5
    If they do something useful you could ask and answer your own question, e.g. Q. how do I do X on the Raspberry Pi. A. Here is how to do X on the Raspberry Pi. – joan Aug 5 '16 at 9:21
  • 3
    github, and youmay want to publize them by writing a post for our blog. – Steve Robillard Aug 5 '16 at 9:21
  • @joan I've kinda done the ask and answer to separate parts of cool scripts that I've created on here, and on unix.stackexchange, but was looking for a more dedicated site to put it all into one - without seeming to be repeating myself. – Jim Aug 5 '16 at 9:30
  • 4
    Show them to girls on first dates. – Revetahw says Reinstate Monica Aug 5 '16 at 14:39
  • Comments are not for extended discussion; this conversation has been moved to chat. – Ghanima Aug 5 '16 at 16:07
13
  1. Github.com
  2. gitlab.org
  3. bitbucket.org

anywhere code related really

  • Thanks, was looking for something designed specifically for RPi though. – Jim Aug 5 '16 at 9:25
  • well the fun thing is with github, I myself have lots of programs on github specificly for the RPI 2b it allows everyone to contribute aswell if needed :) – patrick Aug 5 '16 at 9:32
  • Awesome, share the link pls. The reason I'm kinda avoiding github is that I don't fully 'get' it. Maybe a bad reason to avoid it - I know. I'm just the kind of guy that likes JS on JSFiddle, and PHP on PHPFiddle, etc. – Jim Aug 5 '16 at 9:38
  • github.com/ppigmans just simple lightweight programs, installers, GUI's and fixes of other programs – patrick Aug 5 '16 at 9:41
  • oh and Project-trinity on my front page is an A.I. WIP – patrick Aug 5 '16 at 9:42
9

To have a jsfiddle-like shareable link for your scripts, create a Github account, and save your scripts as GISTs: https://gist.github.com/ You will be able to update them in the future if you need.

Regarding a place to post them, I think you are looking for the wrong thing. You want a place to share Raspian stuff, not Raspberry right? RaspberyPI is just the computer, if it's running some other OS your scripts might not fit.

You might find a place to share your scripts links in https://www.raspberrypi.org/forums/viewforum.php?f=66 or https://www.raspberrypi.org/forums/

  • You're right, it is for Raspbian and wouldn't run on other RPi O/Ss, however, at the same time, some of the commands wouldn't work on non-RPi Linux distros. However, as mentioned in the OP, I'd have liked to have a RPI-centric place for bash scripts. I guess I should have used "any" scripts, not specifically "bash", to include scripts written for other RPi distros. – Jim Aug 5 '16 at 13:11
6

One place to go to - if you care about some explaining of those scripts too - would be our official+ blog Piversify:

Piversify is a blog dedicated to the Raspberry Pi, written by members of the raspberrypi.stackexchange.com community.

Here's the procedure how to contribute.


+ Piversify is not hosted by or otherwise linked to StackExchange itself or the Stack Exchange Inc. It is merely run by the community and its moderators here without being legally tied to StackExchange.

  • I'll check it out - tumblr blocked in my office :-( – Jim Aug 5 '16 at 9:26
  • why is the blog official and not just official? – Jaromanda X Aug 5 '16 at 12:12
  • @JaromandaX, Piversify is a blog dedicated to the Raspberry Pi, written by members of the raspberrypi.stackexchange.com community. It is however not hosted by or otherwise linked to StackExchange itself or Stack Exchange Inc. So it is merely run by the community and its moderators here without being legally tied to StackExchange. – Ghanima Aug 5 '16 at 12:25
  • thanks - I always look twice when I see italicised statements like that - now I'll take a look :p – Jaromanda X Aug 5 '16 at 12:29
1

So in frustration, I've thrown a little site together that has one script on it so far.

It's very much a static site. I plan on adding a comments section on it later, but for now, it's very much non-interactive.

If you've any feedback on it (positive or negative) let me know.

http://bash.blyzz.com/

I hope the stackexchange sites don't mind me imitating some of the styling.

1

I had the same ideas before and after some research I found that we can share it as an open source project in Github.

That's why I have created new Repository for this purpose and anybody can contribute in it.

It's the project of usage Raspberry Pi & Co in home usage.

If it's interesting for you - follow this link.

Not the answer you're looking for? Browse other questions tagged or ask your own question.