Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions apps/CortensorLabs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 mrpurnomo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 9 additions & 0 deletions apps/CortensorLabs/PROJECTS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- name: CortensorLabs
category: apps
owner: "@papacz"
collaborators:
- "@papacz"
status: active
created: 2025-10-23
version: v0.1.0
tags: [agent, ai, cortensor]
96 changes: 96 additions & 0 deletions apps/CortensorLabs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# CortensorLabs

**CortensorLabs** is AI platform powered by the Cortensor Network. Designed to optimize your workflow, this application provides a decentralized dashboard for various specialized AI agents, from business planning to data conversion.

---

## Features

- **Session History (Restore):**
Never worry about losing your conversation history. Simply save your **Session ID** to restore your entire chat history at any time.
- **Web & Mobile Responsive:**
A fully adaptive design that provides an optimal experience on both **desktop (web)** and **mobile** (complete with interactive pop-up bubbles).
- **Dynamic & Interactive UI:**
- **Desktop Mode:** A professional multi-column layout.
- **Mobile Mode:** Animated, "wobbling" 3D pop-up bubbles for a unique and engaging navigation experience.
- **Unique Header & Footer:**
Custom dual-tone shadow (Pink & Blue) for distinct branding.
- **Multi-Agent Hub:**
Choose the right agent for the right task:
- **💬 General Assistant:** A smart AI assistant for various general questions and tasks.
- **💼 Business Planner:** Plan business strategies and identify opportunities.
- **📝 Text Summarizer:** Summarize long texts into key bullet points.
- **📊 Insight Analyzer:** Get in-depth analysis and discover trends from your data.
- **🔄 Format Converter:** Instantly convert raw data to:
- `JSON`
- `HTML`
- `CSV`
---
## Preview

| Web View | Mobile View | Web & Mobile (Demo)
| :---: | :---: | :---: |
| [CortensorLabs Web Preview](https://drive.google.com/file/d/1ASjUbWlO3QkSTKfM9IVNuzeobYNX8Zrr/view?usp=sharing) | [CortensorLabs Mobile Preview](https://drive.google.com/file/d/1SRzshO5XQc9P_w93J-br38pb1EYm7Ph6/view?usp=sharing) | [CortensorLabs Web & Mobile (Demo)](https://drive.google.com/file/d/1UVZf5RbL1F4D3DRj-q4acv53OXmVBav9/view?usp=sharing)


---

## Live Apps

**[Visit the CortensorLabs ](https://cortensor-labs.vercel.app/)**

---

## Tech Stack

* **Frontend:** [Next.js](https://nextjs.org/)
* **Styling:** [Tailwind CSS](https://tailwindcss.com/)
* **Animation:** [Framer Motion](https://www.framer.com/motion/)
* **UI Components:** [Shadcn/ui](https://ui.shadcn.com/)
* **Icons:** [Lucide React](https://lucide.dev/)
* **Backend:** [Cortensor Network](https://www.cortensor.network/)
---

## Local Installation & Development

1. **Clone the Repository:**
```bash
git clone https://github.com/Ajipur-Oprekers/CortensorLabs.git
cd cortensor-dashboard
```

2. **Install Dependencies:**
```bash
npm install

```

3. **Configure Environment Variables:**
Create a `.env.local` & `.env` file in the project root.
```env
# .env.local
NEXT_PUBLIC_API_URL=your_cortensor_api_url
NEXT_PUBLIC_API_TASK=your_cortensor_task_url
NEXT_PUBLIC_API_KEY=your_cortensor_api_key
NEXT_PUBLIC_SESSION_ID=your_cortensor_session_id

# .env
DATABASE_URL=your_database_url
```

4. **Run the Development Server:**
```bash
npm run dev
```
Open `http://localhost:3000` in your browser.

---

## License

This project is licensed under the [MIT License](LICENSE.md).

---

### Built by
[PapaCZ](https://x.com/Ajipur26)
17 changes: 17 additions & 0 deletions apps/CortensorLabs/RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## [v1.0.0] - 2025-10-23

* **Multi-Agent Architecture:** Created a centralized hub for 5 distinct AI agents:
* `💬 General Assistant`
* `💼 Business Planner`
* `📝 Text Summarizer`
* `📊 Insight Analyzer`
* `🔄 Format Converter`
* **Converter Sub-Features:** Added conversion support for `JSON`, `HTML`, and `CSV`.
* **Session Management:** Implemented **Session ID** creation and a **Restore Session** functionality to persist chat history.
* **Responsive UI (Web & Mobile):**
* Full multi-column desktop layout.
* Dynamic mobile view using interactive pop-up bubbles.
* **Dynamic Animations & Branding:**
* Added animated "wobbling" 3D bubble buttons for the mobile UI.
* Created a new "fly-in" animation for chat messages.
* Implemented custom dual-tone (Pink & Blue) shadows on the *Header* and *
18 changes: 18 additions & 0 deletions apps/CortensorLabs/STATUS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Current Status

1. ✅ **Multi-Agent Hub** implemented (General, Planner, Summarizer, Analyzer, Converter).
2. ✅ **Format Converter** fully functional with `JSON`, `HTML`, and `CSV` options.
3. ✅ **Session ID Restore** system for persistent chat history.
4. ✅ **Fully Responsive Layout** for both web (desktop) and mobile.
5. ✅ **Dynamic Mobile UI** with "wobbling" 3D pop-up bubble navigation.
6. ✅ **Custom Branding** with dual-tone Pink/Blue shadows on header and footer.

## Roadmap

1. 🔲 Implement a Dark Mode theme toggle
2. 🔲 Expand Format Converter to include `XML` and `YAML` and `PDF`
3. 🔲 Explore full User Authentication (Google/Discord) to replace Session IDs

## Known Issues

❗ Minor delay when restoring sessions with very long chat histories
36 changes: 36 additions & 0 deletions apps/CortensorLabs/cortensor-dashboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
22 changes: 22 additions & 0 deletions apps/CortensorLabs/cortensor-dashboard/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": false,
"tailwind": {
"config": "",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"registries": {}
}
25 changes: 25 additions & 0 deletions apps/CortensorLabs/cortensor-dashboard/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [
...compat.extends("next/core-web-vitals"),
{
ignores: [
"node_modules/**",
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
],
},
];

export default eslintConfig;
7 changes: 7 additions & 0 deletions apps/CortensorLabs/cortensor-dashboard/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
}
4 changes: 4 additions & 0 deletions apps/CortensorLabs/cortensor-dashboard/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading