feature(#144): Clean and update Brain, Android readmd
Browse files- Android/README.md +38 -31
- Android/assets/img/alarm.png +0 -0
- Android/assets/img/arch.jpg +0 -0
- Android/assets/img/architecture.png +0 -0
- Android/assets/img/browser.png +0 -0
- Android/assets/img/contact.png +0 -0
- Android/assets/img/desc.png +0 -0
- Android/assets/img/general.png +0 -0
- Android/assets/img/image.png +0 -0
- Android/assets/img/real-time.png +0 -0
- Android/assets/img/setting.png +0 -0
- Android/assets/img/sms.png +0 -0
- Brain/README.md +44 -55
- Brain/assets/img/brain-diagram.png +0 -0
- Brain/assets/img/dotenv.png +0 -0
- Brain/assets/img/firebase_credential.png +0 -0
- Brain/assets/img/langchain_architecture.jpg +0 -3
- README.md +1 -1
Android/README.md
CHANGED
|
@@ -1,47 +1,54 @@
|
|
| 1 |
-
#
|
| 2 |
[](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
|
| 3 |
[](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
| 8 |
|
| 9 |
-
|
| 10 |
-
<img align='center' src='assets/img/desc.png' width='100%' />
|
| 11 |
-
</p>
|
| 12 |
|
| 13 |
-
|
| 14 |
-
- 🔗 Multiple API support (Web API for Free and Plus users, GPT-3.5, GPT-4, etc.).
|
| 15 |
-
- 🔍 Integration to all mainstream search engines, and custom queries to support additional sites.
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
| ------------ | ------------ |
|
| 21 |
-
| General Chat | Users can chat with AI plugins. |
|
| 22 |
-
| Open Browser Automatically | If a user is going to open browser, the app opens browser and search what a user wants automatically |
|
| 23 |
-
| Image Search System | A user can search image on Android local storage |
|
| 24 |
-
| Send SMS | If a user says that send SMS, mobile open SMS editor and a user can send SMS using the editor. |
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
-
-
|
| 35 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
-
##
|
|
|
|
| 38 |
|
| 39 |
-
|
|
|
|
| 40 |
|
| 41 |
-
1. **Fork** the
|
| 42 |
-
2. **Clone**
|
| 43 |
-
3. **Commit** changes to your
|
| 44 |
-
4. **Push**
|
| 45 |
-
5.
|
| 46 |
|
| 47 |
-
NOTE:
|
|
|
|
| 1 |
+
# 🌍 RisingBrain-Android:Your AI OS Companion 📱
|
| 2 |
[](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
|
| 3 |
[](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
|
| 4 |
|
| 5 |
+
Venture into the future of artificial intelligence with **RisingBrain Android**- an essential component of 🧠RisingBrain🧠
|
| 6 |
|
| 7 |
+
We bring the revolutionary AI-powered OS right at your fingertips with our Android application.
|
| 8 |
+
This Android counterpart ensures you get all the smart features of RisingBrain OS on your smartphone.
|
| 9 |
|
| 10 |
+
Let's dive into the specifics!😆
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
## Getting Started 🏁
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
<p align='center'>
|
| 15 |
+
<img align='center' src='assets/img/desc.png' width='100%'>
|
| 16 |
+
</p>
|
| 17 |
+
<p align="center">
|
| 18 |
+
<img src="assets/img/architecture.png" width="92%">
|
| 19 |
+
</p>
|
| 20 |
|
| 21 |
+
This application has built with **MVVM architecture pattern**. (Using Android Architecture Components).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
Repository Pattern, to abstract the source of data in the application.
|
| 24 |
+
Using of View Model, Live Data and data binding.
|
| 25 |
|
| 26 |
+
***The Application utilizes such popular libraries as: [Room](https://developer.android.com/training/data-storage/room), [OkHttp](https://github.com/square/okhttp), [Retrofit](https://github.com/square/retrofit), [Glide](https://github.com/bumptech/glide), etc.
|
| 27 |
+
Written in [Kotlin](https://kotlinlang.org/).***
|
| 28 |
|
| 29 |
+
## Features 💫
|
| 30 |
|
| 31 |
+
| Title | Description | ScreenShot |
|
| 32 |
+
|:------------------------------:|:--------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------:|
|
| 33 |
+
| Around-the-Clock Conversations | Enjoy casual chats with Rising AI, right from your Android device. | <img src="assets/img/general.png" width="270px" height="550px"/> |
|
| 34 |
+
| Quick Web Tours | Experience swift and accurate browsing based on your interests or queries. | <img src="assets/img/browser.png" width="270px" height="550px"/> |
|
| 35 |
+
| Picture Perfect | Hunt for images using visual cues or descriptions with our smart image search. | <img src="assets/img/image.png" width="270px" height="550px"/> |
|
| 36 |
+
| Stay Connected, Swiftly | Find contacts and initiate calls or text messages without extra effort. | <img src="assets/img/contact.png" width="270px" height="550px"/> |
|
| 37 |
+
| On-Time, Every Time | Set timely reminders and never miss an important event with our alarm feature. | <img src="assets/img/alarm.png" width="270px" height="550px"/> |
|
| 38 |
+
| Swift Emailing | Send emails instantly, without having to switch between apps. | <img src="assets/img/sms.png" width="270px" height="550px"/> |
|
| 39 |
+
| Configured Just for You | Modify backend settings as preferred for an optimized user experience. | <img src="assets/img/setting.png" width="270px" height="550px"/> |
|
| 40 |
+
| Real-Time Data | Stay updated with real-time data reflecting in your responses. | <img src="assets/img/real-time.png" width="270px" height="550px"/> |
|
| 41 |
|
| 42 |
+
## Compatibility 🤝
|
| 43 |
+
Our Android app is designed with a broad compatibility range, supporting various Android versions. Regardless of the device you own, RisingBrain Android ensures a seamless, advanced, and user-centric experience.
|
| 44 |
|
| 45 |
+
## Contributing 💪
|
| 46 |
+
We appreciate your interest in enhancing our work! Please respect the style and contribution guidelines of every project when submitting patches and additions. Our general Git workflow of choice is "fork-and-pull".
|
| 47 |
|
| 48 |
+
1. **Fork** the repository on GitHub
|
| 49 |
+
2. **Clone** your fork to your machine
|
| 50 |
+
3. **Commit** the changes to your personal branch
|
| 51 |
+
4. **Push** these updates back to your fork
|
| 52 |
+
5. Don't forget to submit a **Pull Request** for us to study your contributions.
|
| 53 |
|
| 54 |
+
NOTE: Sync with "upstream" to have the latest updates before you make a pull request!
|
Android/assets/img/alarm.png
ADDED
|
Android/assets/img/arch.jpg
DELETED
|
Binary file (59.4 kB)
|
|
|
Android/assets/img/architecture.png
ADDED
|
Android/assets/img/browser.png
ADDED
|
Android/assets/img/contact.png
ADDED
|
Android/assets/img/desc.png
CHANGED
|
|
Android/assets/img/general.png
ADDED
|
Android/assets/img/image.png
ADDED
|
Android/assets/img/real-time.png
ADDED
|
Android/assets/img/setting.png
ADDED
|
Android/assets/img/sms.png
ADDED
|
Brain/README.md
CHANGED
|
@@ -11,71 +11,60 @@ pinned: false
|
|
| 11 |
license: other
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# 🧠 RisingBrain
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
</p>
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
<p>Are you tired of your dull and monotonous operating system? Say hello to <b>RisingBrain</b>!</p>
|
| 24 |
-
<p>Our project is aimed at revolutionizing how complex software, including operating systems, leverage machine learning. Imagine an OS where an AI manages all apps via fun and interactive plugins, operating as OpenAI plugins or within our backend.</p>
|
| 25 |
-
Sounds exciting?😂 Let's dive into it! 🏊♂️
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
<img
|
| 32 |
-
<
|
| 33 |
</p>
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
- 📱 **Mobile-First Attitude**:
|
| 38 |
-
- **Say hello🙋♀️ to your intelligent OS** with a smart chat interface that can control all your phone apps via conversational prompts. Powered by state-of-the-art language models like <a href="https://openai.com/research/gpt-4">GPT-4</a>, <a href="https://autogpt.net/">AutoGPT</a>, <a href="https://huggingface.co/blog/falcon">Falcon</a>, <a href="https://huggingface.co/spaces/NeuralInternet/BabyAGI">BabyAGI</a>, <a href="https://en.wikipedia.org/wiki/BERT_(language_model)">BERT</a>, <a href="https://huggingface.co/docs/transformers/model_doc/t5">T5</a> and more, our chatbot is a league apart!
|
| 39 |
-
- **Control is in your hands🖐**: Manage contacts, images, audio, videos, documents, and even your browsers like <em>Chrome</em>, <em>Firefox</em>, and <em>Safari</em> all from a single app.
|
| 40 |
-
- **Real-time data at your fingertip👆**: Whether it's news, weather, financial status, or sending emails - we've got you covered.
|
| 41 |
-
- **Confused with text images or need answers based on PDFs?** Our robust <a href="https://www.onlineocr.net/">OCR</a> functionality is at your service.
|
| 42 |
-
- **Backend? Your choice**: You decide where to route the backend - set up and manage a range of cloud services like <a href="https://openai.com/">OpenAI</a> and <a href="https://firebase.google.com/">Firebase</a>.
|
| 43 |
-
- Available on both **Android and iOS**, it's also geared to manage your calendar and alarms. Ultimate ease, don't you think😉?
|
| 44 |
-
- 🌍 **Universal Browser Extension**:
|
| 45 |
-
- Meet your new web companion, compatible with browsers like <em>Chrome</em>, <em>Safari</em>, <em>Firefox</em>, etc. Not just for general chat, it's adept at handling several browser functionalities based on your prompts.
|
| 46 |
-
- Tasks?🤨 Consider them done: From sending emails, booking tables, scheduling appointments, to calendar management - it does it all!
|
| 47 |
-
- ⌚ **Apple to the Rescue**:
|
| 48 |
-
- Your favorite general chat is now on Apple Watch. Better yet, it enables you to control your Android app, including contacts and images.
|
| 49 |
-
- Never be apart: Left your phone at home? No worries👌, control your Android phone right through the app on your Apple Watch – even find contacts!
|
| 50 |
-
|
| 51 |
<p align="center">
|
| 52 |
-
|
|
|
|
| 53 |
</p>
|
| 54 |
|
| 55 |
-
##
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
## 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
We appreciate your interest in enhancing our work! Please respect the style and contribution guidelines of every project when submitting patches and additions. Our general Git workflow of choice is "fork-and-pull".
|
| 80 |
|
| 81 |
1. **Fork** the repository on GitHub
|
|
|
|
| 11 |
license: other
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# 🧠 RisingBrain - Powering Your AI Enhanced OS 💡
|
| 15 |
|
| 16 |
+
Welcome to the heartbeat of **RisingBrain**, our main backend component. ⚽ Kickstart your **RisingBrain** project right from here.
|
| 17 |
+
<p align="center">
|
| 18 |
+
<img align="center" src="assets/img/brain-diagram.png" width="100%">
|
| 19 |
</p>
|
| 20 |
|
| 21 |
+
## Getting Started 🏁
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
The first step involves setting up the necessary environment. You'll need two files:
|
| 24 |
|
| 25 |
+
1. **Firebase Credential JSON file**: Place your firebase_credential.json in the following directory:
|
| 26 |
+
<p align="center">
|
| 27 |
+
<img src="assets/img/firebase_credential.png" width="88%"/>
|
| 28 |
+
<p align="center">[Project Directory]/Brain/firebase_credential.json</p>
|
| 29 |
</p>
|
| 30 |
|
| 31 |
+
2. **Environment Variable file**: The .env file is essential for any application configuration. Make sure to have it at the location:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
<p align="center">
|
| 33 |
+
<img src="assets/img/dotenv.png" width="88%"/>
|
| 34 |
+
<p align="center">[Project Directory]/.env</p>
|
| 35 |
</p>
|
| 36 |
|
| 37 |
+
## Running FastAPI Application 🚀
|
| 38 |
+
Our backend runs on a <a href="https://fastapi.tiangolo.com/">FastAPI</a> application. Here's a quick guide to get it up and running:
|
| 39 |
+
|
| 40 |
+
### Step 1: Create the virtual environment.
|
| 41 |
+
This aims to isolate your Python/system install from the application's project packages.
|
| 42 |
+
|
| 43 |
+
- On Windows:
|
| 44 |
+
|
| 45 |
+
`python -m venv [virtualenv name]\`
|
| 46 |
+
|
| 47 |
+
`venv\Scripts\activate.bat\`
|
| 48 |
+
|
| 49 |
+
- On Linux:
|
| 50 |
+
|
| 51 |
+
`python3 -m venv [virtualenv name]`
|
| 52 |
+
|
| 53 |
+
`source [virtualenv name]/bin/activate`
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
### Step 2: Install all required packages using the provided requirements.txt file.
|
| 57 |
+
|
| 58 |
+
`pip install -r requirements.txt`
|
| 59 |
+
|
| 60 |
+
### Step 3: Start the FastAPI application with hot reloads enabled using Uvicorn.
|
| 61 |
+
`uvicorn app:app --reload`
|
| 62 |
+
|
| 63 |
+
Bravo!👏 You should now see your **Brain Backend** is alive and ready for action, empowering your AI interactions in **RisingBrain**.
|
| 64 |
+
|
| 65 |
+
Happy coding! 🎉
|
| 66 |
+
|
| 67 |
+
## Contributing 💪
|
| 68 |
We appreciate your interest in enhancing our work! Please respect the style and contribution guidelines of every project when submitting patches and additions. Our general Git workflow of choice is "fork-and-pull".
|
| 69 |
|
| 70 |
1. **Fork** the repository on GitHub
|
Brain/assets/img/brain-diagram.png
ADDED
|
Brain/assets/img/dotenv.png
ADDED
|
Brain/assets/img/firebase_credential.png
ADDED
|
Brain/assets/img/langchain_architecture.jpg
DELETED
Git LFS Details
|
README.md
CHANGED
|
@@ -62,7 +62,7 @@ Key features of **RisingBrain** that will make you fall in love with your OS all
|
|
| 62 |
- **Image Hunt**: Search for images effortlessly using visual references or descriptive prompts.
|
| 63 |
- **Momentary Contact Search**: Get in touch with any contact quickly and efficiently.
|
| 64 |
- **Text on the Go**: Send SMS messages instantly without leaving your current app environment.
|
| 65 |
-
- **Up-to-the-Minute
|
| 66 |
- **Email Made Easy**: Compose and send emails seamlessly right from our interface.
|
| 67 |
- **Backend Configuration**: Modify backend settings as needed for an optimized user experience.
|
| 68 |
- **Never Miss a Beat**: Real-time data updations to keep you at the forefront of information.
|
|
|
|
| 62 |
- **Image Hunt**: Search for images effortlessly using visual references or descriptive prompts.
|
| 63 |
- **Momentary Contact Search**: Get in touch with any contact quickly and efficiently.
|
| 64 |
- **Text on the Go**: Send SMS messages instantly without leaving your current app environment.
|
| 65 |
+
- **Up-to-the-Minute Notifications**: Set alarms for appointments or deadlines and let us remind you.
|
| 66 |
- **Email Made Easy**: Compose and send emails seamlessly right from our interface.
|
| 67 |
- **Backend Configuration**: Modify backend settings as needed for an optimized user experience.
|
| 68 |
- **Never Miss a Beat**: Real-time data updations to keep you at the forefront of information.
|