{"id":17437345,"url":"https://github.com/blixt/sol-mate","last_synced_at":"2025-12-30T06:05:58.269Z","repository":{"id":234279530,"uuid":"788565778","full_name":"blixt/sol-mate","owner":"blixt","description":"A Modal service that returns weather data.","archived":false,"fork":false,"pushed_at":"2024-06-07T15:43:01.000Z","size":16,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T06:55:39.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/blixt.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":"2024-04-18T17:00:32.000Z","updated_at":"2024-07-25T17:12:15.000Z","dependencies_parsed_at":"2024-04-18T18:52:19.067Z","dependency_job_id":"d7cac304-8d13-4701-be95-038ed1d6133f","html_url":"https://github.com/blixt/sol-mate","commit_stats":null,"previous_names":["blixt/sol-mate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fsol-mate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fsol-mate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fsol-mate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fsol-mate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blixt","download_url":"https://codeload.github.com/blixt/sol-mate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241360980,"owners_count":19950372,"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-10-17T11:46:32.900Z","updated_at":"2025-12-30T06:05:58.256Z","avatar_url":"https://github.com/blixt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sol Mate service\n\nThis service powers the [Sol Mate GPT](https://chat.openai.com/g/g-QIydQSFRm-sol-mate). It uses Modal because it's one of the easiest ways to run a simple service like this.\n\nThe output has been specifically formatted in a way that helps GPT visually describe the weather to Dall·E. This output can probably be used to describe the weather for any other LLM-related purpose.\n\n## Running it\n\nMake sure you have Modal installed:\n\n```sh\npip install modal\n```\n\nThen, install the dependencies:\n\n```sh\npip install ephem pytz requests\n```\n\n(You may use a virtual environment for this, up to you.)\n\nFor now you'll need to update `blixt` in the code to your own username.\n\nAnd finally you can run it to see that it works:\n\n```sh\n$ modal run sol_mate.py\n✓ Initialized. View run at https://modal.com/blixt/apps/ap-NbqYUrhnWHuqB8itLCIcGE\n✓ Created objects.\n├── 🔨 Created mount /Users/blixt/src/sol-mate/sol_mate.py\n└── 🔨 Created weather_api =\u003e https://blixt--sol-mate-weather-api-dev.modal.run\nThe weather for {'latitude': 40.7128, 'longitude': -74.006, 'timezone': 'America/New_York', 'temperature_unit': 'fahrenheit'}:\nTemperature: 46°F\nWeather condition: overcast\nThe local time is 13:06 on a Thursday in April.\nThe sun is hidden behind clouds.\nThe sky is completely overcast.\nA moderate breeze is blowing.\nStopping app - local entrypoint completed.\n    GET /current -\u003e 200 OK  (duration: 4.27 s, execution: 418.0 ms)\n✓ App completed. View run at https://modal.com/blixt/apps/ap-NbqYUrhnWHuqB8itLCIcGE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fsol-mate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblixt%2Fsol-mate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fsol-mate/lists"}