{"id":15443634,"url":"https://github.com/namuan/print-rider-py","last_synced_at":"2026-04-27T21:31:56.340Z","repository":{"id":38068266,"uuid":"230796677","full_name":"namuan/print-rider-py","owner":"namuan","description":"Sharing API exchanges using HttpRider","archived":false,"fork":false,"pushed_at":"2022-09-08T11:49:14.000Z","size":1690,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T07:41:54.421Z","etag":null,"topics":["aws-lambda","flask","http-rider","python-3","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"https://printrider.bettercallbots.com","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/namuan.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":"2019-12-29T19:54:23.000Z","updated_at":"2021-12-04T14:16:54.000Z","dependencies_parsed_at":"2023-01-17T16:01:26.648Z","dependency_job_id":null,"html_url":"https://github.com/namuan/print-rider-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/namuan/print-rider-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namuan","download_url":"https://codeload.github.com/namuan/print-rider-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namuan%2Fprint-rider-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws-lambda","flask","http-rider","python-3","serverless","serverless-framework"],"created_at":"2024-10-01T19:35:56.034Z","updated_at":"2026-04-27T21:31:56.324Z","avatar_url":"https://github.com/namuan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Print-Rider\n\nSimple Http APIs sharing using HttpRider. \n\n\n![Demo](docs/demo.gif)\n\n\n### Architecture:\n\nThe PrintRider service is developed using the Python [Flask](https://github.com/pallets/flask) framework and deployed to [AWS Lambda](https://aws.amazon.com/lambda/) with the [Serverless Framework](https://serverless.com/).\n\n![Architecture](docs/print_rider_arch.png)\n\n### Installation:\n\nYou need to have `docker` and `python3` available for building and running it locally.\nIf you are deploying to `AWS` then please make sure that you have the appropriate credentials under `printrider` profile.\n\nThere are several ways to start the application.\n\n*Running locally with dynamodb in a docker container*\n\nIf running for the first time, `setup-local` will start DynamoDB in a docker container and setup the required table.\n\n`make setup-local run-local`\n\n*Running everything in docker using docker-compose*\n\nThis will build the current project and run Flask alongside DynamoDB in docker containers. \nOnce the containers are running, `setup-local` will create the required table.\n \n`make run-local-docker setup-local`\n\n*Running using SAM local*\n\nTo simulate the environment as close to AWS Lambda as possible, the following command will use the [SAM CLI]() to start the Api locally.\nMake sure that you are running DynamoDB locally using docker `make setup-local` as the docker container running SAM will try to connect to the same network.\n\n`make run-local-sam`\n\n*Testing when running locally*\n\nThe Application will come up on port 5000 when running locally, so it is easy to run the following curl commands to test it.\n\n_Sharing a new API exchange_\n\nThis curl command will return the URL of the generated document in the location header.\n\n```\necho '{\"document\": \"c29tZXRoaW5n\"}' | curl -H 'Content-Type: application/json' -d@- -v http://localhost:5000/prints\n```\n\nSee [this](https://printrider.bettercallbots.com/prints/13a0ab45-65fb-4511-bc61-dedccb9742e1) for the full request/response.  \n\n*Deploying to AWS*\nCurrently, it only supports two different stages when deploying to AWS. \nTo prepare for the deployment, copy `.env.example` to `.env.beta` for dev deployment and `.env.prod` for live deployment. \n\nThe `serverless` stack is also broken down in Infra services (DynamoDB setup) and API services (Api Gateway, Lambda etc)\n\nPlease note that running the following commands with a valid AWS profile will incur some charges depending on your AWS account.\n\n_Dev_\n\ntodo\n\n_Live_\n\ntodo\n\n### Contributing:\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nLicense:\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fprint-rider-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamuan%2Fprint-rider-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamuan%2Fprint-rider-py/lists"}