diff --git a/.gitignore b/.gitignore index 73207f4..796339e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ lib/models/yuna/* static/img/call/* !static/img/call/image_template.jpg static/img/art/* -!static/img/art/art_template.png \ No newline at end of file +!static/img/art/art_template.png +auth/auth.json \ No newline at end of file diff --git a/README.md b/README.md index 32d2587..a3487ce 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,6 @@ Are you tired of feeling lonely and disconnected from the world? Do you long for - [Acknowledgments](#acknowledgments) ## Features -Based on the files and symbols in your workspace, here's a possible way to rewrite the features list: - Features Yuna AI offers the following features: - Video and Audio Calls Handling - Image Processing and Creation @@ -95,7 +93,7 @@ To install Yuna AI, follow these steps: To start using AI, do the following: 1. Go to the terminal 2. Run the `python index.py` command in the main directory to start the WebUI. -3. Double-click the `yuna.html` file in the directory or run it via Live Server (better). +3. Go to the `locahost:4848`. 4. Done! > Note: port and directory or file names can depend on your configuration. @@ -104,47 +102,61 @@ To start using AI, do the following: The following is the file structure of the project: ```bash -├── LICENSE -├── README.html -├── SECURITY.md -├── yuna.html -├── index.py -├── index.sh -├── lib -│ ├── article.py -│ ├── datasets -│ │ ├── tasked -│ │ └── yuna -│ ├── generate.py -│ ├── models -│ │ ├── agi -│ │ └── yuna -│ ├── search.py -│ ├── translate.py -│ └── vision.py -├── manifest.json -├── requirements.txt -├── search.html -├── static -│ ├── audio -│ │ └── sounds -│ ├── config.json -│ ├── css -│ │ ├── index.css -│ │ └── kawai-v11-2.css -│ ├── db -│ │ ├── history -│ │ └── prompts -│ ├── fonts -│ │ └── kawai-font.woff -│ ├── img -│ │ ├── art -│ │ └── call -│ └── js -├── sw-toolbox.js -├── sw.js -├── test.py -└── test.txt +yuna-ai/ +├── .github/ # Configuration files for GitHub +│ └── FUNDING.yml # Funding model platforms configuration +├── .gitignore # Specifies intentionally untracked files to ignore +├── CNAME # Custom domain configuration for GitHub Pages (not provided) +├── LICENSE # GNU Affero General Public License version 3 +├── README.md # Documentation and instructions for Yuna AI +├── SECURITY.md # Security policy and vulnerability reporting +├── auth/ # Authentication related files (empty directory) +├── index.html # Main webpage for Yuna AI +├── services.html # Services webpage for Yuna AI +├── pricing.html # Pricing webpage for Yuna AI +├── login.html # Login webpage for Yuna AI +├── index.py # Main web application file for YunaServer +├── index.sh # Bash script for managing and configuring Yuna +├── requirements.txt # Python dependencies for YunaServer +├── requirements-amd.txt # Python dependencies for YunaServer (AMD) +├── requirements-nvidia.txt # Python dependencies for YunaServer (NVIDIA) +├── static/ # Static files for the web application +│ ├── audio/ # Audio files directory +│ │ ├── output.aiff # Sample AIFF audio file +│ │ └── output.mp3 # Sample MP3 audio file +│ ├── css/ # CSS files for styling +│ │ ├── bootstrap.min.css # Minified Bootstrap CSS +│ │ ├── index.css # Main CSS for the index page +│ │ └── kawai-v11-2.css # Custom CSS file +│ ├── db/ # Database related files +│ │ └── history/ # Chat history files +│ │ └── history_template.json # Template for chat history +│ ├── fonts/ # Fonts used in the web application +│ │ └── kawai-font.woff # Custom web font +│ ├── img/ # Image files directory +│ │ ├── call/ # Images related to call functionality +│ │ │ └── image_template.jpg # Template image for calls +│ │ ├── art/ # Artwork images +│ │ │ └── art_template.png # Template image for artwork +│ │ ├── yuna-ai.png # Yuna AI logo image +│ │ └── yuna-full.png # Full image of Yuna +│ ├── js/ # JavaScript files for interactivity +│ │ ├── bootstrap.min.js # Minified Bootstrap JS +│ │ ├── himitsu.js # Custom JS file +│ │ ├── index.js # Main JS for the index page +│ │ ├── kawai-v11-2.js # Custom JS file +│ │ ├── setup.js # JS for setup +│ │ └── theme.js # JS for theme functionality +│ │ +│ └── sw.js # Service worker for offline functionality +└── lib/ # Libraries and modules for Yuna AI +│ ├── models/ # Model files for AI functionality +│ │ ├── agi/ # Artificial General Intelligence models +│ │ │ ├── README.md # Information about AGI models (excluded from .gitignore) +│ │ │ └── ... # Other AGI model files +│ │ └── yuna/ # Yuna specific model files +│ │ └── README.md # Information about Yuna models (excluded from .gitignore) +└── ``` ## Yuna Abilities Overview diff --git a/app/chrome/background.js b/app/chrome/background.js new file mode 100644 index 0000000..6147a5c --- /dev/null +++ b/app/chrome/background.js @@ -0,0 +1,5 @@ +chrome.action.onClicked.addListener(function () { + chrome.tabs.create({ + url: 'index.html' + }); +}); \ No newline at end of file diff --git a/app/chrome/index.css b/app/chrome/index.css new file mode 100644 index 0000000..59966eb --- /dev/null +++ b/app/chrome/index.css @@ -0,0 +1,34 @@ +/* Additional styles to position the popover */ +#floatingImage { + position: fixed; + bottom: 10px; + right: 10px; + width: 50px; + height: 50px; + cursor: pointer; + z-index: 1000; + /* Ensure the image is above other elements */ + border: none; + /* Remove button border */ + background: none; + /* Remove button background */ + padding: 0; + /* Remove button padding */ + outline: none; + /* Remove focus outline */ +} + +#popoverContainer { + position: fixed; + bottom: 60px; + /* Adjust this value to position the popover above the image */ + right: 10px; + /* Align the popover with the right side of the image */ + display: none; + z-index: 1001; + /* Ensure the popover is above the image */ + width: 250px; + /* Set a fixed width for the popover */ + transition: opacity 0.2s; + /* Smooth transition for popover appearance */ +} \ No newline at end of file diff --git a/app/chrome/index.html b/app/chrome/index.html new file mode 100644 index 0000000..091bdb4 --- /dev/null +++ b/app/chrome/index.html @@ -0,0 +1,28 @@ + + + + + Yuna AI + + + + + + + + Yuna AI + + +
+
+

