{"id":14957703,"url":"https://github.com/cba85/express-embargoed","last_synced_at":"2025-04-07T12:33:01.656Z","repository":{"id":57222901,"uuid":"464554343","full_name":"cba85/express-embargoed","owner":"cba85","description":"🇺🇦 Middleware to block all requests from Russia to any Express app and display a pro-Ukraine message instead","archived":false,"fork":false,"pushed_at":"2022-02-28T17:00:46.000Z","size":3584,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T02:03:25.827Z","etag":null,"topics":["express-middleware","expressjs","nodejs"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/cba85.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}},"created_at":"2022-02-28T16:15:06.000Z","updated_at":"2023-04-27T07:52:47.000Z","dependencies_parsed_at":"2022-09-08T23:10:43.368Z","dependency_job_id":null,"html_url":"https://github.com/cba85/express-embargoed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fexpress-embargoed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fexpress-embargoed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fexpress-embargoed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cba85%2Fexpress-embargoed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cba85","download_url":"https://codeload.github.com/cba85/express-embargoed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247653366,"owners_count":20973816,"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":["express-middleware","expressjs","nodejs"],"created_at":"2024-09-24T13:15:22.083Z","updated_at":"2025-04-07T12:33:01.629Z","avatar_url":"https://github.com/cba85.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express embargoed\n\nMiddleware to block all requests from Russia to any Express.js app and display a pro-Ukraine message instead 🇺🇦\n\n## What does this middleware do?\n\nThis middleware checks the IP of visitors coming to your site for their origin. If it detects a Russian IP, instead of continuing as normal it will block the visit and display a pro-Ukrainian message.\n\nThe message looks as follows:\n\n![Embargoed message](./docs/embargoed-message.jpeg)\n\n## Install\n\nInstall embargoed from npm\n\n```bash\n$ npm install embargoed\n```\n\n## Usage\n\n```js\nconst embargoed = require(\"embargoed\");\n\napp.use(embargoed);\n```\n\n## Other technologies\n\nThis plugin is supported in a variety of different technology stacks. You can find an exhaustive list in [this repository](https://github.com/rameerez/embargoed-list).\n\n## Collaborate\n\nPlease feel free to contact to [@rameerez](https://twitter.com/rameerez) or fork this to port it to other platforms, or make PRs to this repo to collaborate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Fexpress-embargoed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcba85%2Fexpress-embargoed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcba85%2Fexpress-embargoed/lists"}