{"id":13722351,"url":"https://github.com/brandocms/brando","last_synced_at":"2025-05-07T15:30:38.350Z","repository":{"id":25946241,"uuid":"29387790","full_name":"brandocms/brando","owner":"brandocms","description":"A CMS of sorts.","archived":false,"fork":false,"pushed_at":"2025-05-02T14:07:19.000Z","size":25288,"stargazers_count":8,"open_issues_count":87,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T15:25:07.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandocms.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-01-17T10:33:30.000Z","updated_at":"2025-05-02T14:07:23.000Z","dependencies_parsed_at":"2024-02-08T15:29:06.683Z","dependency_job_id":"9c4d00eb-c56c-44c8-935f-cfffe52ba57b","html_url":"https://github.com/brandocms/brando","commit_stats":null,"previous_names":["twined/brando"],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandocms%2Fbrando","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandocms%2Fbrando/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandocms%2Fbrando/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandocms%2Fbrando/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandocms","download_url":"https://codeload.github.com/brandocms/brando/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252905516,"owners_count":21822819,"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":[],"created_at":"2024-08-03T01:01:27.691Z","updated_at":"2025-05-07T15:30:38.344Z","avatar_url":"https://github.com/brandocms.png","language":"Elixir","funding_links":[],"categories":["Elixir"],"sub_categories":["Phoenix"],"readme":"\u003cp align=\"center\"\u003e\n    \u003csup\u003e\u003cem\u003eA helping hand.\u003c/em\u003e\u003c/sup\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/brandocms/brando/master/priv/static/brando.png\" width=\"350\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/brandocms/brando/actions/workflows/ci.yml\"\u003e\n      \u003cimg src=\"https://github.com/brandocms/brando/actions/workflows/ci.yml/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/brandocms/brando?branch=master\"\u003e\n      \u003cimg src=\"https://coveralls.io/repos/github/brandocms/brando/badge.svg?branch=master\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n*EXPERIMENTAL, NOT RECOMMENDED TO USE BEFORE IN MORE STABLE FORM!*\n\u003c/p\u003e\n\n\n## Install\n\nStart by creating a new Phoenix project:\n\n    $ mix phx.new my_project\n\nRun the install script:\n\n    $ wget https://raw.githubusercontent.com/brandocms/brando/master/install.sh \u0026\u0026 chmod +x install.sh \u0026\u0026 ./install.sh\n\nGo through `config/brando.exs`.\n\nTo use Brando's error views, add to your Endpoint's config (in prod.exs):\n\n```elixir\nconfig :my_app, MyApp.Endpoint,\n  render_errors: [\n    formats: [html: Brando.ErrorHTML, json: Brando.ErrorJSON], layout: false\n  ],\n```\n\n*Remember to switch out your ports and configure SSL in `etc/nginx/prod.conf`*\n\n## Dependencies\n\n  * `sharp`/`sharp-cli` for image processing.\n    Installation instructions: https://github.com/brandocms/brando/issues/183\n  * `gifsicle` for GIF resizing.\n\n## I18n\n\nBrando uses Gettext for i18n.\n\nTo extract and merge your frontend and backend translations:\n(Example for norwegian)\n\n    $ mix gettext.extract --merge priv/gettext/frontend --locale no --plural-forms-header nplurals=\"2; plural=(n != 1);\"\n    $ mix gettext.extract --merge priv/gettext/backend --locale no --plural-forms-header nplurals=\"2; plural=(n != 1);\"\n\n\n## Generators\n\nGenerate blueprint\n\n    $ mix brando.gen.blueprint\n\nGenerate templates:\n\n    $ mix brando.gen\n\n\n## Serve static from DO Spaces\n\nSetup Endpoint for `prod.exs`\n\n```elixir\nconfig :my_app, hmr: false\nconfig :my_app, MyAppWeb.Endpoint,\n  static_url: [\n    scheme: \"https\",\n    host: \"cdn.univers.agency\",\n    path: \"/my_app/static\",\n    port: 443\n  ]\n\nconfig :ex_aws, :s3, %{\n  access_key_id: System.get_env(\"AWS_ACCESS_KEY_ID\"),\n  secret_access_key: System.get_env(\"AWS_SECRET_ACCESS_KEY\"),\n  scheme: \"https://\",\n  host: %{\"fra1\" =\u003e \"SPACES_NAME.fra1.digitaloceanspaces.com\"},\n  region: \"fra1\"\n}\n```\n\nAdd to Dockerfile build:\n\n```bash\n$ mix brando.static.deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandocms%2Fbrando","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandocms%2Fbrando","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandocms%2Fbrando/lists"}