happygold commited on
Commit
e8a128c
·
1 Parent(s): ee6bd88

feature(#144): Clean and update Brain, Android readmd

Browse files
Android/README.md CHANGED
@@ -1,47 +1,54 @@
1
- # RisingAndroid
2
  [![Android CI Develop](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml/badge.svg?branch=develop)](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
3
  [![Android CI](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml/badge.svg?branch=main)](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
4
 
5
- All complex software including operating systems will need to be rewritten from the ground up to take advantage of machine learning. In our OS, a AI will manage all apps via plugins, which can be prompted by the user. Our plugins can run as an openai plugin, or in our backend.
6
 
7
- ### RisingPhone
 
8
 
9
- <p align='center'>
10
- <img align='center' src='assets/img/desc.png' width='100%' />
11
- </p>
12
 
13
- - 📱 Support for mobile devices to manage all apps via plugin as its launcher.
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
- ### Features
 
 
 
 
 
18
 
19
- | Title | Description |
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
- ### Run locally
27
- - Copy google-services.json into app folder of project
28
 
29
- ### CI/CD
30
- - set google-services.json to github secrets
31
 
 
32
 
33
- ### Test
34
- - Unit Test
35
- - Instrumented Test
 
 
 
 
 
 
 
36
 
37
- ### Contributing
 
38
 
39
- Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
 
40
 
41
- 1. **Fork** the repo on GitHub
42
- 2. **Clone** the project to your own machine
43
- 3. **Commit** changes to your own branch
44
- 4. **Push** your work back up to your fork
45
- 5. Submit a **Pull request** so that we can review your changes
46
 
47
- NOTE: Be sure to merge the latest from "upstream" before making a pull request!
 
1
+ # 🌍 RisingBrain-Android:Your AI OS Companion 📱
2
  [![Android CI Develop](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml/badge.svg?branch=develop)](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml)
3
  [![Android CI](https://github.com/ttt246/RisingPhone/actions/workflows/android.yml/badge.svg?branch=main)](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: Your Future-Forward AI-Powered OS 🚀
15
 
16
- <p align='center'>
17
- <img align='center' src='assets/img/logo.png' width='70%' />
18
- <p align='center'>🧠 <b>RisingBrain</b>: Your Future-Forward AI-Powered OS 🚀</p>
19
  </p>
20
 
21
- **Notice:** *This codebase is under active development and has been recently made public. Please expect frequent updates.*
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
- ## 1. Look What We've Achieved! 🏆
28
 
29
- <p align='center'>
30
- <img align='center' src='assets/img/instruction.png' width='88%' />
31
- <img align='center' src='assets/img/android_desc.png' width='100%' />
32
- <img align='center' src='assets/img/extension&watch.png' width='88%' />
33
  </p>
34
 
35
- Key features of **RisingBrain** that will make you fall in love with your OS all over again:
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
- <b><em>How to access us</em></b>: <a href="https://github.com/ttt246/Brain/tree/main/Brain">Brain🧠</a> | <a href="https://github.com/ttt246/Brain/tree/main/Android">Android Application📱</a> | <a href="https://github.com/ttt246/Brain/tree/main/Extension">Browser Extension🔍</a> | <a href="https://github.com/ttt246/Brain/tree/main/WatchApp">Apple Watch⌚</a>
 
53
  </p>
54
 
55
- ## 2. Functionalities You Need to Check Out 🚀
56
-
57
- **RisingBrain** doesn't just look good, it's super smart too! Here's what it can do:
58
-
59
- - 📱 **Android App**:
60
- - **Cosy Convos**: Simplify life with general chats with our Rising AI.
61
- - **Swift Browsing**: Swiftly access any piece of information on the internet within seconds.
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.
69
- - ➡️ **Browser Extension**:
70
- - **Tailored Chats**: Enjoy meaningful conversations with Rising AI, customized based on current website's data.
71
- - **Controlling the Browser**: Perform actions like opening new tabs, searching the web, scrolling to top/bottom, navigating to next/previous page, or selecting items.
72
- - **Seamless Reservations**: Booking a table at your favourite restaurant is just a command away!
73
- - **Gmail Integration**: Get your emails sent directly from your current browsing interface.
74
- - **Apple Watch App**:
75
- - **Chit-Chats Anywhere**: Have the luxury of general chats with Rising AI right from your wrist.
76
- - **Android Abode**: Control your Android device, performing actions like searching contacts or images without reaching for your phone.
77
-
78
- ## 3. Contributing 💪
 
 
 
 
 
 
 
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

  • SHA256: 3566c16eecf7b74745767c640022f87fcc3fd489b97b4d54ceefde6f96347a3c
  • Pointer size: 130 Bytes
  • Size of remote file: 43.7 kB
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** 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.
 
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.