| 1 | import type { CctvCamera } from './types'; |
| 2 | |
| 3 | /** Windy embed + JPG snapshot helper */ |
| 4 | function windy(id: string) { |
| 5 | return { |
| 6 | stream_url: `https://www.windy.com/webcams/${id}/embed`, |
| 7 | stream_type: 'iframe' as const, |
| 8 | feed_url: `https://images-webcams.windy.com/37/${id}/current/full/${id}.jpg`, |
| 9 | external_url: `https://www.windy.com/webcams/${id}`, |
| 10 | source: 'Windy', |
| 11 | }; |
| 12 | } |
| 13 | |
| 14 | const TURKEY_CAMERAS: CctvCamera[] = [ |
| 15 | // Makaza / Nymfea (GR-TR border, Rhodopes) |
| 16 | { |
| 17 | id: 'tr-makaza-nymfea-1', |
| 18 | lat: 41.295, lng: 24.137, |
| 19 | name: 'Makaza - Nymfea Border (cam 1)', |
| 20 | city: 'Komotini', country: 'Turkey', |
| 21 | stream_url: 'https://www.youtube.com/embed/pnr0lhrqRAc?autoplay=1&mute=1', |
| 22 | stream_type: 'iframe', |
| 23 | external_url: 'https://weather-webcam.eu/ueb-kameri-ot-gkpp-makaza-nimfeya/', |
| 24 | source: 'YouTube / GKPP', |
| 25 | }, |
| 26 | { |
| 27 | id: 'tr-makaza-nymfea-2', |
| 28 | lat: 41.294, lng: 24.139, |
| 29 | name: 'Makaza - Nymfea Border (cam 2)', |
| 30 | city: 'Komotini', country: 'Turkey', |
| 31 | stream_url: 'https://www.youtube.com/embed/YXN19ZEpIkc?autoplay=1&mute=1', |
| 32 | stream_type: 'iframe', |
| 33 | external_url: 'https://weather-webcam.eu/ueb-kameri-ot-gkpp-makaza-nimfeya/', |
| 34 | source: 'YouTube / GKPP', |
| 35 | }, |
| 36 | // European Thrace - BG border (Edirne / Kirklareli) |
| 37 | { |
| 38 | id: 'tr-kapikule-windy', |
| 39 | lat: 41.717, lng: 26.33, |
| 40 | name: 'Kapikule - Customs (TR, BG direction)', |
| 41 | city: 'Edirne', country: 'Turkey', |
| 42 | ...windy('1375653055'), |
| 43 | }, |
| 44 | { |
| 45 | id: 'tr-kapikule-entry', |
| 46 | lat: 41.716, lng: 26.334, |
| 47 | name: 'Kapikule - Entry Queue (TR)', |
| 48 | city: 'Edirne', country: 'Turkey', |
| 49 | feed_url: 'https://lh3.googleusercontent.com/d/1uA72HJHWIsRAltoF4_BrADsgoer9IpWI', |
| 50 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/bulgaristan/turkiye/kapikule-kapitan-andreevo/', |
| 51 | source: 'alltrafficcams.com', |
| 52 | }, |
| 53 | { |
| 54 | id: 'tr-kapikule-exit', |
| 55 | lat: 41.714, lng: 26.328, |
| 56 | name: 'Kapikule - Exit Lane (TR)', |
| 57 | city: 'Edirne', country: 'Turkey', |
| 58 | feed_url: 'https://lh3.googleusercontent.com/d/1Io3IMcDC8miLLp6J60_k61P-cOW7cTel', |
| 59 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/bulgaristan/turkiye/kapikule-kapitan-andreevo/', |
| 60 | source: 'alltrafficcams.com', |
| 61 | }, |
| 62 | { |
| 63 | id: 'tr-hamzabeyli-windy', |
| 64 | lat: 41.97, lng: 26.388, |
| 65 | name: 'Hamzabeyli - Border (TR, live)', |
| 66 | city: 'Edirne', country: 'Turkey', |
| 67 | ...windy('1639080445'), |
| 68 | external_url: 'https://weather-webcam.eu/lesovo-hamzabeyli-live-kamera-balgaria-turcia-granica-trafik-vremeto/', |
| 69 | }, |
| 70 | { |
| 71 | id: 'tr-hamzabeyli-queue', |
| 72 | lat: 41.968, lng: 26.385, |
| 73 | name: 'Hamzabeyli - Queue (TR)', |
| 74 | city: 'Edirne', country: 'Turkey', |
| 75 | feed_url: 'https://lh3.googleusercontent.com/d/1n7byLU0LzGvcl3ngtatoaqYPoyPYMNHH', |
| 76 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/bulgaristan/turkiye/hamzabeyli-lesovo/', |
| 77 | source: 'alltrafficcams.com', |
| 78 | }, |
| 79 | { |
| 80 | id: 'tr-derekoy-live', |
| 81 | lat: 41.405, lng: 27.521, |
| 82 | name: 'Derekoy - Border Queue (TR)', |
| 83 | city: 'Kirklareli', country: 'Turkey', |
| 84 | feed_url: 'https://lh3.googleusercontent.com/d/1bZI8eKQEOaJINUH0_kp4UrPpnD9eD4p0', |
| 85 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/bulgaristan/turkiye/derekoy-malko-tarnovo/', |
| 86 | source: 'alltrafficcams.com', |
| 87 | }, |
| 88 | // European Thrace - GR border (Edirne) |
| 89 | { |
| 90 | id: 'tr-ipsala-exit', |
| 91 | lat: 40.928, lng: 26.245, |
| 92 | name: 'Ipsala - Passenger Exit (TR)', |
| 93 | city: 'Edirne', country: 'Turkey', |
| 94 | feed_url: 'https://lh3.googleusercontent.com/d/14WxIhH9GDnPRuELYIfpm7kYaP0U27o_2', |
| 95 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/yunanistan/turkiye/ipsala-kipi/', |
| 96 | source: 'alltrafficcams.com', |
| 97 | }, |
| 98 | { |
| 99 | id: 'tr-ipsala-truck', |
| 100 | lat: 40.925, lng: 26.248, |
| 101 | name: 'Ipsala - Truck Park (TR)', |
| 102 | city: 'Edirne', country: 'Turkey', |
| 103 | feed_url: 'https://lh3.googleusercontent.com/d/1jOIFsvlslheZg7SZkD7javLjdixvWxiR', |
| 104 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/yunanistan/turkiye/ipsala-kipi/', |
| 105 | source: 'alltrafficcams.com', |
| 106 | }, |
| 107 | { |
| 108 | id: 'tr-pazarkule', |
| 109 | lat: 41.645, lng: 26.478, |
| 110 | name: 'Pazarkule - Kastanies Border (TR)', |
| 111 | city: 'Edirne', country: 'Turkey', |
| 112 | feed_url: 'https://lh3.googleusercontent.com/d/1u4mnEWlZ4YcgP7W1ZjSLNBIbynArOoRt', |
| 113 | external_url: 'http://alltrafficcams.com/tr/canli/sinir-kapisi-gumruk/yunanistan/turkiye/pazarkule-kestanelik/', |
| 114 | source: 'alltrafficcams.com', |
| 115 | }, |
| 116 | // Tekirdag (European coast) |
| 117 | { |
| 118 | id: 'tr-tekirdag-cumhuriyet', |
| 119 | lat: 40.983, lng: 27.515, |
| 120 | name: 'Tekirdag - Cumhuriyet Mahallesi', |
| 121 | city: 'Tekirdag', country: 'Turkey', |
| 122 | ...windy('1641362068'), |
| 123 | }, |
| 124 | { |
| 125 | id: 'tr-tekirdag-center', |
| 126 | lat: 40.978, lng: 27.508, |
| 127 | name: 'Tekirdag - City Center', |
| 128 | city: 'Tekirdag', country: 'Turkey', |
| 129 | ...windy('1610814488'), |
| 130 | }, |
| 131 | // Istanbul - European side & Bosphorus |
| 132 | { |
| 133 | id: 'tr-istanbul-galata', |
| 134 | lat: 41.019, lng: 28.974, |
| 135 | name: 'Istanbul - Galata Bridge', |
| 136 | city: 'Istanbul', country: 'Turkey', |
| 137 | ...windy('1573888456'), |
| 138 | }, |
| 139 | { |
| 140 | id: 'tr-istanbul-sultanahmet', |
| 141 | lat: 41.009, lng: 28.977, |
| 142 | name: 'Istanbul - Sultanahmet / Grand Bazaar', |
| 143 | city: 'Istanbul', country: 'Turkey', |
| 144 | ...windy('1573537594'), |
| 145 | }, |
| 146 | { |
| 147 | id: 'tr-istanbul-bosphorus', |
| 148 | lat: 41.042, lng: 29.009, |
| 149 | name: 'Istanbul - Bosphorus (Radisson view)', |
| 150 | city: 'Istanbul', country: 'Turkey', |
| 151 | ...windy('1511515262'), |
| 152 | }, |
| 153 | { |
| 154 | id: 'tr-istanbul-yavuz-bridge', |
| 155 | lat: 41.202, lng: 29.121, |
| 156 | name: 'Istanbul - Yavuz Sultan Selim Bridge', |
| 157 | city: 'Istanbul', country: 'Turkey', |
| 158 | ...windy('1601452975'), |
| 159 | }, |
| 160 | ]; |
| 161 | |
| 162 | export async function fetchTurkeyCameras(): Promise<CctvCamera[]> { |
| 163 | return TURKEY_CAMERAS.filter((cam) => cam.feed_url || cam.stream_url || cam.external_url); |
| 164 | } |
| 165 | |
| 166 | export default TURKEY_CAMERAS; |