Input

+
+ + +
+
+ + + + + \ No newline at end of file diff --git a/app/chrome/index.js b/app/chrome/index.js new file mode 100644 index 0000000..f6b078e --- /dev/null +++ b/app/chrome/index.js @@ -0,0 +1,46 @@ +// Create a container for the popover +var popoverContainer = document.createElement('div'); + +// Set the innerHTML of the container with your popover HTML +popoverContainer.innerHTML = ` + Yuna AI + +`; + +// Append the container to the body +document.body.appendChild(popoverContainer); + +// Create the link element for Bootstrap CSS +var bootstrapLink = document.createElement('link'); +bootstrapLink.rel = 'stylesheet'; +bootstrapLink.href = 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css'; + +// Append the link element to the head of the document +document.head.appendChild(bootstrapLink); + +// Vanilla JavaScript to toggle the popover +// Add event listeners for the popover functionality +window.onload = function() { + var floatingImage = document.getElementById('floatingImage'); + var popover = document.getElementById('popoverContainer'); + + floatingImage.addEventListener('click', function() { + var isDisplayed = popover.style.display === 'block'; + popover.style.display = isDisplayed ? 'none' : 'block'; + popover.style.opacity = isDisplayed ? 0 : 1; + }); + + document.getElementById('submitButton').addEventListener('click', function() { + var input = document.getElementById('inputField'); + console.log(input.value); + input.value = ''; + popover.style.display = 'none'; + }); +}; \ No newline at end of file diff --git a/app/chrome/manifest.json b/app/chrome/manifest.json new file mode 100644 index 0000000..b0a6a5b --- /dev/null +++ b/app/chrome/manifest.json @@ -0,0 +1,41 @@ +{ + "manifest_version": 3, + "name": "Yuna AI", + "version": "1.0", + "description": "Your Virtual AI Girlfriend", + "icons": { + "16": "yuna-ai-16.png", + "48": "yuna-ai-48.png", + "128": "yuna-ai-128.png" + }, + "action": { + "default_popup": "index.html", + "default_icon": { + "16": "yuna-ai-16.png", + "48": "yuna-ai-48.png", + "128": "yuna-ai-128.png" + }, + "default_title": "Click to open the popup" + }, + "permissions": [ + "storage", + "tabs", + "activeTab" + ], + "chrome_url_overrides": { + "newtab": "index.html" + }, + "background": { + "service_worker": "background.js" + }, + "web_accessible_resources": [{ + "resources": ["index.js", "index.css", "yuna-ai-16.png", "yuna-ai-48.png", "yuna-ai-128.png"], + "matches": [""] + }], + "content_scripts": [{ + "matches": [""], + "js": ["index.js"], + "/css": ["index.css"], + "images": ["yuna-ai-16.png", "yuna-ai-48.png", "yuna-ai-128.png"] + }] +} \ No newline at end of file diff --git a/app/chrome/yuna-ai-128.png b/app/chrome/yuna-ai-128.png new file mode 100644 index 0000000..18cb065 Binary files /dev/null and b/app/chrome/yuna-ai-128.png differ diff --git a/app/chrome/yuna-ai-16.png b/app/chrome/yuna-ai-16.png new file mode 100644 index 0000000..add2aef Binary files /dev/null and b/app/chrome/yuna-ai-16.png differ diff --git a/app/chrome/yuna-ai-48.png b/app/chrome/yuna-ai-48.png new file mode 100644 index 0000000..7eeb421 Binary files /dev/null and b/app/chrome/yuna-ai-48.png differ diff --git a/app/forge.config.js b/app/electron/forge.config.js similarity index 100% rename from app/forge.config.js rename to app/electron/forge.config.js diff --git a/app/icons/mac/icon.icns b/app/electron/icons/mac/icon.icns similarity index 100% rename from app/icons/mac/icon.icns rename to app/electron/icons/mac/icon.icns diff --git a/app/icons/png/1024x1024.png b/app/electron/icons/png/1024x1024.png similarity index 100% rename from app/icons/png/1024x1024.png rename to app/electron/icons/png/1024x1024.png diff --git a/app/icons/png/128x128.png b/app/electron/icons/png/128x128.png similarity index 100% rename from app/icons/png/128x128.png rename to app/electron/icons/png/128x128.png diff --git a/app/icons/png/16x16.png b/app/electron/icons/png/16x16.png similarity index 100% rename from app/icons/png/16x16.png rename to app/electron/icons/png/16x16.png diff --git a/app/icons/png/24x24.png b/app/electron/icons/png/24x24.png similarity index 100% rename from app/icons/png/24x24.png rename to app/electron/icons/png/24x24.png diff --git a/app/icons/png/256x256.png b/app/electron/icons/png/256x256.png similarity index 100% rename from app/icons/png/256x256.png rename to app/electron/icons/png/256x256.png diff --git a/app/icons/png/32x32.png b/app/electron/icons/png/32x32.png similarity index 100% rename from app/icons/png/32x32.png rename to app/electron/icons/png/32x32.png diff --git a/app/icons/png/48x48.png b/app/electron/icons/png/48x48.png similarity index 100% rename from app/icons/png/48x48.png rename to app/electron/icons/png/48x48.png diff --git a/app/icons/png/512x512.png b/app/electron/icons/png/512x512.png similarity index 100% rename from app/icons/png/512x512.png rename to app/electron/icons/png/512x512.png diff --git a/app/icons/png/64x64.png b/app/electron/icons/png/64x64.png similarity index 100% rename from app/icons/png/64x64.png rename to app/electron/icons/png/64x64.png diff --git a/app/icons/win/icon.ico b/app/electron/icons/win/icon.ico similarity index 100% rename from app/icons/win/icon.ico rename to app/electron/icons/win/icon.ico diff --git a/app/package-lock.json b/app/electron/package-lock.json similarity index 100% rename from app/package-lock.json rename to app/electron/package-lock.json diff --git a/app/package.json b/app/electron/package.json similarity index 100% rename from app/package.json rename to app/electron/package.json diff --git a/app/src/index.js b/app/electron/src/index.js similarity index 99% rename from app/src/index.js rename to app/electron/src/index.js index 64d4939..b02e5d7 100644 --- a/app/src/index.js +++ b/app/electron/src/index.js @@ -33,7 +33,7 @@ const createWindow = () => { resizable: true, titleBarStyle: 'hidden', title: 'Yuna AI', - icon: `${currentPath}/static/img/yuna-ai.png`, + icon: `${currentPath}/img/yuna-ai.png`, openDevTools: false, vibrancy: 'appearance-based', darkTheme: true, diff --git a/app/src/preload.js b/app/electron/src/preload.js similarity index 100% rename from app/src/preload.js rename to app/electron/src/preload.js diff --git a/auth/auth.json b/auth/auth.json new file mode 100644 index 0000000..8a8dee2 --- /dev/null +++ b/auth/auth.json @@ -0,0 +1,3 @@ +{ + "john": "scrypt:32768:8:1$eEWrwZJUH0GjoWxO$201347371343408c8824d8b77b31f13d6d17d14538bb01f63d43626032dddcd33e3509e9eaec5c695d496a3b8b2bbd9787fe6eb6bffaa092fab702a99efb92d7" +} \ No newline at end of file diff --git a/dialog.txt b/dialog.txt deleted file mode 100644 index e69de29..0000000 diff --git a/index.html b/index.html index 23a66ff..0907fe1 100644 --- a/index.html +++ b/index.html @@ -7,15 +7,16 @@ Home - Yuna AI - + - + + - - - - - - - - - - - + + + + + + + + + + + @@ -69,9 +72,16 @@

