Skip to content

lain-corp/lain-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Lain I/O 👋

Get started

  1. Install dependencies

    npm install
  2. Start the app

    npx expo start --tunnel --web -c

Configuration

Environment Variables

This project uses environment variables for OAuth configuration.

  1. Local Development: Create a .env file in the root directory (this file is git-ignored):
    EXPO_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id

AkashML API key is stored securely in the ICP canister ai_api_backend — it is not needed in the build environment. To update it: dfx canister call ai_api_backend set_akash_api_key '("akml-...")' --network ic

Get a fresh project

When you're ready, run:

npm run reset-project

This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.

BUILD THE AAB

export $(grep -v '^#' .env | xargs) && eas build -p android --profile production --local

BUILD THE APK

export $(grep -v '^#' .env | xargs) && eas build -p android --profile preview --local

DEPLOY TO IC

 npm run deploy:ic

BUILD THE DESKTOP APP

npm run tauri:dev

npm run build:desktop

Check which backend is being used (AkashML vs ICP)

# Clear logcat buffer
adb logcat -c

# Monitor React Native logs for chat routing
adb logcat -s ReactNativeJS:* chromium:* | grep -E "(ChatRouter|Routing)"

# Then use the app and send messages in #tech channel

Expected logs for #tech channel using AkashML via canister proxy:

[ChatRouter] 🚀 Routing to AkashML (Llama 3.3 70B)
[AkashML] Routing via ICP canister proxy - model: meta-llama/Llama-3.3-70B-Instruct
[AkashML] ✅ Canister proxy response received

Privacy Policy

Effective Date: 01/092025 Lain I/O ("we", "our", or "us") is committed to protecting your privacy. This Privacy Policy explains how Lain I/O collects, uses, and shares information when you use our mobile application ("App"), available on the Google Play Store.

Information We Collect

We may collect the following types of information:

  • Personal Information: Information you provide to us directly, such as your name, email address, or other contact details if you choose to contact us or create an account.
  • Usage Data: Information about your interactions with the App, such as features used, time spent on the app, and crash reports.
  • Device Information: Information about the device you use to access our App, including device model, operating system, unique device identifiers, and mobile network information.
  • Location Data: (If applicable) If you allow the App to access location services, we may collect and process information about your actual location.

How We Use Your Information

We use the collected information to:

  • Provide and maintain the App
  • Improve, personalize, and expand our App and its features
  • Understand and analyze how you use our App
  • Communicate with you, including responding to your comments, questions, and requests
  • Send you updates, security alerts, and support messages (if applicable)
  • Comply with legal requirements

Sharing Your Information

We do not sell, trade, or rent your personal information to third parties. We may share information with:

  • Service Providers: Third-party vendors to help us operate and maintain the App, perform App-related services, or assist us in analyzing how our App is used.
  • Legal Requirements: If required by law or in response to valid requests by public authorities.

Security

We value your trust in providing us your Personal Information, thus we strive to use commercially acceptable means of protecting it. However, please remember that no method of transmission over the internet or method of electronic storage is 100% secure.

Children’s Privacy

Our App is not intended for children under the age of 13. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so we can take necessary actions.

Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page. Updates are effective immediately after they are posted.

Contact Us

If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at:
laincorp.com@gmail.com

About

Lain I/O is a cross‑platform app built with Expo + React Native, seamlessly integrated with the Internet Computer. Features secure Internet Identity login via bridge page, modular IC canisters, and automated CI/CD deploys, delivering a unified, scalable Web3 experience on web and mobile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors