Thank you for your interest in contributing to the AI Caption Generator! This is the open-source version of a feature from Social Nest AI, and we welcome contributions from the community.
This is an open-source component of Social Nest AI, an AI-powered social media management platform. The tool is designed to help users generate engaging social media captions and hashtags using AI. This same technology powers the caption generator on our live platform at socialnestai.com.
Live Demo: https://socialnestai.com/tools/ai-caption-generator/
If you find a bug, please open an issue on GitHub with:
- A clear description of the problem
- Steps to reproduce the issue
- Expected vs actual behavior
- Your environment (OS, Node version, browser, etc.)
We welcome feature suggestions! Please open an issue with:
- A clear description of the feature
- Why it would be useful
- Any implementation ideas you have
- Fork the repository and create your branch from
main - Make your changes following our coding standards
- Test your changes thoroughly
- Update documentation if needed
- Submit a pull request with a clear description of your changes
- Use TypeScript for type safety
- Follow the existing code style (we use ESLint)
- Use Tailwind CSS for styling (avoid inline styles)
- Write clear, descriptive commit messages
- Add comments for complex logic
Before submitting a PR:
# Install dependencies
pnpm install
# Run the development server
pnpm run dev
# Build the project
pnpm run build
# Run linting
pnpm run lint
# Type checking
pnpm run type-check- Be respectful and inclusive
- Provide constructive feedback
- Focus on what is best for the community
- Show empathy towards other community members
-
Clone the repository
git clone https://github.com/socialnest/ai-caption-generator.git cd ai-caption-generator -
Install dependencies
pnpm install
-
Set up environment variables
cp .env.example .env.local # Add your GEMINI_API_KEY to .env.local -
Run the development server
pnpm run dev
-
Open your browser Navigate to
http://localhost:3000
src/
├── app/ # Next.js App Router pages
│ ├── api/ # API routes
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── components/ # React components
│ ├── AICaptionGenerator.tsx # Main component
│ ├── Header.tsx # Header component
│ ├── Footer.tsx # Footer component
│ └── PlatformIcons.tsx # Social media icons
└── index.ts # Component exports
If you have questions about contributing, feel free to:
- Open an issue on GitHub
- Contact us at support@socialnest.ai
- Visit our website at https://socialnestai.com
By contributing to this project, you agree that your contributions will be licensed under the GNU General Public License v3.0.
Note: The references to socialnestai.com throughout this codebase are legitimate attributions to the parent project and are not link spam. This open-source tool contains the same AI technology used on the Social Nest AI platform.