CFassist is an innovative project designed to assist individuals facing visual impairments and language barriers. Through a combination of features including visual aid, real-time text-to-speech and speech-to-text capabilities, image question and answer, and more, CFassist aims to provide a comprehensive solution for enhanced accessibility and communication.
- Visual Aid: Utilize image recognition technology to describe visual surroundings and objects.
- Language Barrier Assistance: Translate text to different languages and facilitate communication across language barriers.
- Real-time Chatting: Engage in text or audio-based conversations using natural language models for seamless communication.
- Image Question and Answer: Ask questions about images and receive spoken or textual responses for enhanced understanding.
-
Clone the repository:
git clone <repository_url>
-
Navigate to the project directory:
cd cfassist
-
Install dependencies:
npm install
-
Navigate to the server directory:
cd server
-
Install server dependencies:
npm install
-
Return to the project directory:
cd ..
-
Start the development server:
npm run dev
-
Create a
.env
file in theserver
directory. -
Obtain
CLOUDFLARE_API_TOKEN
andCLOUDFLARE_APP_ID
from your Cloudflare account. -
Add the following lines to the
.env
file:CLOUDFLARE_API_TOKEN=<your_cloudflare_api_token> CLOUDFLARE_APP_ID=<your_cloudflare_app_id>
-
Create a
.env
file in thecfassist
directory. -
Define
NEXT_PUBLIC_SERVER_URL
with the server URL. For local development, use:NEXT_PUBLIC_SERVER_URL=http://localhost:4000
Note: Ensure that all environment variables are correctly set before running the application.
- Access the application through the provided URL.
- Explore the various features to experience enhanced accessibility and communication.
Contributions to CFassist are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the project.
This project is licensed under the MIT License.