The best solution for you and your customers

-
-
-
+
+
+
@@ -79,7 +89,9 @@

The best solution for you and your customers

-

Chosen by 200,000+ users worldwide for its remarkable performance.

+

Chosen by 200,000+ users worldwide for its remarkable + performance.

@@ -96,49 +108,89 @@

What we can do for you

-
- +
+ +
Stay Informed, Privately 
-

Yuna AI ensures your privacy is paramount with our Private Notifications feature. Receive critical updates and alerts without compromising your data. Tailored to your preferences, our discreet notification system keeps you connected and secure.

- +
-
- - +
+ + + +
Seamless Connectivity 
-

Integrate our intelligent solutions into your ecosystem for enhanced functionality and streamlined operations. Our API is designed for versatility and ease of use, empowering developers to create innovative experiences.

+

Integrate our intelligent solutions into your + ecosystem for enhanced functionality and streamlined operations. Our API is designed + for versatility and ease of use, empowering developers to create innovative + experiences.

-
- +
+ +
Your AI, Your Way 
-

Experience the ultimate in customization. Our platform adapts to your unique needs, learning from your interactions to deliver a truly personalized experience. From tailored recommendations to individualized content, Yuna AI is your personal companion on the digital frontier.

+

Experience the ultimate in customization. Our + platform adapts to your unique needs, learning from your interactions to deliver a + truly personalized experience. From tailored recommendations to individualized + content, Yuna AI is your personal companion on the digital frontier.

-
- - +
+ + + +
Immersive Role-Playing 
-

Dive into rich, interactive narratives with Yuna AI's deep role-playing capabilities. Craft your story, make pivotal decisions, and interact with a world that responds dynamically to your actions. Yuna AI brings your imagination to life, offering an unparalleled role-playing journey.

+

Dive into rich, interactive narratives with + Yuna AI's deep role-playing capabilities. Craft your story, make pivotal decisions, + and interact with a world that responds dynamically to your actions. Yuna AI brings + your imagination to life, offering an unparalleled role-playing journey.

@@ -159,7 +211,10 @@

What People Say About us

-

Yuna AI has been a game-changer for our company. The seamless integration and robust analytics have empowered us to make data-driven decisions that have propelled our growth. Their customer service is unmatched, always there when we need them.

+

Yuna AI has been a game-changer for our + company. The seamless integration and robust analytics have empowered us to make data-driven + decisions that have propelled our growth. Their customer service is unmatched, always there + when we need them.

John Smith

@@ -170,7 +225,10 @@

What People Say About us

-

Yuna AI is like the best girlfriend I never had. She's always there to listen, offers thoughtful advice, and helps me stay organized with gentle reminders. It's the personal touch that makes Yuna AI feel like more than just a program.

+

Yuna AI is like the best girlfriend I never + had. She's always there to listen, offers thoughtful advice, and helps me stay organized + with gentle reminders. It's the personal touch that makes Yuna AI feel like more than just a + program.

