{"id":27245630,"url":"https://github.com/thatsinewave/foresightgpt","last_synced_at":"2026-02-13T13:39:27.503Z","repository":{"id":281800145,"uuid":"946407073","full_name":"ThatSINEWAVE/ForesightGPT","owner":"ThatSINEWAVE","description":"A web-based simulation tool that leverages OpenAI's API to generate probabilistic outcomes based on user-defined parameters.","archived":false,"fork":false,"pushed_at":"2025-03-11T07:14:43.000Z","size":346,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T08:24:11.169Z","etag":null,"topics":["foresight","good-first-issue","good-first-issues","good-first-pr","good-first-pr-first-contribution","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt-4o","open-source","openai-api","openai-chatgpt","opensource","prediction","predictive-analytics","predictor","thatsinewave","web-application","webapp"],"latest_commit_sha":null,"homepage":"https://thatsinewave.github.io/ForesightGPT","language":"JavaScript","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/ThatSINEWAVE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ThatSINEWAVE","ko_fi":"thatsinewave"}},"created_at":"2025-03-11T05:00:31.000Z","updated_at":"2025-03-11T07:52:08.000Z","dependencies_parsed_at":"2025-03-16T09:30:53.169Z","dependency_job_id":null,"html_url":"https://github.com/ThatSINEWAVE/ForesightGPT","commit_stats":null,"previous_names":["thatsinewave/foresightgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FForesightGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FForesightGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FForesightGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FForesightGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatSINEWAVE","download_url":"https://codeload.github.com/ThatSINEWAVE/ForesightGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248300756,"owners_count":21080774,"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":["foresight","good-first-issue","good-first-issues","good-first-pr","good-first-pr-first-contribution","gpt","gpt-3","gpt-35-turbo","gpt-4","gpt-4o","open-source","openai-api","openai-chatgpt","opensource","prediction","predictive-analytics","predictor","thatsinewave","web-application","webapp"],"created_at":"2025-04-10T21:28:38.485Z","updated_at":"2026-02-13T13:39:22.480Z","avatar_url":"https://github.com/ThatSINEWAVE.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ThatSINEWAVE","https://ko-fi.com/thatsinewave"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# [ForesightGPT](https://thatsinewave.github.io/ForesightGPT)\n\n![Banner](https://raw.githubusercontent.com/ThatSINEWAVE/ForesightGPT/refs/heads/main/.github/SCREENSHOTS/ForesightGPT.png)\n\nForesightGPT is a web-based prediction tool that leverages OpenAI's GPT models to generate probabilistic forecasts based on user-defined parameters.\n\n**[Live Demo Here](https://thatsinewave.github.io/ForesightGPT)**\n\n\u003c/div\u003e\n\n## Features\n\n- **AI-Powered Predictions**: Utilize OpenAI's GPT models (GPT-4, GPT-4 Turbo, GPT-3.5 Turbo) to generate intelligent predictions\n- **Customizable Parameters**: Define and adjust the relevant factors affecting your prediction\n- **Visual Results**: View outcomes as clear probability charts and confidence indicators\n- **Detailed Analysis**: Get comprehensive explanations of prediction reasoning\n- **Key Factors Identification**: Understand which parameters have the most significant impact\n- **Local API Key Storage**: Your OpenAI API key is stored securely in your browser's local storage only\n\n\u003cdiv align=\"center\"\u003e\n\n## ☕ [Support my work on Ko-Fi](https://ko-fi.com/thatsinewave)\n\n\u003c/div\u003e\n\n## How It Works\n\n1. **Configure API**: Enter your OpenAI API key and select a model\n2. **Define Your Question**: Enter what you want to predict\n3. **Set Parameters**: Add relevant factors with their value ranges and importance weights\n4. **Generate**: Get detailed probabilistic predictions with visual representations\n5. **Analyze**: Review the detailed explanation and key influencing factors\n\n## Requirements\n\n- An OpenAI API key with access to GPT models\n- A modern web browser with JavaScript enabled\n- Internet connection to access the OpenAI API\n\n## Privacy \u0026 Security\n\n- Your OpenAI API key is stored only in your browser's local storage\n- No data is sent to any servers except directly to OpenAI's API\n- All processing happens in your browser\n\n## Obtaining an OpenAI API Token\n\nTo use ForesightGPT, you need a valid OpenAI API key with an active payment method to avoid quota errors. Follow these steps to set up your API key properly:\n\n### Step 1: Create an OpenAI Account\n\n1. Go to [OpenAI's website](https://platform.openai.com/signup).\n2. Sign up using your email, Google, or Microsoft account.\n3. Verify your email address and log in.\n\n### Step 2: Generate an API Key\n\n1. Once logged in, navigate to the [API Keys page](https://platform.openai.com/api-keys).\n2. Click **Create a new secret key** and copy it.\n   - Store this key securely, as it will not be shown again.\n\n### Step 3: Add a Payment Method\n\n1. Go to [Billing](https://platform.openai.com/account/billing).\n2. Click **Set up payment method** and enter your credit/debit card details.\n3. OpenAI requires an active payment method to continue using the API beyond the free trial quota.\n\n### Step 4: Check Your Usage \u0026 Limits\n\n1. Visit the [Usage page](https://platform.openai.com/account/usage) to monitor your token consumption.\n2. If you exceed your quota, you may need to increase your **soft limit** or add more funds in the [Limits section](https://platform.openai.com/account/billing/limits).\n\n### Step 5: Use Your API Key in ForesightGPT\n\n1. Open ForesightGPT and enter your API key in the settings.\n2. Ensure your key is valid and has sufficient quota to avoid errors.\n\n**Tip:** OpenAI may grant a free trial with limited credits. Once used up, you'll need to switch to a paid plan to continue making API requests.\n\n## Installation for Local Development\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/ThatSINEWAVE/ForesightGPT.git\n   ```\n\n2. Navigate to the project directory:\n   ```\n   cd ForesightGPT\n   ```\n\n3. Open `index.html` in your preferred browser or use a local development server.\n\n## Cost Considerations\n\nThis tool uses the OpenAI API which may incur charges to your account based on token usage. GPT-4 provides the most accurate predictions but costs more per API call. GPT-3.5 Turbo is more cost-effective for frequent use.\n\n## Usage Tips\n\n- **Be Specific**: The more precise your prediction question, the better the results\n- **Relevant Parameters**: Include all factors that might influence the outcome\n- **Weight Appropriately**: Assign higher weights (1-10) to more influential factors\n- **Multiple Scenarios**: Run predictions with different parameter values to compare outcomes\n\n## Limitations\n\n- Predictions are probabilistic estimates, not guarantees\n- Results depend on the quality of parameters and their assigned weights\n- The tool is subject to the limitations of the underlying OpenAI models\n- Internet connection is required for generating predictions\n\n\u003cdiv align=\"center\"\u003e\n\n## [Join my discord server](https://discord.gg/2nHHHBWNDw)\n\n\u003c/div\u003e\n\n## Technical Details\n\nForesightGPT is built using:\n- HTML5, CSS3, and vanilla JavaScript\n- Chart.js for data visualization\n- Font Awesome for icons\n- OpenAI Chat Completions API\n\n## Acknowledgements\n\n- [OpenAI](https://openai.com/) for providing the GPT API\n- [Chart.js](https://www.chartjs.org/) for the visualization library\n- [Font Awesome](https://fontawesome.com/) for the icons\n\n## Contributing\n\nFeel free to submit issues or contribute improvements via pull requests.\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsinewave%2Fforesightgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatsinewave%2Fforesightgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsinewave%2Fforesightgpt/lists"}