Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Add bio generation tools and enhance related tools section

Bill Yang59364cd5062a
diff --git a/docs/src/app/(home)/tools/(font-generators)/[slug]/page.tsx b/docs/src/app/(home)/tools/(font-generators)/[slug]/page.tsx
index 97a8871a6..5137348e5 100644
--- a/docs/src/app/(home)/tools/(font-generators)/[slug]/page.tsx
+++ b/docs/src/app/(home)/tools/(font-generators)/[slug]/page.tsx
@@ -6,6 +6,7 @@ import PostGenerator from "../../components/PostGenerator";
import UsernameGenerator from "../../components/UsernameGenerator";
import { HashtagGenerator } from "../../components/HashtagGenerator";
import { CharacterCounter } from "../../components/CharacterCounter";
+import { BioGenerator } from "../../components/BioGenerator";
import { platformConfigs, platformList } from "../../components/platform-configs";
import {
commentPlatformConfigs,
@@ -31,6 +32,10 @@ import {
characterCounterPlatformConfigs,
characterCounterPlatformList,
} from "../../components/character-counter-platform-configs";
+import {
+ bioGeneratorPlatformConfigs,
+ bioGeneratorPlatformList,
+} from "../../components/bio-generator-platform-configs";
import type { Metadata } from "next";
import { notFound } from "next/navigation";
@@ -70,6 +75,10 @@ export async function generateStaticParams() {
slug: `${platform.id}-character-counter`,
}));
+ const bioGenerators = bioGeneratorPlatformList.map((platform) => ({
+ slug: `${platform.id}-bio-generator`,
+ }));
+
return [
...fontGenerators,
...commentGenerators,
@@ -78,6 +87,7 @@ export async function generateStaticParams() {
...usernameGenerators,
...hashtagGenerators,
...characterCounters,
+ ...bioGenerators,
];
}
@@ -87,6 +97,36 @@ export async function generateMetadata({
}: PageProps): Promise<Metadata> {
const { slug } = await params;
+ // Check if it's a bio generator
+ if (slug.endsWith("-bio-generator")) {
+ const platformId = slug.replace("-bio-generator", "");
+ const platform = bioGeneratorPlatformConfigs[platformId];
+
+ if (!platform) {
+ return { title: "Bio Generator Not Found" };
+ }
+
+ return {
+ title: `${platform.displayName} | AI-Powered ${platform.name} ${platform.bioType}`,
+ description: platform.description,
+ openGraph: {
+ title: platform.displayName,
+ description: platform.description,
+ type: "website",
+ url: `https://rybbit.com/tools/${platform.id}-bio-generator`,
+ siteName: "Rybbit Documentation",
+ },
+ twitter: {
+ card: "summary_large_image",
+ title: platform.displayName,
+ description: platform.description,
+ },
+ alternates: {
+ canonical: `https://rybbit.com/tools/${platform.id}-bio-generator`,
+ },
+ };
+ }
+
// Check if it's a character counter
if (slug.endsWith("-character-counter")) {
const platformId = slug.replace("-character-counter", "");
@@ -301,6 +341,192 @@ export async function generateMetadata({
export default async function PlatformToolPage({ params }: PageProps) {
const { slug } = await params;
+ // Check if it's a bio generator
+ if (slug.endsWith("-bio-generator")) {
+ const platformId = slug.replace("-bio-generator", "");
+ const platform = bioGeneratorPlatformConfigs[platformId];
+
+ // Handle invalid platform
+ if (!platform) {
+ notFound();
+ }
+
+ const structuredData = {
+ "@context": "https://schema.org",
+ "@type": "WebApplication",
+ name: platform.displayName,
+ description: platform.description,
+ url: `https://rybbit.com/tools/${platform.id}-bio-generator`,
+ applicationCategory: "Utility",
+ offers: {
+ "@type": "Offer",
+ price: "0",
+ priceCurrency: "USD",
+ },
+ author: {
+ "@type": "Organization",
+ name: "Rybbit",
+ url: "https://rybbit.com",
+ },
+ };
+
+ const educationalContent = (
+ <>
+ <h2 className="text-2xl font-bold text-neutral-900 dark:text-white mb-4">
+ About {platform.name} {platform.bioType}s
+ </h2>
+ <p className="text-neutral-700 dark:text-neutral-300 leading-relaxed mb-6">
+ {platform.educationalContent}
+ </p>
+
+ <h3 className="text-xl font-semibold text-neutral-900 dark:text-white mb-3">
+ How to Use This Tool
+ </h3>
+ <ol className="space-y-2 text-neutral-700 dark:text-neutral-300 mb-6">
+ <li>
+ <strong>Enter your name or brand</strong> - What should the bio be
+ about?
+ </li>
+ <li>
+ <strong>Add your profession or role</strong> - What do you do?
+ </li>
+ <li>
+ <strong>Include interests (optional)</strong> - What are you
+ passionate about?
+ </li>
+ <li>
+ <strong>Select your tone</strong> - Choose from{" "}
+ {platform.tones.length} tone options
+ </li>
+ <li>
+ <strong>Click "Generate {platform.bioType}"</strong> to get 3
+ unique variations
+ </li>
+ <li>
+ <strong>Copy and customize</strong> your favorite bio for{" "}
+ {platform.name}
+ </li>
+ </ol>
+
+ <h3 className="text-xl font-semibold text-neutral-900 dark:text-white mb-3">
+ Available Tones
+ </h3>
+ <ul className="grid grid-cols-2 gap-2 text-sm text-neutral-700 dark:text-neutral-300 mb-6">
+ {platform.tones.map((tone) => (
+ <li key={tone} className="flex items-center gap-2">
+ <span className="w-1.5 h-1.5 rounded-full bg-emerald-500" />
+ {tone}
+ </li>
+ ))}
+ </ul>
+
+ <h3 className="text-xl font-semibold text-neutral-900 dark:text-white mb-3">
+ Bio Best Practices for {platform.name}
+ </h3>
+ <ul className="space-y-2 text-neutral-700 dark:text-neutral-300 mb-6">
+ <li>
+ <strong>Be authentic:</strong> Let your personality shine through
+ </li>
+ <li>
+ <strong>Front-load important info:</strong> Put key information at
+ the beginning
+ </li>
+ <li>
+ <strong>Include a call-to-action:</strong> Tell people what to do
+ next
+ </li>
+ <li>
+ <strong>Use keywords:</strong> Include relevant terms for
+ discoverability
+ </li>
+ <li>
+ <strong>Stay within the limit:</strong> Keep it under{" "}
+ {platform.characterLimit} characters
+ </li>
+ <li>
+ <strong>Update regularly:</strong> Keep your bio current with your
+ focus
+ </li>
+ </ul>
+
+ <div className="bg-emerald-50 dark:bg-emerald-900/20 border border-emerald-200 dark:border-emerald-800 rounded-lg p-4 mb-6">
+ <h4 className="font-semibold text-emerald-900 dark:text-emerald-100 mb-2">
+ Character Limit
+ </h4>
+ <p className="text-sm text-emerald-800 dark:text-emerald-200">
+ {platform.name} {platform.bioType}s have a maximum of{" "}
+ {platform.characterLimit} characters. Make every character count!
+ </p>
+ </div>
+
+ <p className="text-sm text-neutral-600 dark:text-neutral-400 mt-6">
+ <strong>Note:</strong> While this tool generates high-quality bios,
+ always personalize them to match your authentic voice and current
+ focus. The best bios are genuine and reflect who you really are.
+ </p>
+ </>
+ );
+
+ const faqs = [
+ {
+ question: `How does the ${platform.name} bio generator work?`,
+ answer: `This tool uses AI to create compelling ${platform.bioType}s based on your name, profession, interests, and chosen tone. It considers ${platform.name}'s ${platform.characterLimit}-character limit and platform culture to generate bios that resonate with your target audience.`,
+ },
+ {
+ question: "What tones are available?",
+ answer: `You can choose from ${platform.tones.length} tones: ${platform.tones.join(", ")}. Each tone is optimized for ${platform.name} and creates a different impression to match your personal brand.`,
+ },
+ {
+ question: "Should I edit the generated bios?",
+ answer:
+ "Yes! Generated bios are starting points. Customize them with specific details, achievements, or personality quirks that make you unique. The best bios combine AI efficiency with your authentic voice.",
+ },
+ {
+ question: "How many bios can I generate?",
+ answer:
+ "The tool generates 3 unique bio variations per request. You're limited to 5 requests per minute. If you need more options, try adjusting your inputs or tone selection.",
+ },
+ {
+ question: `What makes a good ${platform.name} bio?`,
+ answer: `A great ${platform.name} ${platform.bioType} is authentic, clear, and engaging. It quickly communicates who you are, what you do, and why people should follow or connect with you. ${platform.contextGuidelines}`,
+ },
+ {
+ question: "How can Rybbit help me grow on social media?",
+ answer: (
+ <>
+ Once you have a great bio, Rybbit helps you track engagement,
+ clicks, and growth on {platform.name}. Understand what content
+ resonates with your audience and optimize your strategy.{" "}
+ <a
+ href="https://rybbit.com"
+ className="text-emerald-600 hover:text-emerald-500 underline"
+ >
+ Start tracking for free
+ </a>
+ .
+ </>
+ ),
+ },
+ ];
+
+ return (
+ <ToolPageLayout
+ toolSlug={`${platform.id}-bio-generator`}
+ title={platform.displayName}
+ description={platform.description}
+ badge="AI-Powered Tool"
+ toolComponent={<BioGenerator platform={platform} />}
+ educationalContent={educationalContent}
+ faqs={faqs}
+ relatedToolsCategory="social-media"
+ ctaTitle={`Build your ${platform.name} presence with Rybbit`}
+ ctaDescription={`Track your growth and engagement on ${platform.name} to optimize your content strategy.`}
+ ctaEventLocation={`${platform.id}_bio_generator_cta`}
+ structuredData={structuredData}
+ />
+ );
+ }
+
// Check if it's a character counter
if (slug.endsWith("-character-counter")) {
const platformId = slug.replace("-character-counter", "");
diff --git a/docs/src/app/(home)/tools/components/BioGenerator.tsx b/docs/src/app/(home)/tools/components/BioGenerator.tsx
new file mode 100644
index 000000000..1a8e3de6c
--- /dev/null
+++ b/docs/src/app/(home)/tools/components/BioGenerator.tsx
@@ -0,0 +1,277 @@
+"use client";
+
+import { useState } from "react";
+import { User, Copy, Check, AlertCircle, Loader2 } from "lucide-react";
+import type { BioGeneratorPlatformConfig } from "./bio-generator-platform-configs";
+
+interface BioGeneratorProps {
+ platform: BioGeneratorPlatformConfig;
+}
+
+export function BioGenerator({ platform }: BioGeneratorProps) {
+ const [name, setName] = useState("");
+ const [profession, setProfession] = useState("");
+ const [interests, setInterests] = useState("");
+ const [tone, setTone] = useState(platform.tones[0]);
+ const [bios, setBios] = useState<string[]>([]);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState("");
+ const [copiedIndex, setCopiedIndex] = useState<number | null>(null);
+ const [rateLimit, setRateLimit] = useState<{
+ limit: number;
+ remaining: number;
+ reset: string;
+ } | null>(null);
+
+ const handleGenerate = async () => {
+ if (!name.trim() && !profession.trim()) {
+ setError("Please provide at least your name or profession");
+ return;
+ }
+
+ setLoading(true);
+ setError("");
+ setBios([]);
+
+ try {
+ const response = await fetch("/api/tools/generate-bio", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ name: name.trim() || undefined,
+ profession: profession.trim() || undefined,
+ interests: interests.trim() || undefined,
+ tone,
+ platform: platform.id,
+ characterLimit: platform.characterLimit,
+ }),
+ });
+
+ // Extract rate limit headers
+ const limit = response.headers.get("X-RateLimit-Limit");
+ const remaining = response.headers.get("X-RateLimit-Remaining");
+ const reset = response.headers.get("X-RateLimit-Reset");
+
+ if (limit && remaining && reset) {
+ setRateLimit({
+ limit: parseInt(limit),
+ remaining: parseInt(remaining),
+ reset,
+ });
+ }
+
+ const data = await response.json();
+
+ if (!response.ok) {
+ throw new Error(data.error || "Failed to generate bios");
+ }
+
+ setBios(data.bios);
+ } catch (err) {
+ setError(err instanceof Error ? err.message : "An error occurred");
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const copyBio = async (bio: string, index: number) => {
+ try {
+ await navigator.clipboard.writeText(bio);
+ setCopiedIndex(index);
+ setTimeout(() => setCopiedIndex(null), 2000);
+ } catch (err) {
+ console.error("Failed to copy:", err);
+ }
+ };
+
+ return (
+ <div className="w-full max-w-4xl mx-auto">
+ {/* Context Guidelines */}
+ <div className="mb-8 p-6 bg-emerald-50/50 dark:bg-emerald-950/20 border border-emerald-200 dark:border-emerald-800 rounded-xl">
+ <div className="flex items-start gap-3">
+ <User className="w-5 h-5 text-emerald-600 dark:text-emerald-400 mt-0.5 flex-shrink-0" />
+ <div>
+ <h3 className="font-semibold text-neutral-900 dark:text-white mb-2">
+ {platform.name} {platform.bioType} Guidelines
+ </h3>
+ <p className="text-sm text-neutral-600 dark:text-neutral-300">
+ {platform.contextGuidelines}
+ </p>
+ </div>
+ </div>
+ </div>
+
+ {/* Generator Form */}
+ <div className="space-y-6 mb-8">
+ {/* Name Input */}
+ <div>
+ <label className="block text-sm font-medium text-neutral-700 dark:text-neutral-200 mb-2">
+ Name or Brand *
+ </label>
+ <input
+ type="text"
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="Your name or brand name"
+ className="w-full px-4 py-3 bg-white dark:bg-neutral-900 border border-neutral-300 dark:border-neutral-700 rounded-lg focus:ring-2 focus:ring-emerald-500 dark:focus:ring-emerald-400 focus:border-transparent text-neutral-900 dark:text-white placeholder-neutral-400 dark:placeholder-neutral-500"
+ />
+ </div>
+
+ {/* Profession Input */}
+ <div>
+ <label className="block text-sm font-medium text-neutral-700 dark:text-neutral-200 mb-2">
+ Profession or Role
+ </label>
+ <input
+ type="text"
+ value={profession}
+ onChange={(e) => setProfession(e.target.value)}
+ placeholder="e.g., Software Engineer, Content Creator, Artist"
+ className="w-full px-4 py-3 bg-white dark:bg-neutral-900 border border-neutral-300 dark:border-neutral-700 rounded-lg focus:ring-2 focus:ring-emerald-500 dark:focus:ring-emerald-400 focus:border-transparent text-neutral-900 dark:text-white placeholder-neutral-400 dark:placeholder-neutral-500"
+ />
+ </div>
+
+ {/* Interests Input */}
+ <div>
+ <label className="block text-sm font-medium text-neutral-700 dark:text-neutral-200 mb-2">
+ Interests or Focus Areas (Optional)
+ </label>
+ <input
+ type="text"
+ value={interests}
+ onChange={(e) => setInterests(e.target.value)}
+ placeholder="e.g., AI, fitness, travel, photography"
+ className="w-full px-4 py-3 bg-white dark:bg-neutral-900 border border-neutral-300 dark:border-neutral-700 rounded-lg focus:ring-2 focus:ring-emerald-500 dark:focus:ring-emerald-400 focus:border-transparent text-neutral-900 dark:text-white placeholder-neutral-400 dark:placeholder-neutral-500"
+ />
+ </div>
+
+ {/* Tone Selector */}
+ <div>
+ <label className="block text-sm font-medium text-neutral-700 dark:text-neutral-200 mb-2">
+ Tone
+ </label>
+ <select
+ value={tone}
+ onChange={(e) => setTone(e.target.value)}
+ className="w-full px-4 py-3 bg-white dark:bg-neutral-900 border border-neutral-300 dark:border-neutral-700 rounded-lg focus:ring-2 focus:ring-emerald-500 dark:focus:ring-emerald-400 focus:border-transparent text-neutral-900 dark:text-white"
+ >
+ {platform.tones.map((t) => (
+ <option key={t} value={t}>
+ {t}
+ </option>
+ ))}
+ </select>
+ </div>
+
+ {/* Generate Button */}
+ <button
+ onClick={handleGenerate}
+ disabled={loading || (!name.trim() && !profession.trim())}
+ className="w-full px-6 py-3 bg-emerald-600 hover:bg-emerald-700 disabled:bg-neutral-300 dark:disabled:bg-neutral-700 text-white font-medium rounded-lg transition-colors duration-200 flex items-center justify-center gap-2"
+ >
+ {loading ? (
+ <>
+ <Loader2 className="w-5 h-5 animate-spin" />
+ Generating...
+ </>
+ ) : (
+ <>
+ <User className="w-5 h-5" />
+ Generate {platform.bioType}
+ </>
+ )}
+ </button>
+ </div>
+
+ {/* Rate Limit Info */}
+ {rateLimit && (
+ <div className="mb-6 p-4 bg-neutral-50 dark:bg-neutral-900/50 border border-neutral-200 dark:border-neutral-800 rounded-lg">
+ <p className="text-sm text-neutral-600 dark:text-neutral-400">
+ Rate limit: {rateLimit.remaining} of {rateLimit.limit} requests remaining
+ </p>
+ </div>
+ )}
+
+ {/* Error Message */}
+ {error && (
+ <div className="mb-6 p-4 bg-red-50 dark:bg-red-950/20 border border-red-200 dark:border-red-800 rounded-lg flex items-start gap-3">
+ <AlertCircle className="w-5 h-5 text-red-600 dark:text-red-400 mt-0.5 flex-shrink-0" />
+ <p className="text-sm text-red-600 dark:text-red-400">{error}</p>
+ </div>
+ )}
+
+ {/* Generated Bios */}
+ {bios.length > 0 && (
+ <div className="space-y-4">
+ <h3 className="text-lg font-semibold text-neutral-900 dark:text-white mb-4">
+ Generated {platform.bioType}s
+ </h3>
+
+ {bios.map((bio, index) => {
+ const isOverLimit = bio.length > platform.characterLimit;
+ const charsRemaining = platform.characterLimit - bio.length;
+
+ return (
+ <div
+ key={index}
+ className="p-4 bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 rounded-lg"
+ >
+ <div className="flex items-start justify-between gap-4 mb-3">
+ <p className="text-sm font-medium text-neutral-500 dark:text-neutral-400">
+ Option {index + 1}
+ </p>
+ <button
+ onClick={() => copyBio(bio, index)}
+ disabled={isOverLimit}
+ className="px-3 py-1.5 text-xs bg-neutral-100 dark:bg-neutral-800 hover:bg-neutral-200 dark:hover:bg-neutral-700 text-neutral-700 dark:text-neutral-200 rounded-md transition-colors duration-200 flex items-center gap-2 flex-shrink-0 disabled:opacity-50 disabled:cursor-not-allowed"
+ >
+ {copiedIndex === index ? (
+ <>
+ <Check className="w-3.5 h-3.5 text-emerald-600 dark:text-emerald-400" />
+ Copied!
+ </>
+ ) : (
+ <>
+ <Copy className="w-3.5 h-3.5" />
+ Copy
+ </>
+ )}
+ </button>
+ </div>
+
+ <p className="text-neutral-900 dark:text-white mb-3 leading-relaxed">
+ {bio}
+ </p>
+
+ <div className="flex items-center justify-between text-xs">
+ <span
+ className={`font-medium ${
+ isOverLimit
+ ? "text-red-600 dark:text-red-400"
+ : charsRemaining < 20
+ ? "text-orange-600 dark:text-orange-400"
+ : "text-neutral-500 dark:text-neutral-400"
+ }`}
+ >
+ {bio.length} / {platform.characterLimit} characters
+ </span>
+ {isOverLimit && (
+ <span className="text-red-600 dark:text-red-400 flex items-center gap-1">
+ <AlertCircle className="w-3.5 h-3.5" />
+ {Math.abs(charsRemaining)} over limit
+ </span>
+ )}
+ {!isOverLimit && charsRemaining < 20 && (
+ <span className="text-orange-600 dark:text-orange-400">
+ {charsRemaining} remaining
+ </span>
+ )}
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ )}
+ </div>
+ );
+}
diff --git a/docs/src/app/(home)/tools/components/bio-generator-platform-configs.ts b/docs/src/app/(home)/tools/components/bio-generator-platform-configs.ts
new file mode 100644
index 000000000..a3c29f337
--- /dev/null
+++ b/docs/src/app/(home)/tools/components/bio-generator-platform-configs.ts
@@ -0,0 +1,407 @@
+export interface BioGeneratorPlatformConfig {
+ id: string;
+ name: string;
+ displayName: string;
+ description: string;
+ simpleIconSlug: string;
+ colorHex: string;
+ characterLimit: number;
+ bioType: string; // "bio", "about", "description", etc.
+ educationalContent: string;
+ contextGuidelines: string;
+ tones: string[];
+}
+
+export const bioGeneratorPlatformConfigs: Record<
+ string,
+ BioGeneratorPlatformConfig
+> = {
+ instagram: {
+ id: "instagram",
+ name: "Instagram",
+ displayName: "Instagram Bio Generator",
+ description:
+ "Generate compelling Instagram bios with AI. Create bios within the 150-character limit that showcase your personality and drive engagement.",
+ simpleIconSlug: "instagram",
+ colorHex: "#E4405F",
+ characterLimit: 150,
+ bioType: "bio",
+ contextGuidelines:
+ "Instagram bios are limited to 150 characters. Make every character count with a clear value proposition, personality, and call-to-action. Use line breaks and emojis strategically.",
+ educationalContent: `Instagram bios have a strict 150-character limit, making them one of the most constrained bio formats. Your bio is prime real estate that appears at the top of your profile and in search results.
+
+Effective Instagram bios quickly communicate who you are, what you do, and why people should follow you. The best bios use emojis for visual breaks, line breaks for readability, and include a clear call-to-action. Many successful accounts use their bio to establish credibility, showcase personality, and direct traffic to their link.`,
+ tones: [
+ "Professional",
+ "Casual & Friendly",
+ "Witty & Humorous",
+ "Creative & Artistic",
+ "Minimalist",
+ "Bold & Confident",
+ ],
+ },
+ x: {
+ id: "x",
+ name: "X (Twitter)",
+ displayName: "X (Twitter) Bio Generator",
+ description:
+ "Generate impactful X (Twitter) bios with AI. Craft bios within the 160-character limit that make a strong first impression.",
+ simpleIconSlug: "x",
+ colorHex: "#000000",
+ characterLimit: 160,
+ bioType: "bio",
+ contextGuidelines:
+ "X bios are limited to 160 characters. Focus on your expertise, interests, or unique perspective. Many users include their location, profession, and a touch of personality.",
+ educationalContent: `X (Twitter) bios have a 160-character limit—just 10 more characters than Instagram. Your bio appears on your profile and in search results, making it crucial for first impressions.
+
+Great X bios balance professionalism with personality. They often include your profession or expertise, key interests, and sometimes a hint of humor or unique perspective. Location can be important for local networking. The best bios make it clear why someone should follow you and what value you provide.`,
+ tones: [
+ "Professional",
+ "Casual & Friendly",
+ "Witty & Humorous",
+ "Thought Leader",
+ "Minimalist",
+ "Bold & Confident",
+ ],
+ },
+ tiktok: {
+ id: "tiktok",
+ name: "TikTok",
+ displayName: "TikTok Bio Generator",
+ description:
+ "Generate engaging TikTok bios with AI. Create bios within the 80-character limit that capture attention and drive follows.",
+ simpleIconSlug: "tiktok",
+ colorHex: "#000000",
+ characterLimit: 80,
+ bioType: "bio",
+ contextGuidelines:
+ "TikTok bios are extremely limited at just 80 characters. Be concise and catchy. Focus on your content niche and use emojis to save space while adding personality.",
+ educationalContent: `TikTok has the most restrictive bio limit at just 80 characters. This extreme constraint forces you to be incredibly concise while still capturing attention and communicating your value.
+
+Effective TikTok bios often use emojis to replace words, focus on a clear content niche, and include just enough personality to intrigue visitors. Since TikTok is all about the content, your bio should quickly tell viewers what kind of videos to expect. The best bios are memorable, on-brand, and leave viewers wanting to see your content.`,
+ tones: [
+ "Fun & Playful",
+ "Trendy & Cool",
+ "Creative",
+ "Inspirational",
+ "Minimalist",
+ "Bold & Confident",
+ ],
+ },
+ linkedin: {
+ id: "linkedin",
+ name: "LinkedIn",
+ displayName: "LinkedIn Bio Generator",
+ description:
+ "Generate professional LinkedIn bios (About section) with AI. Create compelling professional narratives that showcase your expertise and career story.",
+ simpleIconSlug: "linkedin",
+ colorHex: "#0A66C2",
+ characterLimit: 2600,
+ bioType: "About section",
+ contextGuidelines:
+ "LinkedIn About sections can be up to 2,600 characters. Use this space to tell your professional story, highlight achievements, showcase expertise, and include keywords for searchability. Only the first 300 characters are visible before 'see more.'",
+ educationalContent: `LinkedIn's About section allows up to 2,600 characters, giving you room to tell your full professional story. However, only the first 300 characters appear before the "see more" button, so front-load key information.
+
+Great LinkedIn About sections balance professional achievements with personality. They often include your current role, expertise, career highlights, what drives you, and a call-to-action. The best bios use storytelling to make you memorable, include keywords for search optimization, and speak directly to your target audience (recruiters, clients, or collaborators).`,
+ tones: [
+ "Professional & Polished",
+ "Approachable Professional",
+ "Thought Leader",
+ "Achievement-Focused",
+ "Storytelling",
+ "Passionate & Driven",
+ ],
+ },
+ threads: {
+ id: "threads",
+ name: "Threads",
+ displayName: "Threads Bio Generator",
+ description:
+ "Generate conversational Threads bios with AI. Create bios within the 150-character limit that invite connection and discussion.",
+ simpleIconSlug: "threads",
+ colorHex: "#000000",
+ characterLimit: 150,
+ bioType: "bio",
+ contextGuidelines:
+ "Threads bios are limited to 150 characters, same as Instagram. Focus on being conversational and authentic. Threads culture values genuine connection over polished branding.",
+ educationalContent: `Threads bios have a 150-character limit, matching Instagram. As Meta's text-first platform, Threads emphasizes conversation and authentic connection over visual branding.
+
+Effective Threads bios are conversational, genuine, and often more casual than other platforms. They focus on interests, perspectives, or what you like to discuss rather than selling or promoting. The best bios invite connection and make it clear what kind of conversations you're interested in having.`,
+ tones: [
+ "Casual & Friendly",
+ "Conversational",
+ "Witty & Humorous",
+ "Thoughtful",
+ "Minimalist",
+ "Authentic",
+ ],
+ },
+ youtube: {
+ id: "youtube",
+ name: "YouTube",
+ displayName: "YouTube Channel Description Generator",
+ description:
+ "Generate compelling YouTube channel descriptions with AI. Create descriptions within the 1,000-character limit that attract subscribers.",
+ simpleIconSlug: "youtube",
+ colorHex: "#FF0000",
+ characterLimit: 1000,
+ bioType: "channel description",
+ contextGuidelines:
+ "YouTube channel descriptions can be up to 1,000 characters. Describe your content, upload schedule, and what viewers can expect. Include keywords for search optimization and links to social media.",
+ educationalContent: `YouTube channel descriptions have a 1,000-character limit and play a crucial role in channel discovery. Your description appears on your channel page and helps YouTube understand what your content is about.
+
+Great YouTube channel descriptions clearly explain what your channel is about, what viewers will learn or gain, and how often you upload. They include relevant keywords for search optimization, showcase your unique perspective, and often list social media links. The best descriptions balance SEO with personality, making it clear why someone should subscribe.`,
+ tones: [
+ "Professional",
+ "Enthusiastic & Engaging",
+ "Educational",
+ "Entertaining",
+ "Inspiring",
+ "Authentic",
+ ],
+ },
+ pinterest: {
+ id: "pinterest",
+ name: "Pinterest",
+ displayName: "Pinterest Bio Generator",
+ description:
+ "Generate Pinterest profile bios with AI. Create bios within the 160-character limit that showcase your interests and drive engagement.",
+ simpleIconSlug: "pinterest",
+ colorHex: "#E60023",
+ characterLimit: 160,
+ bioType: "bio",
+ contextGuidelines:
+ "Pinterest bios are limited to 160 characters. Focus on your interests, what you pin about, and who you help. Include keywords that match what people search for on Pinterest.",
+ educationalContent: `Pinterest bios have a 160-character limit and should focus on what you create, curate, or inspire. Pinterest is a visual search engine, so your bio should include keywords people search for.
+
+Effective Pinterest bios describe your niche, what people can expect from your pins, and who you help. They often include interests, creative focus, or expertise areas. The best bios make it clear what value you provide and use keywords that match Pinterest search behavior.`,
+ tones: [
+ "Inspiring",
+ "Creative & Artistic",
+ "Helpful & Informative",
+ "Passionate",
+ "Minimalist",
+ "Friendly",
+ ],
+ },
+ github: {
+ id: "github",
+ name: "GitHub",
+ displayName: "GitHub Bio Generator",
+ description:
+ "Generate professional GitHub bios with AI. Create bios within the 160-character limit that showcase your technical expertise.",
+ simpleIconSlug: "github",
+ colorHex: "#181717",
+ characterLimit: 160,
+ bioType: "bio",
+ contextGuidelines:
+ "GitHub bios are limited to 160 characters. Focus on your tech stack, areas of expertise, current projects, or what you're learning. Keep it professional but show personality.",
+ educationalContent: `GitHub bios have a 160-character limit and appear prominently on your profile. They're your chance to make a first impression on potential collaborators, employers, or contributors.
+
+Great GitHub bios clearly communicate your technical expertise, current focus, or what you're building. They often include tech stacks, roles (developer, maintainer, etc.), and areas of interest. The best bios balance technical credibility with approachability, making it clear what you work on and inviting collaboration.`,
+ tones: [
+ "Professional",
+ "Technical & Precise",
+ "Collaborative",
+ "Passionate Developer",
+ "Minimalist",
+ "Innovative",
+ ],
+ },
+ twitch: {
+ id: "twitch",
+ name: "Twitch",
+ displayName: "Twitch Bio Generator",
+ description:
+ "Generate engaging Twitch bios with AI. Create bios within the 300-character limit that connect with your community.",
+ simpleIconSlug: "twitch",
+ colorHex: "#9146FF",
+ characterLimit: 300,
+ bioType: "bio",
+ contextGuidelines:
+ "Twitch bios can be up to 300 characters. Describe your streaming content, schedule, and community vibe. Be welcoming and let your personality shine through.",
+ educationalContent: `Twitch bios have a 300-character limit and appear on your channel page. They help viewers understand what to expect from your streams and whether they'll fit into your community.
+
+Effective Twitch bios describe what games or content you stream, your streaming schedule, and the vibe of your community. They're often friendly and welcoming, showcasing personality while setting expectations. The best bios make viewers feel invited to join your community and give them a reason to follow.`,
+ tones: [
+ "Friendly & Welcoming",
+ "Energetic & Hype",
+ "Chill & Relaxed",
+ "Funny & Entertaining",
+ "Community-Focused",
+ "Passionate Gamer",
+ ],
+ },
+ medium: {
+ id: "medium",
+ name: "Medium",
+ displayName: "Medium Bio Generator",
+ description:
+ "Generate compelling Medium bios with AI. Create short bios within the 160-character limit that establish your writing credibility.",
+ simpleIconSlug: "medium",
+ colorHex: "#000000",
+ characterLimit: 160,
+ bioType: "short bio",
+ contextGuidelines:
+ "Medium short bios are limited to 160 characters. Focus on your writing niche, expertise, or perspective. Establish credibility and give readers a reason to follow you.",
+ educationalContent: `Medium short bios have a 160-character limit and appear below your name on your profile and articles. They establish your credibility and help readers decide whether to follow you.
+
+Great Medium bios communicate your writing focus, expertise, or unique perspective. They often include professional credentials, topics you write about, or what drives your writing. The best bios make readers trust your insights and want to read more of your work.`,
+ tones: [
+ "Professional & Authoritative",
+ "Thoughtful Writer",
+ "Conversational",
+ "Expert & Credible",
+ "Minimalist",
+ "Passionate",
+ ],
+ },
+ substack: {
+ id: "substack",
+ name: "Substack",
+ displayName: "Substack Bio Generator",
+ description:
+ "Generate compelling Substack bios with AI. Create author bios that build trust and convince readers to subscribe to your newsletter.",
+ simpleIconSlug: "substack",
+ colorHex: "#FF6719",
+ characterLimit: 200,
+ bioType: "author bio",
+ contextGuidelines:
+ "Substack author bios should be concise (aim for ~200 characters for short bio). Establish credibility, explain your newsletter's value, and give readers a reason to subscribe.",
+ educationalContent: `Substack bios establish your authority and help convince readers to subscribe to your newsletter. They appear on your publication page and in email previews.
+
+Effective Substack bios balance credentials with personality. They communicate what you write about, why you're qualified to write it, and what value subscribers will get. The best bios build trust quickly, showcase expertise, and make the subscription decision easy by clearly communicating the newsletter's value.`,
+ tones: [
+ "Professional & Credible",
+ "Authoritative",
+ "Conversational & Personal",
+ "Expert Storyteller",
+ "Insightful",
+ "Passionate",
+ ],
+ },
+ mastodon: {
+ id: "mastodon",
+ name: "Mastodon",
+ displayName: "Mastodon Bio Generator",
+ description:
+ "Generate thoughtful Mastodon bios with AI. Create bios within the 500-character limit that reflect your interests and values.",
+ simpleIconSlug: "mastodon",
+ colorHex: "#6364FF",
+ characterLimit: 500,
+ bioType: "bio",
+ contextGuidelines:
+ "Mastodon bios can be up to 500 characters (varies by instance). Focus on interests, values, and what you toot about. Mastodon culture values authenticity and thoughtful discourse.",
+ educationalContent: `Mastodon bios can be up to 500 characters on most instances, giving you more room than Twitter-like platforms. Mastodon's decentralized, community-focused culture values thoughtfulness over promotion.
+
+Great Mastodon bios share interests, values, and perspectives rather than selling or promoting. They often include pronouns, accessibility info, and topics of discussion. The best bios are authentic, thoughtful, and invite meaningful connection with like-minded people in the fediverse.`,
+ tones: [
+ "Thoughtful & Authentic",
+ "Friendly & Welcoming",
+ "Activist & Value-Driven",
+ "Curious & Open",
+ "Minimalist",
+ "Conversational",
+ ],
+ },
+ bluesky: {
+ id: "bluesky",
+ name: "Bluesky",
+ displayName: "Bluesky Bio Generator",
+ description:
+ "Generate engaging Bluesky bios with AI. Create bios within the 256-character limit that invite connection in the decentralized social space.",
+ simpleIconSlug: "bluesky",
+ colorHex: "#1185FE",
+ characterLimit: 256,
+ bioType: "bio",
+ contextGuidelines:
+ "Bluesky bios are limited to 256 characters. Focus on your interests, what you post about, and your perspective. Bluesky users value authentic conversation and community.",
+ educationalContent: `Bluesky bios have a 256-character limit, offering more space than Twitter/X but less than Threads. As a decentralized protocol, Bluesky attracts users who value user control and authentic conversation.
+
+Effective Bluesky bios communicate interests, perspectives, and what you like to discuss. They balance personality with clarity, helping people decide if they want to follow you. The best bios invite connection and make it clear what kind of content and conversations you bring to the platform.`,
+ tones: [
+ "Casual & Authentic",
+ "Thoughtful",
+ "Witty & Clever",
+ "Friendly",
+ "Minimalist",
+ "Conversational",
+ ],
+ },
+ discord: {
+ id: "discord",
+ name: "Discord",
+ displayName: "Discord Bio Generator",
+ description:
+ "Generate Discord About Me bios with AI. Create bios within the 190-character limit that help you connect with communities.",
+ simpleIconSlug: "discord",
+ colorHex: "#5865F2",
+ characterLimit: 190,
+ bioType: "About Me",
+ contextGuidelines:
+ "Discord About Me sections are limited to 190 characters. Share your interests, gaming preferences, or what communities you're part of. Keep it friendly and approachable.",
+ educationalContent: `Discord About Me sections have a 190-character limit and appear on your profile when people click your username. They help community members get to know you better.
+
+Great Discord bios share interests, hobbies, gaming preferences, or fun facts about yourself. They're often casual and friendly, matching Discord's community-focused culture. The best bios help you connect with like-minded people in servers and make it easy to start conversations.`,
+ tones: [
+ "Friendly & Casual",
+ "Fun & Playful",
+ "Gaming-Focused",
+ "Community-Oriented",
+ "Minimalist",
+ "Witty",
+ ],
+ },
+ reddit: {
+ id: "reddit",
+ name: "Reddit",
+ displayName: "Reddit Bio Generator",
+ description:
+ "Generate Reddit profile bios with AI. Create bios within the 200-character limit that showcase your interests and Reddit personality.",
+ simpleIconSlug: "reddit",
+ colorHex: "#FF4500",
+ characterLimit: 200,
+ bioType: "bio",
+ contextGuidelines:
+ "Reddit bios are limited to 200 characters. Share interests, favorite subreddits, or what you contribute to discussions. Reddit values authenticity and helpful contributions.",
+ educationalContent: `Reddit bios have a 200-character limit and appear on your profile page. While Reddit is more about content than profiles, your bio helps people understand your interests and perspective.
+
+Effective Reddit bios share interests, expertise areas, or what communities you participate in. They're often low-key and authentic, matching Reddit's culture of valuing substance over self-promotion. The best bios help establish credibility in your communities and give context to your contributions.`,
+ tones: [
+ "Casual & Authentic",
+ "Helpful & Knowledgeable",
+ "Witty & Humorous",
+ "Passionate About Topics",
+ "Minimalist",
+ "Friendly",
+ ],
+ },
+ spotify: {
+ id: "spotify",
+ name: "Spotify",
+ displayName: "Spotify Bio Generator",
+ description:
+ "Generate Spotify artist bios with AI. Create compelling bios within the 1,500-character limit that connect with listeners.",
+ simpleIconSlug: "spotify",
+ colorHex: "#1DB954",
+ characterLimit: 1500,
+ bioType: "artist bio",
+ contextGuidelines:
+ "Spotify artist bios can be up to 1,500 characters. Tell your musical story, describe your sound, share achievements, and connect with listeners emotionally.",
+ educationalContent: `Spotify artist bios have a 1,500-character limit and appear on your artist profile. They help listeners understand your music, story, and what makes you unique.
+
+Great Spotify bios tell your musical journey, describe your sound and influences, highlight achievements, and connect emotionally with listeners. They balance professionalism with personality, giving fans insight into who you are as an artist. The best bios make listeners excited to explore your music and follow your journey.`,
+ tones: [
+ "Artistic & Creative",
+ "Passionate Musician",
+ "Professional Artist",
+ "Authentic & Raw",
+ "Inspirational",
+ "Genre-Focused",
+ ],
+ },
+};
+
+export const bioGeneratorPlatformList = Object.values(
+ bioGeneratorPlatformConfigs
+);
diff --git a/docs/src/app/(home)/tools/page.tsx b/docs/src/app/(home)/tools/page.tsx
index e5d24c1cf..43be37370 100644
--- a/docs/src/app/(home)/tools/page.tsx
+++ b/docs/src/app/(home)/tools/page.tsx
@@ -29,6 +29,7 @@ import { postGeneratorPlatformList } from "./components/post-generator-platform-
import { usernameGeneratorPlatformList } from "./components/username-generator-platform-configs";
import { hashtagGeneratorPlatformList } from "./components/hashtag-generator-platform-configs";
import { characterCounterPlatformList } from "./components/character-counter-platform-configs";
+import { bioGeneratorPlatformList } from "./components/bio-generator-platform-configs";
import {
SiDiscord,
SiX,
@@ -292,6 +293,13 @@ const characterCounterTools = characterCounterPlatformList.map(platform => ({
description: `Count characters for ${platform.name} posts and stay within limits.`,
}));
+const bioGeneratorTools = bioGeneratorPlatformList.map(platform => ({
+ href: `/tools/${platform.id}-bio-generator`,
+ icon: platformIconMap[platform.id],
+ title: platform.displayName,
+ description: `Generate compelling ${platform.name} bios with AI.`,
+}));
+
const socialMediaTools = [
...fontGeneratorTools,
...commentGeneratorTools,
@@ -300,6 +308,7 @@ const socialMediaTools = [
...usernameGeneratorTools,
...hashtagGeneratorTools,
...characterCounterTools,
+ ...bioGeneratorTools,
];
function ToolCard({ tool }: { tool: { href: string; icon: any; title: string; description: string } }) {
diff --git a/docs/src/app/api/tools/generate-bio/route.ts b/docs/src/app/api/tools/generate-bio/route.ts
new file mode 100644
index 000000000..e91749bec
--- /dev/null
+++ b/docs/src/app/api/tools/generate-bio/route.ts
@@ -0,0 +1,140 @@
+import { callOpenRouter } from "@/lib/openrouter";
+import { getClientIP, rateLimit } from "@/lib/rate-limit";
+import { NextRequest, NextResponse } from "next/server";
+import { z } from "zod";
+
+const requestSchema = z.object({
+ name: z.string().max(100).optional(),
+ profession: z.string().max(100).optional(),
+ interests: z.string().max(200).optional(),
+ tone: z.string(),
+ platform: z.string(),
+ characterLimit: z.number(),
+});
+
+export async function POST(request: NextRequest) {
+ try {
+ // Rate limiting - 5 requests per minute
+ const ip = getClientIP(request);
+ const rateLimitResult = rateLimit(
+ `bio-generator:${ip}`,
+ 5,
+ 60 * 1000
+ );
+
+ const headers = new Headers({
+ "X-RateLimit-Limit": rateLimitResult.limit.toString(),
+ "X-RateLimit-Remaining": rateLimitResult.remaining.toString(),
+ "X-RateLimit-Reset": new Date(rateLimitResult.reset).toISOString(),
+ });
+
+ if (!rateLimitResult.success) {
+ return NextResponse.json(
+ { error: "Rate limit exceeded. Please try again later." },
+ { status: 429, headers }
+ );
+ }
+
+ // Parse and validate request
+ const body = await request.json();
+ const validatedData = requestSchema.parse(body);
+
+ if (!validatedData.name && !validatedData.profession) {
+ return NextResponse.json(
+ { error: "Please provide at least name or profession" },
+ { status: 400, headers }
+ );
+ }
+
+ const nameText = validatedData.name
+ ? `Name/Brand: ${validatedData.name}`
+ : "";
+ const professionText = validatedData.profession
+ ? `Profession/Role: ${validatedData.profession}`
+ : "";
+ const interestsText = validatedData.interests
+ ? `Interests/Focus: ${validatedData.interests}`
+ : "";
+
+ // Call OpenRouter to generate bios
+ const prompt = `You are a professional bio writer specializing in ${validatedData.platform} profiles. Generate 3 unique, compelling bios based on:
+
+${nameText}
+${professionText}
+${interestsText}
+
+Requirements:
+- Maximum ${validatedData.characterLimit} characters per bio
+- Tone: ${validatedData.tone}
+- Optimized for ${validatedData.platform}
+- Each bio should be distinct and take different creative approaches
+- Make them engaging, authentic, and memorable
+- Avoid clichés and generic phrases
+- Focus on value proposition and personality
+- Use appropriate style for ${validatedData.platform}'s culture
+
+Return ONLY a JSON array of 3 bio strings in this exact format:
+["bio1", "bio2", "bio3"]
+
+Do not include any markdown formatting, explanation, or additional text - just the raw JSON array of strings.`;
+
+ const response = await callOpenRouter([
+ {
+ role: "user",
+ content: prompt,
+ },
+ ]);
+
+ // Parse JSON response
+ let bios;
+ try {
+ // Extract JSON from response
+ const jsonMatch = response.match(/\[[\s\S]*\]/);
+ if (!jsonMatch) {
+ throw new Error("No JSON array found in response");
+ }
+ bios = JSON.parse(jsonMatch[0]);
+
+ // Validate it's an array of strings
+ if (
+ !Array.isArray(bios) ||
+ !bios.every((b) => typeof b === "string")
+ ) {
+ throw new Error("Invalid bio format");
+ }
+
+ // Filter out bios that exceed the character limit
+ bios = bios.filter(
+ (bio) => bio.length <= validatedData.characterLimit
+ );
+
+ // If we filtered out too many, we might have fewer than 3 bios
+ if (bios.length === 0) {
+ throw new Error(
+ "Generated bios exceeded character limit. Please try again."
+ );
+ }
+ } catch (error) {
+ console.error("Parse error:", error);
+ return NextResponse.json(
+ { error: "Failed to parse generated bios. Please try again." },
+ { status: 500, headers }
+ );
+ }
+
+ return NextResponse.json({ bios }, { headers });
+ } catch (error) {
+ if (error instanceof z.ZodError) {
+ return NextResponse.json(
+ { error: "Invalid request data", details: z.treeifyError(error) },
+ { status: 400 }
+ );
+ }
+
+ console.error("Bio generation error:", error);
+ return NextResponse.json(
+ { error: "Failed to generate bios. Please try again." },
+ { status: 500 }
+ );
+ }
+}
diff --git a/docs/src/components/RelatedTools.tsx b/docs/src/components/RelatedTools.tsx
index 3fc20937a..50d570dba 100644
--- a/docs/src/components/RelatedTools.tsx
+++ b/docs/src/components/RelatedTools.tsx
@@ -729,6 +729,102 @@ const allTools: Tool[] = [
href: "/tools/bluesky-character-counter",
category: "social-media",
},
+ {
+ name: "Instagram Bio Generator",
+ description: "Generate compelling Instagram bios with AI within 150-character limit",
+ href: "/tools/instagram-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "X (Twitter) Bio Generator",
+ description: "Generate impactful X bios with AI within 160-character limit",
+ href: "/tools/x-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "TikTok Bio Generator",
+ description: "Generate engaging TikTok bios with AI within 80-character limit",
+ href: "/tools/tiktok-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "LinkedIn Bio Generator",
+ description: "Generate professional LinkedIn About sections with AI",
+ href: "/tools/linkedin-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Threads Bio Generator",
+ description: "Generate conversational Threads bios with AI",
+ href: "/tools/threads-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "YouTube Channel Description Generator",
+ description: "Generate compelling YouTube channel descriptions with AI",
+ href: "/tools/youtube-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Pinterest Bio Generator",
+ description: "Generate Pinterest profile bios with AI",
+ href: "/tools/pinterest-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "GitHub Bio Generator",
+ description: "Generate professional GitHub bios with AI",
+ href: "/tools/github-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Twitch Bio Generator",
+ description: "Generate engaging Twitch bios with AI",
+ href: "/tools/twitch-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Medium Bio Generator",
+ description: "Generate compelling Medium bios with AI",
+ href: "/tools/medium-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Substack Bio Generator",
+ description: "Generate Substack author bios with AI",
+ href: "/tools/substack-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Mastodon Bio Generator",
+ description: "Generate thoughtful Mastodon bios with AI",
+ href: "/tools/mastodon-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Bluesky Bio Generator",
+ description: "Generate engaging Bluesky bios with AI",
+ href: "/tools/bluesky-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Discord Bio Generator",
+ description: "Generate Discord About Me bios with AI",
+ href: "/tools/discord-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Reddit Bio Generator",
+ description: "Generate Reddit profile bios with AI",
+ href: "/tools/reddit-bio-generator",
+ category: "social-media",
+ },
+ {
+ name: "Spotify Bio Generator",
+ description: "Generate Spotify artist bios with AI",
+ href: "/tools/spotify-bio-generator",
+ category: "social-media",
+ },
];
interface RelatedToolsProps {