{"id":20318277,"url":"https://github.com/feedeo/ebba-send-api-demux","last_synced_at":"2025-10-24T16:54:23.066Z","repository":{"id":74675133,"uuid":"107268391","full_name":"feedeo/ebba-send-api-demux","owner":"feedeo","description":"Ebba's Send API Demultiplexer","archived":false,"fork":false,"pushed_at":"2020-05-30T10:53:53.000Z","size":268,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T13:18:34.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feedeo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-10-17T12:54:10.000Z","updated_at":"2020-07-30T12:46:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6a21182-32d0-4c33-adf5-eb426b2e0be5","html_url":"https://github.com/feedeo/ebba-send-api-demux","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedeo%2Febba-send-api-demux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedeo%2Febba-send-api-demux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedeo%2Febba-send-api-demux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedeo%2Febba-send-api-demux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedeo","download_url":"https://codeload.github.com/feedeo/ebba-send-api-demux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241819317,"owners_count":20025294,"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-11-14T18:38:46.932Z","updated_at":"2025-10-24T16:54:18.045Z","avatar_url":"https://github.com/feedeo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ebba's Send API Demultiplexer\n\n[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) \n[![Build Status](https://travis-ci.org/feedeo/ebba-send-api-demux.svg?branch=master)](https://travis-ci.org/feedeo/ebba-send-api-demux)\n[![Coverage Status](https://coveralls.io/repos/github/feedeo/ebba-send-api-demux/badge.svg?branch=master)](https://coveralls.io/github/feedeo/ebba-send-api-demux?branch=master)\n[![Greenkeeper badge](https://badges.greenkeeper.io/feedeo/ebba-send-api-demux.svg?token=8bba7d4da58903d25c528315d06549f98f1261382e58c5228f02ff01914025cb\u0026ts=1498125217303)](https://greenkeeper.io/)\n[![](https://img.shields.io/github/release/feedeo/ebba-send-api-demux.svg)](https://github.com/feedeo/ebba-send-api-demux/releases)\n[![](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Docker Stars](https://img.shields.io/docker/stars/feedeo/ebba-send-api-demux.svg)](https://hub.docker.com/r/feedeo/ebba-send-api-demux/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/feedeo/ebba-send-api-demux.svg)](https://hub.docker.com/r/feedeo/ebba-send-api-demux/)\n\nDemultiplex Send API requests from Ebba based on the company identifier.\n\n### Features\n* Launch :rocket: inside a Docker container :whale: so you don't need to manage the dependencies :raised_hands: :white_check_mark:\n* Quickly deploy :runner: and easily scale :two_men_holding_hands: the number of servers by using Rancher :white_check_mark:\n\n### How to use\n\n#### Use it in your terminal\nRun the Docker image in a container exposing port `5928`\n```\ndocker run -d -p \"5928:3000\" -e COMPANY_BASE_URLS=\"{\\\"my-company-id\\\": \\\"http://localhost:8080/send\\\"}\" feedeo/ebba-send-api-demux\n```\n\n#### Available REST API endpoints\nSwagger documentation available `http://localhost:5928/docs`\n\n#### Available environment variables\nVariable | Description | Required | Default value\n:---:|:---:|:---:|:---:\nCOMPANY_BASE_URLS | Mapping (JSON object) between company identifiers and their base URLs. | false | `{}`\nPORT | The port to be used by the HTTP server. | false | `3000`\nLOG_LEVEL | The log level verbosity. | false | `info`\nENVIRONMENT | The environment the app is running on. | false | `undefined`\nROLLBAR_API_KEY | The server API key used to talk with Rollbar. | false | `undefined`\n\n### How to build\nClone the GitHub repo\n```\ngit clone https://github.com/feedeo/ebba-send-api-demux.git\n```\n\nChange current directory\n```\ncd ebba-send-api-demux\n```\n\nInstall dependencies\n```\nnpm install\n```\n\nRun the NPM script that will build the Docker image\n```\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedeo%2Febba-send-api-demux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedeo%2Febba-send-api-demux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedeo%2Febba-send-api-demux/lists"}