Skip to content

Latest commit

ย 

History

History
297 lines (231 loc) ยท 9.76 KB

File metadata and controls

297 lines (231 loc) ยท 9.76 KB

๐Ÿ”– BookMaven - Bookmark Expert

Let AI understand your online personality and generate exclusive digital identity tags with one click!

BookMaven Next.js TypeScript TailwindCSS

๐ŸŒ Language / ่ฏญ่จ€

๐Ÿ‡จ๐Ÿ‡ณ ไธญๆ–‡ | ๐Ÿ‡บ๐Ÿ‡ธ English

๐Ÿ“ธ Preview / ๆ•ˆๆžœ้ข„่งˆ

BookMaven Preview

๐ŸŽฏ Project Overview

BookMaven is an AI-powered bookmark analysis tool that deeply analyzes your browsing habits and generates a personalized digital personality profile. Simply upload your browser bookmark file, and AI will provide witty, sharp commentary on your online life while creating shareable beautiful cards!

โœจ Core Features

Feature Module Description Highlights
๐Ÿง  AI Smart Analysis Deep analysis of bookmark content and category distribution Powered by Alibaba Cloud DeepSeek-V3 model
๐Ÿท๏ธ Witty Commentary Generate humorous and sharp digital personality reviews Ruthless AI critic with no mercy
๐Ÿ“Š Data Visualization Multi-dimensional bookmark statistics analysis Categories, domains, time distribution, etc.
๐ŸŽจ Exclusive Cards Auto-generate personalized shareable images High-resolution PNG format, one-click download
๐Ÿ” Duplicate Detection Intelligently identify duplicate bookmarks Help clean up redundant content

๐ŸŽช Project Highlights

๐ŸŽญ AI Savage Critic System

  • Extremely Sharp: AI uses the most sarcastic language to review your online habits
  • Humorous Satire: Makes you laugh while being roasted
  • Personalized Nicknames: Generate unique digital identity tags based on bookmark characteristics

๐Ÿ“ˆ Comprehensive Data Analysis

๐Ÿ“š Total Bookmark Count    ๐Ÿ—‚๏ธ Smart Category Organization    ๐ŸŒ Top Website Rankings
๐Ÿ“… Time Distribution Chart    ๐Ÿ”„ Duplicate Content Detection    ๐Ÿ“Š Visual Reports

๐ŸŽจ Beautiful Card Generation

  • ๐Ÿ–ผ๏ธ High-Resolution Images: 3x resolution, perfect for social sharing
  • ๐ŸŽฏ Personalized Design: Gradient backgrounds + exclusive tags
  • ๐Ÿ’พ One-Click Save: Auto-download to local device
  • ๐Ÿ“ฑ Perfect Adaptation: Support various social platform sizes

๐Ÿš€ Quick Start

Requirements

  • Node.js 18.0+
  • npm/yarn/pnpm

Installation Steps

  1. Clone the Project
git clone https://github.com/highertq/bookmaven.git
cd bookmaven
  1. Install Dependencies
npm install
# or
yarn install
# or
pnpm install
  1. Configure API Key Create a .env.local file in the project root:
DASHSCOPE_API_KEY=your_dashscope_api_key_here
  1. Start Development Server
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Access Application Open your browser and visit http://localhost:3000

๐ŸŽฎ How to Use

1๏ธโƒฃ Export Bookmarks

Support mainstream browser bookmark export:

  • Chrome: Bookmark Manager โ†’ Export Bookmarks
  • Firefox: Bookmarks โ†’ Manage Bookmarks โ†’ Export Bookmarks to HTML
  • Edge: Favorites โ†’ Manage Favorites โ†’ Export Favorites
  • Safari: File โ†’ Export โ†’ Bookmarks

2๏ธโƒฃ Upload & Analyze

  • Drag and drop HTML bookmark file to upload area
  • Or click to select file upload
  • System automatically parses bookmark structure

3๏ธโƒฃ Get Commentary

  • AI deeply analyzes your browsing habits
  • Generate sharp and humorous digital personality reviews
  • Get exclusive digital identity nickname

4๏ธโƒฃ Generate Cards

  • One-click generate beautiful personal digital portrait cards
  • High-resolution PNG format, perfect for sharing and collecting
  • Showcase your unique digital personality tags

๐Ÿ—๏ธ Technical Architecture

Frontend Tech Stack

Next.js 15.2.4      - React full-stack framework
TypeScript 5.0      - Type-safe development
TailwindCSS 4.0     - Atomic CSS framework
React Hooks         - State management
React Dropzone      - File drag & drop upload

AI Integration

Alibaba Cloud Bailian Platform    - AI model service
DeepSeek-V3                      - Large language model
OpenAI SDK                       - API call wrapper

Image Generation

html2canvas        - HTML to image conversion
dom-to-image       - Backup image generation
Canvas API         - Image processing

๐Ÿ“ Project Structure

