Skip to content

elixpo/elixpochat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

78 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Chat Elixpo

image

A comprehensive chat application with integrated news, podcast, and weather features built with Node.js and modern web technologies.

Project Structure

chat.elixpo/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
β”œβ”€β”€ server.js                    # Main server entry point
β”œβ”€β”€ elixpoChatBash.sh           # Deployment script
β”‚
β”œβ”€β”€ BackendNode/                # Backend Node.js modules
β”‚   β”œβ”€β”€ firebaseConfig.js       # Firebase configuration
β”‚   β”œβ”€β”€ getDominantColor.js     # Image color analysis
β”‚   β”œβ”€β”€ locationWeather.js      # Weather data fetching
β”‚   β”œβ”€β”€ newsDetailsFetch.js     # News API integration
β”‚   └── podCastDetailsFetch.js  # Podcast data management
β”‚
β”œβ”€β”€ public/                     # Frontend static files
β”‚   β”œβ”€β”€ index.html              # Main homepage
β”‚   β”œβ”€β”€ daily.html              # Daily news page
β”‚   β”œβ”€β”€ podcast.html            # Podcast section
β”‚   β”œβ”€β”€ search.html             # Search functionality
β”‚   β”œβ”€β”€ weather.html            # Weather dashboard
β”‚   β”œβ”€β”€ 404.html                # Error page
β”‚   β”‚
β”‚   β”œβ”€β”€ CSS/                    # Stylesheets
β”‚   β”‚   β”œβ”€β”€ dailyNewsSection.css
β”‚   β”‚   β”œβ”€β”€ newsSectionResponsive.css
β”‚   β”‚   β”œβ”€β”€ podcastSection.css
β”‚   β”‚   β”œβ”€β”€ podcastSectionResponsive.css
β”‚   β”‚   β”œβ”€β”€ search.css
β”‚   β”‚   β”œβ”€β”€ searchPageResponsive.css
β”‚   β”‚   β”œβ”€β”€ weather.css
β”‚   β”‚   β”œβ”€β”€ weatherMarkdown.css
β”‚   β”‚   β”œβ”€β”€ weatherResponsive.css
β”‚   β”‚   β”œβ”€β”€ welcomeSection.css
β”‚   β”‚   β”œβ”€β”€ welcomeSectionResponsive.css
β”‚   β”‚   β”œβ”€β”€ typeWriter_and_skletonLoader.css
β”‚   β”‚   β”œβ”€β”€ oopsie.css
β”‚   β”‚   └── IMAGES/
β”‚   β”‚       └── ElixpoChatIcon.png
β”‚   β”‚
β”‚   └── JS/                     # Client-side JavaScript
β”‚       β”œβ”€β”€ welcomeSection.js
β”‚       β”œβ”€β”€ dailyNewsGeneral.js
β”‚       β”œβ”€β”€ dailyPodcast.js
β”‚       β”œβ”€β”€ search.js
β”‚       β”œβ”€β”€ weatherGeneral.js
β”‚       β”œβ”€β”€ linkRedirect.js
β”‚       β”œβ”€β”€ typeWriter_and_skletonLoader.js
β”‚       └── oopsie.js
β”‚
└── pythonHelpers/              # Python backend services
    β”œβ”€β”€ NEWS_UPDATE/            # News processing modules
    β”‚   β”œβ”€β”€ getNewsInfo.py
    β”‚   β”œβ”€β”€ getNewsTopics.py
    β”‚   β”œβ”€β”€ processNewsGeneral.py
    β”‚   β”œβ”€β”€ processNewsModule.py
    β”‚   β”œβ”€β”€ bannerImageForNews.py
    β”‚   β”œβ”€β”€ thumbnailImageForNews.py
    β”‚   └── newsVocieOver.py
    β”‚
    └── PODCAST/                # Podcast generation modules
        β”œβ”€β”€ podCastCreator.py
        β”œβ”€β”€ podcastID.py
        β”œβ”€β”€ podCastImage.py
        β”œβ”€β”€ podCastModule.py
        β”œβ”€β”€ storyTeller.py
        └── topicScraper.py

Prerequisites

Before installing and running this project, ensure you have the following installed:

  • Node.js (v14 or higher)
  • npm (comes with Node.js)
  • Python (v3.8 or higher) for backend services
  • Firebase account for database services

Installation & Setup

1. Clone the Repository

git clone <repository-url>
cd chat.elixpo

2. Install Node.js Dependencies

npm install

3. Configure Environment Variables

Create a .env file in the root directory and configure your Firebase and API keys:

FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
FIREBASE_PROJECT_ID=your_project_id
# Add other required environment variables

4. Install Python Dependencies

pip install -r requirements.txt

5. Run the Application

The project uses Node.js with npm scripts for running the application:

# Start the development server
npm start

# Or run the server directly
node server.js

6. Build Configuration

This project utilizes build configurations for optimal deployment. The build process is managed through npm scripts defined in package.json.

# Build for production
npm run build

# Run development build
npm run dev

Features

  • Real-time Chat Interface: Interactive messaging system
  • Daily News Integration: Automated news fetching and display
  • Podcast Generation: AI-powered podcast creation
  • Weather Dashboard: Location-based weather information
  • Search Functionality: Comprehensive search across all content
  • Responsive Design: Mobile-first responsive layouts

Development

The application follows a modular architecture:

  • Frontend: Vanilla JavaScript with responsive CSS
  • Backend: Node.js with Express.js framework
  • Database: Firebase for real-time data storage
  • Python Services: Microservices for content generation
  • Build System: npm-based build configuration

Deployment

Use the provided deployment script:

./elixpoChatBash.sh

License

[Add your license information here]

Contributing

[Add contributing guidelines here]

About

A MOE platform for AI based chatting and multimodal service & microsoft copilot inspired framework design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors