{"id":16691446,"url":"https://github.com/bbonkr/bing-wallpaper","last_synced_at":"2026-02-10T12:01:30.472Z","repository":{"id":37947459,"uuid":"215718163","full_name":"bbonkr/bing-wallpaper","owner":"bbonkr","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-03T21:26:03.000Z","size":2141,"stargazers_count":2,"open_issues_count":17,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-10-13T00:14:22.310Z","etag":null,"topics":["aspnetcore","csharp","dotnet","hacktoberfest","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"C#","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/bbonkr.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":"2019-10-17T06:22:58.000Z","updated_at":"2024-03-19T02:20:21.000Z","dependencies_parsed_at":"2024-03-18T06:31:53.882Z","dependency_job_id":"92ea605e-804f-4eb1-acd7-ffcf528272ca","html_url":"https://github.com/bbonkr/bing-wallpaper","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/bbonkr/bing-wallpaper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fbing-wallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fbing-wallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fbing-wallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fbing-wallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbonkr","download_url":"https://codeload.github.com/bbonkr/bing-wallpaper/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fbing-wallpaper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013619,"owners_count":26085298,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["aspnetcore","csharp","dotnet","hacktoberfest","react","typescript"],"created_at":"2024-10-12T16:08:30.064Z","updated_at":"2025-10-13T00:14:23.458Z","avatar_url":"https://github.com/bbonkr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"Bing Today Image Collector\"\n---\n\n[![Build and tag](https://github.com/bbonkr/bing-wallpaper/actions/workflows/dotnet.yml/badge.svg)](https://github.com/bbonkr/bing-wallpaper/actions/workflows/dotnet.yml) [![docker image](https://github.com/bbonkr/bing-wallpaper/actions/workflows/docker.yml/badge.svg)](https://github.com/bbonkr/bing-wallpaper/actions/workflows/docker.yml)\n\n# Bing Today Image Collector\n\nBing.com 오늘의 이미지를 수집합니다.\n\n⚠ 수집된 이미지 파일은 저작권을 주의해야 합니다.\n\n저는 `Windows`, `MacOS` **배경화면**으로만 사용합니다.\n\n## 준비\n\nEF Core 3 부터 전역 또는 로컬 도구로 설치되어야 합니다.\n\n### EF 도구 설치\n\n```bash\n$ dotnet tool install --global dotnet-ef\n```\n\n```bash\n$ dotnet ef\n                     _/\\__\n               ---==/    \\\\\n         ___  ___   |.    \\|\\\n        | __|| __|  |  )   \\\\\\\n        | _| | _|   \\_/ |  //|\\\\\n        |___||_|       /   \\\\\\/\\\\\n\nEntity Framework Core .NET Command-line Tools 3.0.0\n\nUsage: dotnet ef [options] [command]\n\nOptions:\n  --version        Show version information\n  -h|--help        Show help information\n  -v|--verbose     Show verbose output.\n  --no-color       Don't colorize output.\n  --prefix-output  Prefix output with level.\n\nCommands:\n  database    Commands to manage the database.\n  dbcontext   Commands to manage DbContext types.\n  migrations  Commands to manage migrations.\n\nUse \"dotnet ef [command] --help\" for more information about a command.\n```\n\n```\n$ dotnet ef migrations add --help\n\nUsage: dotnet ef migrations add [arguments] [options]\n\nArguments:\n  \u003cNAME\u003e  The name of the migration.\n\nOptions:\n  -o|--output-dir \u003cPATH\u003e                 The directory (and sub-namespace) to use. Paths are relative to the project directory. Defaults to \"Migrations\".\n  --json                                 Show JSON output.\n  -c|--context \u003cDBCONTEXT\u003e               The DbContext to use.\n  -p|--project \u003cPROJECT\u003e                 The project to use.\n  -s|--startup-project \u003cPROJECT\u003e         The startup project to use.\n  --framework \u003cFRAMEWORK\u003e                The target framework.\n  --configuration \u003cCONFIGURATION\u003e        The configuration to use.\n  --runtime \u003cRUNTIME_IDENTIFIER\u003e         The runtime to use.\n  --msbuildprojectextensionspath \u003cPATH\u003e  The MSBuild project extensions path. Defaults to \"obj\".\n  --no-build                             Don't build the project. Only use this when the build is up-to-date.\n  -h|--help                              Show help information\n  -v|--verbose                           Show verbose output.\n  --no-color                             Don't colorize output.\n  --prefix-output                        Prefix output with level.\n```\n\nUPDATE 2020-11-14: .NET 5 사용\n\n이전 EF 도구가 설치되어 있는 경우 아래 명령으로 .NET 5 EF 도구로 업데이트할 수 있습니다.\n\n```bash\n$ dotnet tool update --global dotnet-ef\n```\n\n업데이트된 EF 도구의 버전을 확인합니다.\n\n```bash\n$ dotnet ef\n\n                     _/\\__\n               ---==/    \\\\\n         ___  ___   |.    \\|\\\n        | __|| __|  |  )   \\\\\\\n        | _| | _|   \\_/ |  //|\\\\\n        |___||_|       /   \\\\\\/\\\\\n\nEntity Framework Core .NET Command-line Tools 5.0.0\n\nUsage: dotnet ef [options] [command]\n\nOptions:\n  --version        Show version information\n  -h|--help        Show help information\n  -v|--verbose     Show verbose output.\n  --no-color       Don't colorize output.\n  --prefix-output  Prefix output with level.\n\nCommands:\n  database    Commands to manage the database.\n  dbcontext   Commands to manage DbContext types.\n  migrations  Commands to manage migrations.\n\nUse \"dotnet ef [command] --help\" for more information about a command.\n```\n\n### 데이터베이스 마이그레이션 코드 작성\n\n```powershell\nPS\u003e ./ef-migration-add.ps1 \"Add some fields\"\n```\n\n```bash\n$ ./ef-migration-add.sh \"Add some fields\"\n```\n\n\u003e ef-migration-add.sh 파일을 사용하기 위해서는 실행 권한이 있어야 합니다.\n\u003e ```bash\n\u003e $ chmod u+x ./ef-migration-add.sh\n\u003e ```\n\n\n## 실행\n\n### 로컬에서 실행\n\n원격 저장소의 파일을 로컬 저장소로 복제합니다.\n\n```bash\n$ cd Bing.Wallpaper\n$ dotnet run\n```\n\n### 도커 컨테이너로 실행\n\n원격 저장소의 파일을 로컬 저장소로 복제합니다.\n\ndocker-compose.webapp.yml 파일을 docker-compose.yml 로 복사합니다.\n\n```bash\n$ cp docker-compose.webapp.yml docker-compose.yml\n```\n\n`docker-compose.yml` 파일을 열고 아래 구성을 변경합니다.\n\n`environment` 목록에서 환경 변수를 설정합니다.\n\n* ConnectionStrings__Default: 데이터베이스 연결 문자열을 설정합니다.\n* Collector__Schedule: 이미지 수집 일정을 설정합니다.\n\n`volumes` 목록에서 이미지 파일을 저장할 경로를 `/app/images` 디렉터리에 마운트합니다. \n\n예) `/docker/bing-images-app/images` 경로에 파일이미지를 저장하려는 경우 아래와 같이 입력합니다.\n\n```yaml\n# 생략\n    volumes:\n      - \"/docker/bing-images-app/images:/app/images\"\n```\n\n도커 컴포즈를 사용해서 컨테이너를 빌드하고, 컨테이너를 실행합니다.\n\n```bash\n$ docker-compose up -d --build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonkr%2Fbing-wallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbonkr%2Fbing-wallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonkr%2Fbing-wallpaper/lists"}