{"id":23997480,"url":"https://github.com/gyfx35/care","last_synced_at":"2026-06-17T11:31:10.155Z","repository":{"id":271454377,"uuid":"913507525","full_name":"GYFX35/CARE","owner":"GYFX35","description":"Global well-being,education and opinions forums app","archived":false,"fork":false,"pushed_at":"2026-04-18T10:42:43.000Z","size":267,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-18T12:23:04.502Z","etag":null,"topics":["android","appstore-api","cloudflare-api","cloudflare-dns","educational-software","gemini-api","google-cloud","html5-video","ibm-cloud","ios-development","open-source","open-source-project","openai-api","playstore-api","vertex-ai","well-being"],"latest_commit_sha":null,"homepage":"https://gyfx35.github.io/care/","language":"HTML","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/GYFX35.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-07T20:23:08.000Z","updated_at":"2026-04-18T10:42:49.000Z","dependencies_parsed_at":"2025-08-07T14:02:19.847Z","dependency_job_id":"ca270363-df4b-4ee2-9dbc-944e9d68899d","html_url":"https://github.com/GYFX35/CARE","commit_stats":null,"previous_names":["gyfx35/care"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/GYFX35/CARE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GYFX35%2FCARE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GYFX35%2FCARE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GYFX35%2FCARE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GYFX35%2FCARE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GYFX35","download_url":"https://codeload.github.com/GYFX35/CARE/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GYFX35%2FCARE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34447264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["android","appstore-api","cloudflare-api","cloudflare-dns","educational-software","gemini-api","google-cloud","html5-video","ibm-cloud","ios-development","open-source","open-source-project","openai-api","playstore-api","vertex-ai","well-being"],"created_at":"2025-01-07T22:45:33.085Z","updated_at":"2026-06-17T11:31:10.149Z","avatar_url":"https://github.com/GYFX35.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CARE is a app dedicated to global well-being,education,training promotion mainly for children education and well-being.\nThis app is so global opinions,advice forums app\nGlobal development ideas sharing and talking app.\n\n## AI Assistant\n\nThe CARE platform now features an integrated AI Assistant to help users with project activities, health information, and educational resources. The assistant is built using **LangChain** and **OpenAI**, with optional support for **Google Search** to provide up-to-date information.\n\n### Setting Up the AI Assistant\n\nTo enable the AI Assistant, you need to set up the following environment variables in your `.env` file or environment:\n\n1.  **OpenAI API Key (Required):**\n    ```\n    OPENAI_API_KEY=your_openai_api_key\n    ```\n    You can obtain this from the [OpenAI Platform](https://platform.openai.com/).\n\n2.  **Google Search Integration (Optional):**\n    To allow the assistant to search the web for the latest information:\n    ```\n    GOOGLE_API_KEY=your_google_api_key\n    GOOGLE_CSE_ID=your_custom_search_engine_id\n    ```\n    *   **GOOGLE_API_KEY:** Obtain from the [Google Cloud Console](https://console.cloud.google.com/). Enable the \"Custom Search API\".\n    *   **GOOGLE_CSE_ID:** Create a Custom Search Engine at [Google Programmable Search Engine](https://programmablesearchengine.google.com/) and get the Search Engine ID.\n\n### How to Use\n\nOnce configured, logged-in users can access the AI Assistant by navigating to the `/chatbot` route or clicking on the \"AI Assistant\" link in the navigation menu.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Deployment on Tencent Cloud\n\nThis application is ready to be deployed as a containerized application on Tencent Cloud. Here are the steps to deploy it.\n\n### Prerequisites\n\n* A Tencent Cloud account.\n* Docker installed on your local machine.\n* `tcli`, the Tencent Cloud CLI, installed and configured on your local machine.\n\n### 1. Build the Docker Image\n\nFirst, build the Docker image for the application:\n\n```bash\ndocker build -t care-app .\n```\n\n### 2. Set up Tencent Container Registry (TCR)\n\n1.  **Create a TCR instance:** In the Tencent Cloud console, navigate to the Tencent Container Registry (TCR) service and create a new registry instance if you don't have one already.\n2.  **Create a namespace:** Within your TCR instance, create a new namespace (e.g., `care-app-repo`).\n3.  **Create a repository:** In the namespace, create a new repository for the application image (e.g., `care-app`).\n4.  **Log in to TCR:** Use the `tcli` or the Docker client to log in to your TCR instance. You will find the login command in the TCR console.\n\n    ```bash\n    docker login \u003cyour-tcr-instance-name\u003e.tencentcloudcr.com -u \u003cyour-username\u003e -p \u003cyour-password\u003e\n    ```\n\n5.  **Tag and push the image:** Tag your local Docker image with the TCR repository URL and push it:\n\n    ```bash\n    docker tag care-app:latest \u003cyour-tcr-instance-name\u003e.tencentcloudcr.com/\u003cyour-namespace\u003e/care-app:latest\n    docker push \u003cyour-tcr-instance-name\u003e.tencentcloudcr.com/\u003cyour-namespace\u003e/care-app:latest\n    ```\n\n### 3. Set up a Production Database\n\nThis application uses a SQLite database by default, which is not suitable for production. You should set up a production-ready database, such as **TencentDB for PostgreSQL**.\n\n1.  **Create a database instance:** In the Tencent Cloud console, create a new TencentDB for PostgreSQL instance.\n2.  **Configure the database:** Create a new database and a user for the application.\n3.  **Get the database URL:** The database URL will be in the following format:\n\n    ```\n    postgresql://\u003cuser\u003e:\u003cpassword\u003e@\u003chost\u003e:\u003cport\u003e/\u003cdbname\u003e\n    ```\n\n### 4. Deploy the Application\n\nYou can deploy the application on either **Tencent Kubernetes Engine (TKE)** or **Cloud Run**.\n\n#### Option A: Deploy on Tencent Kubernetes Engine (TKE)\n\n1.  **Create a TKE cluster:** If you don't have one, create a new TKE cluster in the Tencent Cloud console.\n2.  **Create a deployment:** Create a new deployment in your TKE cluster.\n    *   **Image:** Use the TCR image URL from the previous step.\n    *   **Port:** Expose port 5000.\n    *   **Environment Variables:** Set the following environment variables:\n        *   `SECRET_KEY`: A long, random string for signing session cookies.\n        *   `DATABASE_URL`: The URL of your production database.\n\n3.  **Create a service:** Create a service of type `LoadBalancer` to expose the deployment to the internet.\n\n#### Option B: Deploy on Cloud Run\n\n1.  **Create a Cloud Run service:** In the Tencent Cloud console, navigate to the Cloud Run service and create a new service.\n2.  **Configure the service:**\n    *   **Image:** Select the TCR image you pushed earlier.\n    *   **Port:** Set the container port to 5000.\n    *   **Environment Variables:** Set the `SECRET_KEY` and `DATABASE_URL` environment variables as described above.\n3.  **Deploy:** Deploy the service. Cloud Run will provide you with a public URL for your application.\n\n### 5. Using EdgeOne (Optional)\n\nAfter your application is deployed and running, you can use **Tencent Cloud EdgeOne** to put a CDN in front of your application. This can help to improve performance, security, and reliability.\n\n1.  **Create an EdgeOne zone:** In the EdgeOne console, create a new zone for your application's domain.\n2.  **Configure the origin:** Set the origin to the public URL of your TKE service or Cloud Run service.\n3.  **Configure DNS:** Update your domain's DNS records to point to the EdgeOne nameservers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyfx35%2Fcare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgyfx35%2Fcare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgyfx35%2Fcare/lists"}