{"id":13558218,"url":"https://github.com/freerange/site","last_synced_at":"2025-04-23T01:31:22.205Z","repository":{"id":37930640,"uuid":"286561","full_name":"freerange/site","owner":"freerange","description":"Go Free Range website","archived":false,"fork":false,"pushed_at":"2025-04-18T13:39:24.000Z","size":151681,"stargazers_count":7,"open_issues_count":27,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-19T01:03:34.679Z","etag":null,"topics":["blog","markdown","rails","ruby","website","worker-cooperative"],"latest_commit_sha":null,"homepage":"http://gofreerange.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freerange.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2009-08-24T14:32:21.000Z","updated_at":"2025-04-18T13:39:27.000Z","dependencies_parsed_at":"2023-09-22T13:16:20.677Z","dependency_job_id":"a46c5d4e-bb70-4c5e-81c5-7399d5068080","html_url":"https://github.com/freerange/site","commit_stats":{"total_commits":3891,"total_committers":23,"mean_commits":"169.17391304347825","dds":0.5386790028270367,"last_synced_commit":"ff46a84ae9ed7c8db2a09ed9f6d89f4eac5ff131"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Fsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Fsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Fsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Fsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freerange","download_url":"https://codeload.github.com/freerange/site/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249995617,"owners_count":21357960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","markdown","rails","ruby","website","worker-cooperative"],"created_at":"2024-08-01T12:04:48.990Z","updated_at":"2025-04-23T01:31:17.195Z","avatar_url":"https://github.com/freerange.png","language":"Ruby","funding_links":[],"categories":["Ruby","markdown"],"sub_categories":[],"readme":"# WELCOME\n\nThis is a Rails application, so you can view the site locally by running `rails server`. Easy.\n\nNote that the app does not require a database; content is stored in snip files under the `soups` directory. See below for details.\n\n## Development\n\n### Compress images\n\nSet `TINIFY_API_KEY` and run `bundle exec rake assets:compress_images`.\n\n## Deployment\n\n### GitHub\n\nWhen commits are pushed to any branch on the GitHub remote, the specs are run in a GitHub Action workflow.\n\n### Heroku\n\nWhen commits are pushed to the `main` branch on the GitHub remote and the specs pass in the GitHub Action workflow, the app is automatically deployed to Heroku.\n\n### Configuring Rollbar\n\nSo that exceptions are reported to Rollbar. You will need to create a new project within Rollbar in order to obtain the API key, which is project-specific.\n\n    $ heroku config:add ROLLBAR_ACCESS_TOKEN=\u003crollbar-access-token\u003e\n\n### Configure secret key\n\n    $ rails secret | pbcopy\n    $ heroku config:set SECRET_KEY_BASE=`pbpaste`\n\n## Writing a snip\n\nA snip is just a text file within the \"soup\", like \"here-is-my-stuff.snip\". You can write whatever you like in the file, and it will be rendered as is when you visit http://yoursite/here-is-my-stuff.\n\nBy default snips will be rendered as HTML. Snip files with a `.markdown` extension will be rendered using the `kramdown` gem. You can use ERB tags within any snip. Metadata is stored as YAML at the bottom of a snip.\n\nThis site uses multiple soups to make it easier to organise the content. Within the `soups` directory there are snips, and also sub-directories; These contain other snips, but don't result in nested URLs. In other words, if a snip called `hello.snip` is in `soups/blog`, it is still served from `http://yoursite/hello`, and not `http://yoursite/blog/hello`. The URL space is flat.\n\nThe layout for a snip will default to 'application' unless the `render_as` attribute is set to 'Blog' in which case it will default to 'blog'. You can override the layout by setting the `layout` attribute.\n\nOnly snips with `kind` set to 'blog' or 'show-and-tell' are included in the RSS/Atom feed.\n\nSetting the `draft` attribute to `true` will mean the snip is not included in any lists or in the RSS/Atom feed.\n\nThe site map is generated on the fly and includes any page with the `is_page` attribute set to `true`.\n\nIf you're not sure, just look at some of the other snips in `soups/blog`.\n\n### Regression test\n\nThere are a set of Rake tasks under the 'regression' namespace which allow generation and comparison of a set of normalized HTML/XML artefacts. Note that these Rake tasks depend on HTML Tidy [1] which can be installed via `brew install tidy-html5` on OSX.\n\n[1]: http://www.html-tidy.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerange%2Fsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreerange%2Fsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerange%2Fsite/lists"}