superapp-automation

sosmed

318 file ยท 1.3 MB

Sistem informasi live โ€” sosmed-sigma.vercel.appBuka di tab baru

README

๐Ÿš€ Jejak Sosial - Enterprise Business Intelligence Platform

A comprehensive social media ecosystem mapping and business intelligence platform with advanced analytics, interactive visualizations, and AI-powered insights.

โœจ Features

๐Ÿ“Š Analytics & Visualization

  • Analytics Dashboard - Platform distribution, niche analysis, growth projections, tier comparison
  • Network Graph - Interactive D3.js force-directed visualization with zoom, pan, drag
  • Trending Topics - Real-time trending analysis with heatmap
  • Competitor Comparison - Side-by-side seed comparison with radar charts

๐Ÿ” Discovery & Search

  • Advanced Search - Multi-filter search with real-time results
  • Command Palette - Cmd+K quick navigation
  • Advanced Data Table - Sortable, filterable table with CSV export

๐Ÿ“… Planning & Prediction

  • Content Calendar - Weekly/monthly view with event scheduling
  • Performance Predictor - AI-powered content performance prediction

๐ŸŽจ UX & UI

  • Page Transitions - Smooth Framer Motion animations
  • Toast Notifications - User feedback system
  • Keyboard Shortcuts - Power user navigation
  • Responsive Design - Mobile-first approach

๐Ÿ”ง Technical

  • SEO Optimized - Complete meta tags, sitemap.xml, robots.txt
  • PWA Ready - Web app manifest, offline capable
  • Static Export - 115 pre-rendered pages
  • TypeScript - Full type safety

๐Ÿ—๏ธ Architecture

sosmed/
โ”œโ”€โ”€ app/                    # Next.js App Router
โ”‚   โ”œโ”€โ”€ page.tsx           # Dashboard with all BI components
โ”‚   โ”œโ”€โ”€ seeds/[slug]/      # Seed detail pages
โ”‚   โ”œโ”€โ”€ accounts/[slug]/   # Account detail pages
โ”‚   โ”œโ”€โ”€ niches/[slug]/     # Niche pages
โ”‚   โ””โ”€โ”€ layout.tsx         # Root layout with SEO
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ bi/                # Business Intelligence components
โ”‚   โ”‚   โ”œโ”€โ”€ AnalyticsDashboard.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ NetworkGraph.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ TrendingAnalysis.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ PerformancePredictor.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ AdvancedSearch.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ AdvancedDataTable.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ ContentCalendar.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ CompetitorComparison.tsx
โ”‚   โ”‚   โ””โ”€โ”€ ExportData.tsx
โ”‚   โ”œโ”€โ”€ ui/                # UI components
โ”‚   โ”‚   โ”œโ”€โ”€ CommandPalette.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ Toaster.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ KeyboardShortcuts.tsx
โ”‚   โ”‚   โ””โ”€โ”€ PageTransition.tsx
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ data.ts            # Data access layer
โ”‚   โ””โ”€โ”€ types.ts           # TypeScript definitions
โ”œโ”€โ”€ data/                  # JSON data files
โ”‚   โ”œโ”€โ”€ seeds/             # 7 seed accounts
โ”‚   โ”œโ”€โ”€ accounts/          # 100+ accounts
โ”‚   โ”œโ”€โ”€ niches/            # 7 niches
โ”‚   โ””โ”€โ”€ networks/          # Network data
โ””โ”€โ”€ public/               # Static assets
    โ”œโ”€โ”€ manifest.json     # PWA manifest
    โ”œโ”€โ”€ robots.txt        # SEO robots
    โ””โ”€โ”€ sitemap.xml       # SEO sitemap

๐Ÿ“ˆ Stats

  • 7 Seed Accounts across different niches
  • 100+ Discovered Accounts with similarity scoring
  • 7 Niches mapped with ecosystem data
  • 115 Static Pages pre-rendered at build time
  • 77MB Build Output optimized for deployment

๐Ÿš€ Deployment

Cloudflare Pages (Recommended)

  1. Fork/push this repository to GitHub

  2. Connect to Cloudflare Pages:

    # Using Wrangler CLI
    npx wrangler login
    npx wrangler pages project create jejak-sosial
    npx wrangler pages deploy out --project-name=jejak-sosial
    
  3. Or use GitHub Actions (already configured in .github/workflows/deploy-cloudflare.yml):

    • Add CLOUDFLARE_API_TOKEN to GitHub Secrets
    • Add CLOUDFLARE_ACCOUNT_ID to GitHub Secrets
    • Push to main branch

Manual Deploy

# Build static export
npm run build

# Deploy to Cloudflare Pages
npx wrangler pages deploy out --project-name=jejak-sosial

๐ŸŽฎ Keyboard Shortcuts

ShortcutAction
Cmd/Ctrl + KOpen Command Palette
?Show Keyboard Shortcuts
EscClose modals/panels
G + DGo to Dashboard
G + SGo to Seeds
G + AGo to Accounts
G + NGo to Niches

๐Ÿ“Š Data Model

Seed Account

  • Profile info (handle, platform, followers)
  • Content DNA (themes, format, voice, behavior)
  • Business Intelligence (engagement, pinned posts, competitor insights)
  • Linked accounts with relationship tiers

Discovered Account

  • Similarity scoring across 8 dimensions
  • Relationship tier (twin/sibling/cousin/neighbor)
  • Discovery vector and confidence score

Niche

  • Platform distribution
  • Keywords and seasonal peaks
  • Content gaps

๐Ÿ› ๏ธ Tech Stack

  • Framework: Next.js 16 with App Router
  • Language: TypeScript 5
  • Styling: Tailwind CSS 4
  • Animations: Framer Motion
  • Charts: Recharts + D3.js
  • Icons: Lucide React
  • Build: Static Export (output: 'export')

๐Ÿ“ License

MIT License - feel free to use and modify!


Built with โค๏ธ for the Indonesian social media ecosystem ๐Ÿ‡ฎ๐Ÿ‡ฉ

File Utama

  • .gitignore
  • AUDIT_REPORT.md
  • DEPLOY.md
  • DEPLOYMENT_RULES.md
  • README.md
  • eslint.config.mjs
  • next.config.ts
  • package-lock.json