{"id":16516114,"url":"https://github.com/sketchingdev/draw-by-days","last_synced_at":"2025-12-31T01:04:29.854Z","repository":{"id":33989842,"uuid":"109512035","full_name":"SketchingDev/draw-by-days","owner":"SketchingDev","description":"Serverless project for artists","archived":false,"fork":false,"pushed_at":"2023-01-07T11:24:29.000Z","size":10020,"stargazers_count":0,"open_issues_count":23,"forks_count":1,"subscribers_count":3,"default_branch":"twitter-approach","last_synced_at":"2025-01-13T04:22:13.204Z","etag":null,"topics":["aws","cloud","lambda","nodejs","reactjs","serverless","typescript"],"latest_commit_sha":null,"homepage":"https://twitter.com/DrawByDays","language":"TypeScript","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/SketchingDev.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}},"created_at":"2017-11-04T16:40:59.000Z","updated_at":"2020-06-22T20:58:36.000Z","dependencies_parsed_at":"2023-01-15T04:01:19.868Z","dependency_job_id":null,"html_url":"https://github.com/SketchingDev/draw-by-days","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/SketchingDev%2Fdraw-by-days","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SketchingDev%2Fdraw-by-days/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SketchingDev%2Fdraw-by-days/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SketchingDev%2Fdraw-by-days/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SketchingDev","download_url":"https://codeload.github.com/SketchingDev/draw-by-days/tar.gz/refs/heads/twitter-approach","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241541451,"owners_count":19979121,"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":["aws","cloud","lambda","nodejs","reactjs","serverless","typescript"],"created_at":"2024-10-11T16:19:36.156Z","updated_at":"2025-12-31T01:04:29.845Z","avatar_url":"https://github.com/SketchingDev.png","language":"TypeScript","readme":"# Draw by Days\n\nDraw by Days provides artists (amateur or professional) with an image a day to reproduce in their particular medium. The\nmore days you complete the better you'll get!\n\nYou can find the image each day [@DrawByDays on Twitter](https://twitter.com/DrawByDays), where you can reply with\nyour reproduction.\n\n## Architecture\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/architecture.png\"\u003e\n\u003c/p\u003e\n\n1. Scans a DynamoDB table for the first image that hasn't been tweeted i.e one without a Tweet ID\n    * *Scanning the data isn't efficient, but I won't have many items and speed isn't important, so it is cheaper than defining an index*\n2. Retrieves the image's data from the S3 Bucket\n3. Tweets the image then updates the item in DynamoDB with the Tweet ID\n    * *CloudWatch triggers the Lambda once every 24 hours, so I don't have to worry about any race conditions resulting from DynamoDB being eventually consistent*\n\n## Iterations\n\nThis project is going to be done in iterations as I want to start using it as soon as possible\n\n### Iteration 1 - Tweet photos from an S3 bucket\n\nThis iteration will allow me to choose a collection of photos that I want Tweeted at the same time each day - one per day.\n\n1. I will hand-pick the images and store them in an S3 bucket with the date to Tweet and attribution stored in the filename.\n2. Each day a scheduled Lambda will:\n    1. Find the day's photo\n    2. Store the date, filename and attribution to a database\n    3. Tweet the image with the attribution\n    4. Log the ID of the Tweet into the database\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsketchingdev%2Fdraw-by-days","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsketchingdev%2Fdraw-by-days","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsketchingdev%2Fdraw-by-days/lists"}