{"id":20103113,"url":"https://github.com/strader07/brabbl-backend-django","last_synced_at":"2026-06-12T14:32:31.896Z","repository":{"id":259588453,"uuid":"373679407","full_name":"strader07/brabbl-backend-django","owner":"strader07","description":"brabbl backend in django","archived":false,"fork":false,"pushed_at":"2021-06-04T16:12:27.000Z","size":210,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T17:27:45.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/strader07.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}},"created_at":"2021-06-04T00:42:27.000Z","updated_at":"2023-09-29T10:35:14.000Z","dependencies_parsed_at":"2024-10-26T19:02:47.787Z","dependency_job_id":"57ca5304-86c5-45ef-9e17-885275aba3d5","html_url":"https://github.com/strader07/brabbl-backend-django","commit_stats":null,"previous_names":["strader07/brabbl-backend-django"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strader07/brabbl-backend-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strader07%2Fbrabbl-backend-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strader07%2Fbrabbl-backend-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strader07%2Fbrabbl-backend-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strader07%2Fbrabbl-backend-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strader07","download_url":"https://codeload.github.com/strader07/brabbl-backend-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strader07%2Fbrabbl-backend-django/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34249560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-13T17:34:20.089Z","updated_at":"2026-06-12T14:32:31.881Z","avatar_url":"https://github.com/strader07.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brabbl\n\n## Development\n\n* Go to project folder\n* `virtualenv -p /usr/bin/python3 env`\n* `. env/bin/activate`\n* `pip install -e .`\n* `pip install -r requirements/dev.txt`\n* `cd brabbl`\n* `python manage.py migrate --settings=brabbl.conf.dev`\n* `python manage.py runserver --settings=brabbl.conf.dev`\n\nCSS files for Welcome page are got from the frontend application considering selected theme. Please run `npm run build_staging` to generate theme files.\nAlso don't forget to run `python manage.py collectstatic`\n\n\n## Deployment:\n\nCheck if staging or production server have newest translations using `git status`.\n\nCopy it to your local machine using `scp` if need. For example:\n\n`scp brabbl-staging@api.brabbl.com://home/brabbl-staging/src/brabbl/brabbl/locale/de/LC_MESSAGES/django.po ./Python/brabbl/django.po`\n\nIf translations aren't up to date just revert changes using `git checkout \u003cpath to file\u003e`\n\nRun deploying script\n\n* `fab staging deploy` or `fab production deploy`\n\nFor provisioning of server, check the `deployment/` subdirectory.\n\nBe sure that your host is added into `ALLOWED_HOSTS`. Fill in `SITE_DOMAIN` on your settings.\n\n**Be attention** `SESSION_COOKIE_SECURE` setted as `True`. So if you don't use SSL you should set it to `Fasle`\n\n## API Docs\n\nThe current API is documented (as API Blueprint) in the docs folder.\nUse `npm install` and `gulp` in the docs folder to build a html version of the docs.\n\n\n## Coding Style\n\nMake sure your editor of choice supports EditorConfig [http://editorconfig.org] so the\nstyles defined in `.editorconfig` are picked up and respected.\n\nPEP8 conformity is checked as part of the test suite.\n\n\n## Testing\n\nUse `py.test brabbl` from the project root to run the tests.\n\n\n## Embedding options\n\nbrabbl API can be integrated as a list page (listing all discussions for\na specific customer) or on a detail page (hosting the actual discussions).\n\nFor integration on a detail page, a customer's staff needs to activate\ndiscussions on that specific page and select one of *five* options for\nintegration:\n\n1. Only barometer\n2. Only arguments\n3. Barometer and arguments\n4. List of user-provided answers (only barometer)\n5. List of user-provided answers (barometer and arguments)\n\nIf discussion hasn't created yet, staff members can login on the list page.\n\n\n## Snippet\n\n```\n\u003cdiv id=\"brabbl-widget\"\u003e\u003c/div\u003e\n\u003cscript\u003e\n(function() {\n  window.brabbl = {\n    customerId: \"brabbl-test\",\n    /* id for article: e.g. a context var filled in by the customer or something\n\t   like `window.location.pathname`  */\n    articleId: \"XYZ\",\n    defaultTags: [\"foo\", \"bar\"], // this tags will be added automatically on \"Create discussion form\"\n    view: \"list\" // only required for list view.\n  },\n  script = document.createElement('script'),\n  entry = document.getElementsByTagName('script')[0];\n  script.src = \"http://staging.api.brabbl.com/embed/brabbl.js\";\n  script.async = true;\n  entry.parentNode.insertBefore(script, entry);\n})();\n\u003c/script\u003e\n```\n\n## Glossary\n\n* Customer - one \"integration environment\". All users are specific to\n  one customer (although usernames must be unique through all customers).\n  Integrations are limited to certain domains per customer.\n\n* Discussion - is created as soon as a staff member activates brabbl on\n  a certain article page. Requires a unique ID from the hosting CMS.\n\n* Statement - parent for all arguments. Discussions can have _one_ statement\n  attached (for integration options 1-3) or _multiple_ statements (for 4 and 5).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrader07%2Fbrabbl-backend-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrader07%2Fbrabbl-backend-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrader07%2Fbrabbl-backend-django/lists"}