Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rr3s1/aividshare
A React Native app for AI video sharing, built with Expo, Nativewind, Animatable and Appwrite with secure authentication, dynamic search and animated feeds.
https://github.com/rr3s1/aividshare
animatable appwrite expo nativewind react-native
Last synced: about 5 hours ago
JSON representation
A React Native app for AI video sharing, built with Expo, Nativewind, Animatable and Appwrite with secure authentication, dynamic search and animated feeds.
- Host: GitHub
- URL: https://github.com/rr3s1/aividshare
- Owner: rr3s1
- License: mit
- Created: 2024-12-17T23:08:29.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T11:01:14.000Z (6 days ago)
- Last Synced: 2025-01-06T12:43:11.644Z (6 days ago)
- Topics: animatable, appwrite, expo, nativewind, react-native
- Language: TypeScript
- Homepage:
- Size: 143 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Video Sharing App
In this project, I am coding along with Adrian Hajdin from JavaScript Mastery (YouTube) to build a video sharing application.
Initiated
Completed
Progress - 29Dec24
YT video length
December 2024
Est. ~ mid 2025
2%
4 hours
Built with React Native for seamless user experiences, Animatable for captivating animations, and integrated with the dependable backend systems of Appwrite,
this app showcases impressive design and functionality, enabling seamless sharing of AI videos within the community.If you're getting started and need assistance or face any bugs, join our active Discord community with over 27k+ members. It's a place where people help each other out.
- React Native
- Expo
- Nativewind
- Animatable
- Appwriteπ **Onboarding Screen**: Engaging graphics and clear instructions welcome users to the app.
π **Robust Authentication & Authorization System**: Secure email login safeguards user accounts.
π **Dynamic Home Screen with Animated Flat List**: Smoothly animated flat list showcases the latest videos for seamless browsing.
π **Pull-to-Refresh Functionality**: Users can refresh content with a simple pull gesture for up-to-date information.
π **Full-Text Search Capability**: Efficiently search through videos with real-time suggestions and instant results.
π **Tab Navigation**: Navigate between sections like Home, Search, and Profile with ease using tab navigation.
π **Post Creation Screen for Uploading Media**: Upload video and image posts directly from the app with integrated media selection.
π **Profile Screen with Detailed Insights**: View account details and activity, including uploaded videos and follower count, for a personalized experience.
π **Responsiveness**: Smooth performance and adaptability across various devices and screen sizes for a consistent user experience.
π **Animations**: Dynamic animations using the Animatable library to enhance user interaction and engagement throughout the app's UI.
and many more, including code architecture and reusability
Follow these steps to set up the project locally on your machine.
**Prerequisites**
Make sure you have the following installed on your machine:
- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org/en)
- [npm](https://www.npmjs.com/) (Node Package Manager)**Cloning the Repository**
```bash
git clone https://github.com/rr3s1/AIVidShare.git
cd main_AIVidShare
```
**Installation**Install the project dependencies using npm:
```bash
npm install
```**Running the Project**
```bash
npm start
```**Expo Go**
Download the [Expo Go](https://expo.dev/go) app onto your device, then use it to scan the QR code from Terminal and run.
tailwind.config.js
```javascript
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{js,jsx,ts,tsx}", "./components/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
primary: "#161622",
secondary: {
DEFAULT: "#FF9C01",
100: "#FF9001",
200: "#FF8E01",
},
black: {
DEFAULT: "#000",
100: "#1E1E2D",
200: "#232533",
},
gray: {
100: "#CDCDE0",
},
},
fontFamily: {
pthin: ["Poppins-Thin", "sans-serif"],
pextralight: ["Poppins-ExtraLight", "sans-serif"],
plight: ["Poppins-Light", "sans-serif"],
pregular: ["Poppins-Regular", "sans-serif"],
pmedium: ["Poppins-Medium", "sans-serif"],
psemibold: ["Poppins-SemiBold", "sans-serif"],
pbold: ["Poppins-Bold", "sans-serif"],
pextrabold: ["Poppins-ExtraBold", "sans-serif"],
pblack: ["Poppins-Black", "sans-serif"],
},
},
},
plugins: [],
};
```
Font Loaded
```javascript
const [fontsLoaded, error] = useFonts({
"Poppins-Black": require("../assets/fonts/Poppins-Black.ttf"),
"Poppins-Bold": require("../assets/fonts/Poppins-Bold.ttf"),
"Poppins-ExtraBold": require("../assets/fonts/Poppins-ExtraBold.ttf"),
"Poppins-ExtraLight": require("../assets/fonts/Poppins-ExtraLight.ttf"),
"Poppins-Light": require("../assets/fonts/Poppins-Light.ttf"),
"Poppins-Medium": require("../assets/fonts/Poppins-Medium.ttf"),
"Poppins-Regular": require("../assets/fonts/Poppins-Regular.ttf"),
"Poppins-SemiBold": require("../assets/fonts/Poppins-SemiBold.ttf"),
"Poppins-Thin": require("../assets/fonts/Poppins-Thin.ttf"),
});useEffect(() => {
if (error) throw error;if (fontsLoaded) {
SplashScreen.hideAsync();
}
}, [fontsLoaded, error]);if (!fontsLoaded && !error) {
return null;
}
```
Dummy Videos for Appwrite
```javascript
const videos = [
{
title: "Get inspired to code",
thumbnail:
"https://i.ibb.co/tJBcX20/Appwrite-video.png",
video:
"https://player.vimeo.com/video/949579770?h=897cd5e781",
prompt:
"Create a motivating AI driven video aimed at inspiring coding enthusiasts with simple language",
},
{
title: "How AI Shapes Coding Future",
thumbnail:
"https://i.ibb.co/Xkgk7DY/Video.png",
video:
"https://player.vimeo.com/video/949581999?h=4672125b31",
prompt: "Picture the future of coding with AI. Show AR VR",
},
{
title: "Dalmatian's journey through Italy",
thumbnail:
"https://i.ibb.co/CBYzyKh/Video-1.png",
video:
"https://player.vimeo.com/video/949582778?h=d60220d68d",
prompt:
"Create a heartwarming video following the travels of dalmatian dog exploring beautiful Italy",
},
{
title: "Meet small AI friends",
thumbnail:
"https://i.ibb.co/7XqVPVT/Photo-1677756119517.png",
video:
"https://player.vimeo.com/video/949616422?h=d60220d68d",
prompt:
"Make a video about a small blue AI robot blinking its eyes and looking at the screen",
},
{
title: "Find inspiration in Every Line",
thumbnail:
"https://i.ibb.co/mGfCYJY/Video-2.png",
video:
"https://player.vimeo.com/video/949617485?h=d60220d68d",
prompt:
"A buy working on his laptop that sparks excitement for coding, emphasizing the endless possibilities and personal growth it offers",
},
{
title: "Japan's Blossoming temple",
thumbnail:
"https://i.ibb.co/3Y2Nk7q/Bucket-215.png",
video:
"https://player.vimeo.com/video/949618057?h=d60220d68d",
prompt: "Create a captivating video journey through Japan's Sakura Temple",
},
{
title: "A Glimpse into Tomorrow's VR World",
thumbnail:
"https://i.ibb.co/C5wXXf9/Video-3.png",
video:
"https://player.vimeo.com/video/949620017?h=d60220d68d",
prompt: "An imaginative video envisioning the future of Virtual Reality",
},
{
title: "A World where Ideas Grow Big",
thumbnail:
"https://i.ibb.co/DzXRfyr/Bucket-59038.png",
video:
"https://player.vimeo.com/video/949620200?h=d60220d68d",
prompt:
"Make a fun video about hackers and all the cool stuff they do with computers",
},
];
```## π Links
Assets and constants used in the project can be found [here](https://drive.google.com/drive/folders/1pckq7VAoqZlmsEfYaSsDltmQSESKm8h7?usp=sharing)
## π€ Acknowledgments
Adrian Hajdin: For the comprehensive tutorial and
guidance. [JavaScript Mastery](https://www.youtube.com/watch?v=kt0FrkQgw8w&t=3910s&ab_channel=JavaScriptMastery).## π License
This project is licensed under the MIT License.
Note: This project is for educational purposes and is free to use under the terms of the MIT License.
## π More
**Advance your skills with JSM's Next.js Pro Course**
Enjoyed creating this project? Dive deeper into JSM's PRO courses for a richer learning adventure. They're packed with
detailed explanations, cool features, and exercises to boost your skills. Give it a go!