{"id":27039928,"url":"https://github.com/getfrontend/app-tulip-index","last_synced_at":"2026-04-30T10:31:20.485Z","repository":{"id":281738200,"uuid":"944718766","full_name":"getFrontend/app-tulip-index","owner":"getFrontend","description":"This is a multilingual web application that allows users to analyze tulip prices over the last 20 years and compare their value to essential goods.","archived":false,"fork":false,"pushed_at":"2025-03-22T14:28:16.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T14:29:03.909Z","etag":null,"topics":["nextjs","nextjs15","nextjs15-typescript","nextjs15example","tulips"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getFrontend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-07T21:03:48.000Z","updated_at":"2025-03-22T14:28:19.000Z","dependencies_parsed_at":"2025-03-10T22:30:53.832Z","dependency_job_id":"00b74275-3c17-4bd4-9c11-5e1f7576b703","html_url":"https://github.com/getFrontend/app-tulip-index","commit_stats":null,"previous_names":["getfrontend/app-tulip-index"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getFrontend%2Fapp-tulip-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getFrontend%2Fapp-tulip-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getFrontend%2Fapp-tulip-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getFrontend%2Fapp-tulip-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getFrontend","download_url":"https://codeload.github.com/getFrontend/app-tulip-index/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247281175,"owners_count":20913122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs","nextjs15","nextjs15-typescript","nextjs15example","tulips"],"created_at":"2025-04-05T03:19:48.538Z","updated_at":"2026-04-30T10:31:20.443Z","avatar_url":"https://github.com/getFrontend.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tulip Index\n\nThis is a multilingual web application that allows users to analyze tulip prices over the last 20 years and compare their value to essential goods. Users can adjust the number of tulips via a slider and see what equivalent items they could purchase with the same amount of money.\n\n![Tulip Index Screenshot](./public/assets/images/app-tulip-index_img-1.png)\n\n## Project Overview\n\nThe Tulip Index is a Next.js application that demonstrates the purchasing power of tulips compared to everyday items. It provides an interactive interface where users can:\n\n- Calculate the value of different quantities of tulips\n- Compare tulip prices to essential goods like coffee, groceries, and transportation\n- View historical price trends over the past 20 years\n- Switch between English and Ukrainian languages with automatic currency conversion\n\nThe application serves as both a practical tool for understanding relative value and a demonstration of modern web development techniques including internationalization, responsive design, and interactive data visualization.\n\n![Tulip Index Screenshot](./public/assets/images/app-tulip-index_img-2.png)\n\n![Tulip Index Screenshot](./public/assets/images/app-tulip-index_img-3.png)\n\n## Features\n\n- **Interactive Price Calculator**: Adjust tulip quantity via slider or direct input\n- **Real-time Price Comparison**: See equivalent items you could purchase with the same amount\n- **Historical Price Trends**: View how tulip prices have changed over time compared to other goods\n- **Multilingual Support**: Full localization in English and Ukrainian\n- **Automatic Currency Conversion**: Prices displayed in USD or UAH based on selected language\n- **Responsive Design**: Optimized for all device sizes from mobile to desktop\n- **Animated UI Elements**: Smooth transitions and animations for an engaging user experience\n\n## Technologies Used\n\n- **Next.js 15**: React framework with server-side rendering capabilities\n- **React 19**: UI component library\n- **TypeScript**: Type-safe JavaScript\n- **Tailwind CSS**: Utility-first CSS framework for styling\n- **Framer Motion**: Animation library for React\n- **Recharts**: Composable charting library for data visualization\n- **Radix UI**: Unstyled, accessible UI components\n- **Custom i18n Implementation**: For multilingual support\n\n## How to Run the Project Locally\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/getFrontend/app-tulip-index.git\ncd app-tulip-index\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Run the development server:\n```bash\nnpm run dev\n```\n\n4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Localization Setup\n\nThe application uses a custom internationalization (i18n) implementation to support multiple languages:\n\n- Translation keys are stored in `lib/i18n/translations.ts`\n- The `LanguageProvider` in `lib/i18n/context.tsx` manages language state and provides translation functions\n- Language can be switched using the language switcher in the header\n- Currency is automatically converted based on the selected language (USD for English, UAH for Ukrainian)\n\nTo add a new language:\n1. Add the new language code to the `Language` type in `translations.ts`\n2. Add translations for all keys in the translations object\n3. Update the language switcher component to include the new language option\n\n## Folder Structure\n\n```\napp-tulip-index/\n├── app/                  # Next.js app directory\n│   ├── client-page.tsx   # Client-side page component\n│   ├── globals.css       # Global styles\n│   ├── layout.tsx        # Root layout component\n│   └── page.tsx          # Main page component (server)\n├── components/           # React components\n│   ├── currency-display.tsx\n│   ├── historical-trends.tsx\n│   ├── language-switcher.tsx\n│   ├── price-calculator.tsx\n│   ├── price-comparison.tsx\n│   ├── site-footer.tsx\n│   ├── site-header.tsx\n│   └── ui/               # UI components (buttons, cards, etc.)\n├── constants/            # Application constants\n├── lib/                  # Utility functions and data\n│   ├── data.ts           # Data fetching functions\n│   ├── i18n/             # Internationalization\n│   │   ├── context.tsx   # Language context provider\n│   │   └── translations.ts # Translation strings\n│   ├── tulip-data.json   # Historical price data\n│   ├── types.ts          # TypeScript type definitions\n│   └── utils.ts          # Utility functions\n└── public/               # Static assets\n    └── assets/           # Images and other assets\n```\n\n## Future Improvements\n\n- Add more languages and currencies\n- Implement server-side language detection based on user's browser settings\n- Add more historical data and improve visualization options\n- Create a mobile app version using React Native\n- Add user accounts to save preferences\n- Implement dark mode support\n- Add more comparison items and categories\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n---\n\n© 2025 Tulip Index. All rights reserved.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetfrontend%2Fapp-tulip-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetfrontend%2Fapp-tulip-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetfrontend%2Fapp-tulip-index/lists"}