Michael Walker

@@ -181,7 +239,10 @@

What People Say About us

-

As an executive assistant, Yuna AI has become my right hand. The efficiency and intuitive design have streamlined my workflow, allowing me to focus on high-priority tasks. It's like having an extra set of hands to manage the day-to-day.

+

As an executive assistant, Yuna AI has become + my right hand. The efficiency and intuitive design have streamlined my workflow, allowing me + to focus on high-priority tasks. It's like having an extra set of hands to manage the + day-to-day.

Emily Rin

@@ -206,10 +267,13 @@

How you can reach us

-
+
-
-
+
+
@@ -217,8 +281,13 @@

How you can reach us

-
- +
+ + +
Email
@@ -226,8 +295,13 @@
Email
-
- +
+ + +
Location
@@ -242,13 +316,16 @@
Location
-
+

Subscribe to our newsletter

-
-
+
+
+
@@ -274,11 +351,14 @@

About

-
-
- - Yuna AI - Yuna AI
+
+
+ + Yuna AI + Yuna AI

Your personal AI girlfriend.

@@ -286,84 +366,91 @@

About

Copyright © 2023 Yuna AI

    -
  • - -
  • -
  • - -
  • -
  • - -
  • +
  • +
  • +
+
-
-
-
-
-
-
-

Basic Bundle

-

Best for personal use

-

$10

-
-
Cheapest
-
-
-
    -
  • - - Community support forums
  • -
  • - - Regular software updates
  • -
  • - - Fast LLM models
  • -
  • - - Personal customization
  • -
  • - - Data backups
-
Get Started +
+
+
+
+
Basic Bundle
+

Best for personal use

+

$10

+ Cheapest +
    +
  • Community support forums
  • +
  • Regular software updates
  • +
  • Fast LLM models
  • +
  • Personal customization
  • +
  • Data backups
  • +
+ Get Started
-
-
-
-
-
-

Pro Bundle

-

Advanced AI functionalities

-

$25

-
-
Best Value
-
-
-
    -
  • - - Everything in Basic Bundle
  • -
  • - - Priority support
  • -
  • - - Customizable AI personalities
  • -
  • - - Custom API endpoints
  • -
  • - - Image generation
  • -
-
Get Started +
+
+
+
Pro Bundle
+

Advanced AI functionalities

+

$25

+ Best Value +
    +
  • Everything in Basic Bundle
  • +
  • Priority support
  • +
  • Customizable AI personalities
  • +
  • Custom API endpoints
  • +
  • Image generation
  • +
