{"id":31286833,"url":"https://github.com/bartoszjarocki/tz","last_synced_at":"2026-05-01T21:34:06.683Z","repository":{"id":310894072,"uuid":"1026902729","full_name":"BartoszJarocki/tz","owner":"BartoszJarocki","description":"timezone coverter with slack \u0026 discord apps","archived":false,"fork":false,"pushed_at":"2025-08-27T21:10:19.000Z","size":579,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T10:32:02.729Z","etag":null,"topics":["nextjs","react","timezone-conversion","typescript"],"latest_commit_sha":null,"homepage":"https://tzc.app","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/BartoszJarocki.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-26T21:36:20.000Z","updated_at":"2025-08-27T21:10:22.000Z","dependencies_parsed_at":"2025-09-24T10:37:58.312Z","dependency_job_id":null,"html_url":"https://github.com/BartoszJarocki/tz","commit_stats":null,"previous_names":["bartoszjarocki/tz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BartoszJarocki/tz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartoszJarocki%2Ftz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartoszJarocki%2Ftz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartoszJarocki%2Ftz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartoszJarocki%2Ftz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BartoszJarocki","download_url":"https://codeload.github.com/BartoszJarocki/tz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BartoszJarocki%2Ftz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","react","timezone-conversion","typescript"],"created_at":"2025-09-24T10:21:34.263Z","updated_at":"2026-05-01T21:34:06.651Z","avatar_url":"https://github.com/BartoszJarocki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tzc - time zone converter\n\n![Timezone Visualization](./assets/screenshot.png)\n\ninteractive visualization of world time zones with draggable interface and gradient background representing day/night cycles.\n\n## 🔥 new: slack \u0026 discord integrations\nautomatically convert timezone mentions in both slack and discord messages! just type patterns like `3PM CEST -\u003e EST` and get instant conversions.\n\n### features:\n- **auto-detection**: recognizes patterns like `3PM EST -\u003e PST` in messages\n- **slack thread replies**: clean, non-intrusive responses in message threads  \n- **discord replies**: contextual replies to messages with timezone conversions\n- **slash commands**: use `/tz 3pm EST to PST` in both platforms for manual conversions\n- **rich embeds**: beautiful discord embeds with timezone conversion results\n- **multiple formats**: supports 12/24 hour, city names, timezone codes\n\n*built with [v0.dev](https://v0.dev) and [claude code](https://claude.ai/code)*\n\n[![Deployed on Vercel](https://img.shields.io/badge/Deployed%20on-Vercel-black?style=for-the-badge\u0026logo=vercel)](https://vercel.com/bartosz-jarockis-projects/v0-50-shades-of-time)\n[![Built with v0](https://img.shields.io/badge/Built%20with-v0.dev-black?style=for-the-badge)](https://v0.dev/chat/projects/sTNJefUlSQC)\n\n## features\n\n- **gradient background**: each time zone shows a shade representing local time (dark for night, light for day)\n- **drag interaction**: click and drag to explore different times across all zones\n- **responsive design**: horizontal layout on desktop, vertical on mobile  \n- **live updates**: real-time clock updates\n- **user timezone detection**: highlights your current timezone with an orange dot\n\n## quick start\n\n```bash\n# Install dependencies\npnpm install\n\n# Start development server\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000)\n\n## code quality\n\nthis project uses [biome](https://biomejs.dev/) for ultra-fast linting and formatting:\n\n```bash\n# Check for issues\npnpm check\n\n# Auto-fix issues\npnpm check:fix\n\n# Format code\npnpm format:fix\n\n# Lint only\npnpm lint:fix\n```\n\n## tech stack\n\n### frontend\n- **next.js 15** with app router\n- **react 19** \n- **typescript**\n- **tailwind css**\n- **date-fns-tz** for timezone handling\n- **framer motion** for animations\n\n### backend \u0026 integrations\n- **slack web api** for slack bot integration\n- **discord.js** for discord bot integration\n- **chrono-node** for natural language time parsing\n- **next.js api routes** for slack/discord webhooks\n\n### development tools\n- **biome** for ultra-fast linting and formatting\n- **pnpm** for package management\n- **vercel** for deployment\n\n## how it works\n\nthe app displays 25 time zones (UTC-12 to UTC+12) as colored strips. each strip's color corresponds to the local hour:\n- darker shades = nighttime (6 PM - 6 AM)\n- lighter shades = daytime \n- brightest = noon\n\ndrag horizontally (desktop) or vertically (mobile) to \"time travel\" and see how all zones change together.\n\n## development\n\n### code quality standards\n- **100% typescript** with strict type checking\n- **biome** enforced code style and linting\n- **modern es2020+** features throughout\n- **react best practices** with proper hook usage\n\n### architecture\n- **api routes**: `/api/slack/*` for slack integration, `/api/discord/*` for discord integration\n- **utilities**: modular timezone and parsing logic shared between platforms\n- **components**: clean separation of ui and business logic\n\n## continue building\n\n**[https://v0.dev/chat/projects/sTNJefUlSQC](https://v0.dev/chat/projects/sTNJefUlSQC)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartoszjarocki%2Ftz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartoszjarocki%2Ftz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartoszjarocki%2Ftz/lists"}