{"id":26728449,"url":"https://github.com/yachty66/futurephysics","last_synced_at":"2025-04-14T09:20:07.750Z","repository":{"id":207473703,"uuid":"719246702","full_name":"yachty66/futurephysics","owner":"yachty66","description":"An initiative combines general AI with Wikipedia to develop innovative concepts which aim to be feasible in physics.","archived":false,"fork":false,"pushed_at":"2023-11-22T01:05:11.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T09:20:02.438Z","etag":null,"topics":["ai","generative-ai","physics","physics-simulation","python"],"latest_commit_sha":null,"homepage":"https://www.futurephysics.org/","language":"Python","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/yachty66.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}},"created_at":"2023-11-15T19:14:03.000Z","updated_at":"2023-11-24T06:00:20.000Z","dependencies_parsed_at":"2023-11-27T18:12:31.588Z","dependency_job_id":null,"html_url":"https://github.com/yachty66/futurephysics","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"e2de1a8240c28d31570bdb1e22ae044f75ec27d4"},"previous_names":["yachty66/glorious_future_bot","yachty66/futurephysics"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yachty66%2Ffuturephysics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yachty66%2Ffuturephysics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yachty66%2Ffuturephysics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yachty66%2Ffuturephysics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yachty66","download_url":"https://codeload.github.com/yachty66/futurephysics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852186,"owners_count":21171843,"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":["ai","generative-ai","physics","physics-simulation","python"],"created_at":"2025-03-27T22:35:29.456Z","updated_at":"2025-04-14T09:20:07.721Z","avatar_url":"https://github.com/yachty66.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# futurephysics\n\nfuturephysics is a Python package that generates stories about future concepts that are not to far fetched, i.e. concepts should be possible to be implemented. It uses OpenAI's GPT-4, DALL-E models and Wikipedia to generate the story and corresponding images.\n\n## Background\n\nIt's great to have all these creative tools. One efficient way to use them is to create glorious visions of humanity's future, which will probably be powered by technology. I am a big fan of the [Project Hieroglyph](https://en.wikipedia.org/wiki/Project_Hieroglyph), an initiative of the University of Arizona. This initiative can be best explained by quoting from Wikipedia: \"an initiative to create science fiction in order to spur innovation in science and technology.\" The goal of this repository and the easy-to-use Python package is to replicate this project but with generative AI and Wikipedia. I've also seen a few tweets where people tried to create visionary concepts with AI in Twitter threads:\n\n- [Skill Factory](https://x.com/codyaims/status/1723206795316121969?s=20)\n- [3d printing trees should be easier than meat?](https://x.com/granawkins/status/1723146302920577145?s=20)\n- [Vienna expands into Antarctic GPU farms](https://x.com/viennahypertext/status/1681077864626630657?s=20)\n- [InventBot](https://x.com/BenjaminDEKR/status/1723173630966907175?s=20)\n\n## Installation\n\nYou can install futurephysics from PyPI:\n\n```bash\npip install futurephysics\n```\n\n## Usage\n\nHere's a basic example of how to use futurephysics:\n\n\n```python\nfrom futurephysics import story\n\n#Replace 'your-openai-api-key' with your actual OpenAI API key\nopenai_api_key = 'your-openai-api-key'\n\n#Generate a story\nhtml = story(openai_api_key)\n```\n\nThe `html` variable contains the story formatted as HTML. \n\nYou can also provide your own list of three categories with which the story gets drafted:\n\n```python\nfrom futurephysics import story\n\n#Replace 'your-openai-api-key' with your actual OpenAI API key\nopenai_api_key = 'your-openai-api-key'\n\n#Generate a story\nhtml = story(openai_api_key, categories=[\"Computational archaeology\", \"Cosmogony\", \"Plants\"])\n```\n \nThe story is generated based on these categories.\n\nSince the Dalle3 API is used, the returned image URLs expire after a while. You can provide details to your Google bucket for hosting images (the bucket needs to be public for this):\n\n```python\nfrom futurephysics import story\n\n#Replace 'your-openai-api-key' with your actual OpenAI API key\nopenai_api_key = 'your-openai-api-key'\n\n#Generate a story\nhtml = story(openai_api_key, google_id=\"your-google-id\", google_bucket=\"your-google-id\")\n```\n\n## Examples \n\nAll stories which can be find on [futurephysics.org](https://www.futurephysics.org/) were created by the library.\n\n## Contributing\n\nIf you run into any issues, the most helpful thing you can do is open an issue on [GitHub](https://github.com/yachty66/futurephysics). Thank you so much!\n\n## Roadmap\n\n- [ ] Improve image selection from Wikipedia \n- [ ] Improve image generation via DALL-E\n- [ ] Improve prompting\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyachty66%2Ffuturephysics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyachty66%2Ffuturephysics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyachty66%2Ffuturephysics/lists"}