Skip to content

Ivy-NW/heritage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heritage Logo

Heritage

Static Badge

Heritage restores endangered indigenous languages and enhances cultural experiences through the use of AI.

  • ✨ Cultural Restoration ✨
  • ✨ language Preservation ✨
  • ✨ AI Chatbot ✨

Prerequisites

Heritage requires:

  1. Node.js v18+ to run.
  2. Gemini API(Google). Get Gemini API from Google AI studio: https://aistudio.google.com/app/prompts/new_chat. Put the API key inside server.js in specfic bot and inside script.js in generalbot.
  3. .env file. Inside have the API_KEY = "" with your API credentials.
  4. Clone the Repo:
  git clone https://github.com/irisvlack/heritage.git 

Installation

Install the dependencies and devDependencies and start the server on PORT 5501.

cd heritage
cd specificbot
npm install @google/generative-ai express
node server.js

NB: Start server on PORT 5501. In the case PORT number is changed, change PORT number on Server.js too to the PORT number you have changed to.
Also, in kalenjin.html, kikuyu.html, somali.html and luo.html: change the anchor talk localhost port number to the port number you have changed to. The initial anchort tag code is:

<a href="http://localhost:5501/" <br>

The whole code for the anchor tag is:

Anchor tag code

Running Heritage

cd heritage
start index.html

Heritage Logo

#chatbot

Heritage Logo

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages