A powerful tool to preview how your website's link previews will appear across different social media platforms. Perfect for optimizing your website's Open Graph metadata and improving SEO performance.
- Real-time Preview: See how your links will look on Facebook, Twitter, LinkedIn, and other platforms
- Metadata Analysis: Comprehensive analysis of Open Graph tags, Twitter Cards, and other meta tags
- SEO Insights: Get recommendations to improve your social media presence
- Responsive Design: Works seamlessly across all devices
- Fast Performance: Built with modern technologies for optimal speed
- Frontend: React 18, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Express.js, Node.js, TypeScript
- Development: ESLint, Prettier, Concurrently
Before you begin, ensure you have the following installed:
-
Clone the repository
git clone https://github.com/ThePhoenix08/open-graph-visualizer.git cd open-graph-visualizer -
Install dependencies of root, frontend, backend
npm install
-
Set up environment variables for backend
cd ./backend cp .env.example .env # Edit .env with your configuration
-
Start the development server for both frontend and backend
cd .. npm run dev -
Open your browser Navigate to
http://localhost:5173to see the application frontend running. Application backend should be accessible athttp://localhost:5000
open-graph-visualizer/
βββ frontend/ # React frontend application
β βββ src/
β βββ public/
β βββ package.json
β βββ ...
βββ backend/ # Express backend API
β βββ src/
β βββ package.json
β βββ .env # Generate your own
β βββ .env.example
β βββ ...
βββ docs/ # Documentation
βββ .github/ # GitHub templates and workflows
βββ package.json # Root package.json (workspace)
βββ README.md # This file
βββ ...
npm run dev- Start both frontend and backend in development modenpm run build- Build both applications for productionnpm run start- Start the production server
npm run format- Format code with Prettier
Create a .env file in the root directory:
# Backend Configuration
PORT=5000
NODE_ENV=development
MONGODB_URL= for local use: (mongodb://localhost:27017/ogv)
# Optional: Add any API keys for enhanced features
# SOME_API_KEY=your_api_key_here
# Remember to always update .env.example if adding new env var
# And relay the env through secure channels to project owner or report the source to secure oneWe welcome contributions from the community! Please read our Contributing Guide to get started.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests and ensure code quality (
npm run lint && npm run test) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- π Documentation
- π Report Bug
- π‘ Request Feature
- π¬ Discussions
- Thanks to all contributors who help make this project better
- Inspired by the need for better social media optimization tools
- Built with amazing open source technologies
Made with β€οΈ by Your Name