bookmaven/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/                    # Next.js App Router
โ”‚   โ”‚   โ”œโ”€โ”€ api/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ generate-comment/  # AI comment generation API
โ”‚   โ”‚   โ”œโ”€โ”€ layout.tsx          # Root layout
โ”‚   โ”‚   โ”œโ”€โ”€ page.tsx           # Homepage
โ”‚   โ”‚   โ””โ”€โ”€ globals.css        # Global styles
โ”‚   โ”œโ”€โ”€ components/            # React components
โ”‚   โ”‚   โ”œโ”€โ”€ upload-bookmark.tsx      # Bookmark upload
โ”‚   โ”‚   โ”œโ”€โ”€ bookmark-analytics.tsx   # Data analysis
โ”‚   โ”‚   โ”œโ”€โ”€ bookmark-comment.tsx     # AI commentary
โ”‚   โ”‚   โ”œโ”€โ”€ bookmark-grid.tsx        # Bookmark grid
โ”‚   โ”‚   โ”œโ”€โ”€ export-help-dialog.tsx   # Export help
โ”‚   โ”‚   โ””โ”€โ”€ client-wrapper.tsx       # Client wrapper
โ”‚   โ””โ”€โ”€ lib/
โ”‚       โ””โ”€โ”€ bookmark-parser.ts       # Bookmark parser
โ”œโ”€โ”€ public/                    # Static assets
โ”œโ”€โ”€ package.json              # Project configuration
โ””โ”€โ”€ README.md                # Project documentation

๐ŸŽจ Interface Preview

Main Interface

  • ๐ŸŽฏ Clean and elegant homepage design
  • ๐Ÿ“ค Intuitive drag & drop upload experience
  • ๐Ÿ’ก Detailed usage instructions

Analysis Interface

  • ๐Ÿ“Š Multi-dimensional data visualization
  • ๐Ÿท๏ธ Smart category display
  • ๐Ÿ” Duplicate bookmark detection

Commentary Interface

  • ๐Ÿง  AI intelligent analysis results
  • ๐Ÿ’ฌ Sharp and humorous commentary content
  • ๐ŸŽจ Beautiful card generation feature

๐ŸŒŸ Feature Deep Dive

๐Ÿค– AI Savage Commentary System

BookMaven's core highlight is its unique AI savage commentary feature:

  • Deep Analysis: AI analyzes your bookmark categories, website types, collection time, and other dimensions
  • Personality Insights: Infer your personality traits and lifestyle habits based on browsing preferences
  • Sharp Commentary: Use humorous and sarcastic language to point out your online life "pain points"
  • Exclusive Nicknames: Create unique digital identity tags tailored just for you

๐Ÿ“Š Smart Data Analysis

  • Category Statistics: Automatically identify bookmark categories, generate distribution charts
  • Domain Analysis: Count most frequently visited websites, understand your online preferences
  • Timeline: Display bookmark collection time distribution, review your digital journey
  • Duplicate Detection: Intelligently identify duplicate bookmarks, help clean up redundant content

๐ŸŽจ Personalized Card Generation

  • Professional Design: Carefully designed card templates showcasing your digital personality
  • High-Resolution Output: 3x resolution rendering ensuring sharing quality
  • One-Click Save: Auto-download PNG format images to local device
  • Social Optimization: Adapted for various social platform sharing sizes

๐Ÿ”ง Development Guide

Local Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build production version
npm run build

# Start production server
npm start

# Code linting
npm run lint

Environment Configuration

Create .env.local file:

# Alibaba Cloud Bailian API Key
DASHSCOPE_API_KEY=your_api_key_here

# Google Analytics (optional)
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX

API Key Setup

  1. Visit Alibaba Cloud Bailian Platform
  2. Register and create application
  3. Get API key
  4. Configure in environment variables

๐Ÿš€ Deployment Guide

Vercel Deployment (Recommended)

  1. Fork this project to your GitHub
  2. Import project in Vercel
  3. Configure environment variable DASHSCOPE_API_KEY
  4. Click deploy

Other Platforms

  • Netlify: Support static export mode
  • Railway: Support full-stack deployment
  • Docker: Provide Dockerfile configuration

๐Ÿค Contributing

We welcome all forms of contributions!

Ways to Contribute

  • ๐Ÿ› Bug Reports: Submit issues if you find problems
  • ๐Ÿ’ก Feature Suggestions: Welcome to discuss good ideas
  • ๐Ÿ”ง Code Contributions: Submit Pull Requests
  • ๐Ÿ“ Documentation: Improve project documentation

Development Workflow

  1. Fork the project
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push branch (git push origin feature/AmazingFeature)
  5. Create Pull Request

๐Ÿ“„ License

This project is open source under the MIT License. See LICENSE file for details.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Contact Us


๐ŸŒŸ If this project helps you, please give us a Star! ๐ŸŒŸ

Made with โค๏ธ by BookMaven Team