This does several things to subreddit stylesheets: - stores them on the thumbs buckets rather than the main static bucket. (this was not desirable before on reddit.com due to CDN configuration) - enforces a new restriction of custom (%%style%%) images only in stylesheets to make secure urls easier to resolve. existing subreddits are grandfathered in for now. - writes, if possible as above, a second stylesheet that references subreddit images over https. At some point in the future, the thumbs buckets should be directly accessible on HTTPS via the same URLs which would remove the need for the second stylesheet to be created and uploaded. The custom image rules and other changes would still be good.
This is the primary codebase that powers reddit.com.
For notices about major changes and general discussion of reddit development, subscribe to the /r/redditdev and /r/changelog subreddits.
You can also chat with us via IRC in #reddit-dev on FreeNode.
Quickstart
To set up your own instance of reddit to develop with, we have a handy install script for Ubuntu that will automatically install and configure most of the stack.
Alternatively, refer to our Install Guide for instructions on setting up reddit from scratch. Many frequently asked questions regarding local reddit installs are covered in our FAQ.
APIs
To learn more about reddit's API, check out our automated API documentation and the API wiki page. Please use a unique User-Agent string and take care to abide by our API rules.
Happy hacking!