+ Get Started
-
-
-
-
-
-

Enterprise

-

Comprehensive AI suite

-

$99

-
-
Business Best
-
-
-
    -
  • - - Everything in Basic and Pro Bundles
  • -
  • - - Enterprise-level security controls
  • -
  • - - Dedicated account manager
  • -
  • - - Scalable solutions for large teams
  • -
  • - - 24/7 technical support
  • -
-
Get Started +
+
+
+
Enterprise
+

Comprehensive AI suite

+

$99

+ Business Best +
    +
  • Everything in Basic and Pro Bundles
  • +
  • Enterprise-level security controls
  • +
  • Dedicated account manager
  • +
  • Unlimited AI training
  • +
  • Priority feature requests
  • +
+ Get Started
@@ -178,11 +137,14 @@

About

-
-
- - Yuna AI - Yuna AI
+
+
+ + Yuna AI + Yuna AI

Your personal AI girlfriend.

@@ -190,84 +152,90 @@

About

Copyright © 2023 Yuna AI

    -
  • - -
  • -
  • - -
  • -
  • - -
  • +
  • +
  • +
+
-
+
Advanced History Managment 
-

"Advanced History Management" in Yuna provides a streamlined way to navigate through past activities. It offers an organized view of your history, making it easy to track progress and revisit actions. This feature enhances workflow efficiency and productivity.

+

"Advanced History Management" in Yuna provides a streamlined way to + navigate through past activities. It offers an organized view of your history, making it + easy to track progress and revisit actions. This feature enhances workflow efficiency and + productivity.

-
+
Pre-built prompt templates 
-

"Pre-built Prompt Templates" in Yuna offer ready-to-use structures for common tasks. These templates save time, reduce errors, and ensure consistency, making it easier to initiate actions and maintain efficient workflows.

+

"Pre-built Prompt Templates" in Yuna offer ready-to-use structures + for common tasks. These templates save time, reduce errors, and ensure consistency, making + it easier to initiate actions and maintain efficient workflows.

-
+
Custom profiles 
-

"Custom Profiles" in Yuna allow users to personalize their experience. These profiles can be tailored to individual preferences, enhancing usability and efficiency. This feature supports a more personalized and user-friendly environment.

+

"Custom Profiles" in Yuna allow users to personalize their + experience. These profiles can be tailored to individual preferences, enhancing usability + and efficiency. This feature supports a more personalized and user-friendly environment.

+
@@ -94,7 +109,9 @@
Custom profiles 

Fully Managed

-
Lorem ipsum dolor sit nullam et quis ad cras porttitor
+
Lorem ipsum dolor sit nullam et quis ad cras + porttitor
@@ -102,7 +119,9 @@
Lorem ipsum dolor sit nullam et quis ad

Fully Managed

-
Lorem ipsum dolor sit nullam et quis ad cras porttitor
+
Lorem ipsum dolor sit nullam et quis ad cras + porttitor
@@ -110,7 +129,8 @@
Lorem ipsum dolor sit nullam et quis ad

Fully Managed

-
Lorem ipsum dolor sit nullam et quis ad cras porttitor
+
Lorem ipsum dolor sit nullam et quis ad cras + porttitor
@@ -118,7 +138,9 @@
Lorem ipsum dolor sit nullam et quis ad

Fully Managed

-
Lorem ipsum dolor sit nullam et quis ad cras porttitor
+
Lorem ipsum dolor sit nullam et quis ad cras + porttitor
@@ -146,11 +168,14 @@

About

-
-
- - Yuna AI - Yuna AI
+
+
+ + Yuna AI + Yuna AI

Your personal AI girlfriend.

@@ -158,15 +183,9 @@

About

Copyright © 2023 Yuna AI

    -
  • - -
  • -
  • - -
  • -
  • - -
  • +
  • +
  • +
@@ -175,67 +194,78 @@

About