SRAS -- An Asset Server for OpenSimulator
Latest commit 461d713 Dec 24, 2014 @coyled Update
Failed to load latest commit information.
sql change name and description columns to varchar(256). Oct 5, 2012
test bulk of SRAS rewrite Mar 28, 2011
CHANGELOG update changelog and gemspec for 2.1.5 Mar 26, 2012
Gemfile clean up Gemfile Mar 25, 2012
LICENSE update copyright date in LICENSE Jan 13, 2012
sras.gemspec refactor. remove cruft, make future testing easier. Nov 4, 2013

SRAS -- An Asset Server for OpenSimulator


Hi. I haven't used OpenSim for over 3 years, and I'm unlikely to update SRAS in the future, so rather than keep it lingering as a project of unknown compatibility with current versions of OpenSim I'm just going to officially declare SRAS abandonware.

I wrote the first version in an afternoon back in 2010, and it was only supposed to be a stop-gap measure for "2 or 3 weeks". Hopefully today there are better, more up-to-date options available to you.

Thanks for your support.

-coyled 2014-12-18


  • Asset de-duplication
  • Compressed asset storage on disk
  • Ability to disable serving of specific assets without deleting


The packages of Ruby shipping with Ubuntu don't include built-in zlib support. I prefer using RVM [ ] anyway.

Built & tested with Ruby v1.9.2.

Install via:

$ gem install sras

then copy the following text into /etc/sras/sras.conf or ~/.srasrc and edit as appropriate: ::

        default_asset_dir: /srv/sras
        port: 8003
        log_file: /var/log/sras.log
        pid_file: /tmp/

        adapter: mysql
        host: localhost
        username: sras
        password: sras
        database: sras


Then just:

$ sras start

to start a single instance. In a production environment you would likely want to run several instances behind a reverse proxy like Nginx.

To see additional options:

$ sras --help


To test asset creation:

$ curl -d @test/test.asset -X POST -w '%{http_code}\n' \

You should get a 200 HTTP response, have an entry in your assets table, and have a file contain the asset data on disk.

To test retrieval of that asset:

$ curl -X GET -w '%{http_code}\n' \ 

Mailing List

For SRAS-related announcements and discussion feel free to join the low-volume mailing list. You can join the list by submitting the form at

Mailing list members can email the list via

List archives can be found at