Commit graph

23 commits

Author SHA1 Message Date
stuebinm
df9319f8a0 bugfix: allow superfluous "/" in paths
esp. a trailing / as in bahnhof.name/MH/ should not lead to ??.
2023-12-26 01:52:00 +01:00
stuebinm
cc5048bdb4 update base / ghc 2023-12-01 12:40:07 +01:00
stuebinm
2c91d09484 update dependencies
this should now work with NixOS 23.11's hackage snapshot
2023-11-30 19:17:12 +01:00
stuebinm
71c2ceb1c6 fix fuzzy redirects for platform info lookups 2023-11-29 18:34:08 +01:00
stuebinm
5a0ee20398 allow exact lookups of obscure Ril100 codes 2023-11-29 18:33:54 +01:00
stuebinm
783bf8859a overpass query: some stations don't have a meta node 2023-11-15 21:53:55 +01:00
stuebinm
b33c00f1c3 default to level=0 if tag not present
seems to give slightly better results
2023-11-14 23:50:38 +01:00
stuebinm
8ae435ab77 re-add help text
whoops, forgot this bit
2023-11-14 23:33:21 +01:00
stuebinm
e6cdfadd98 sort platforms by level/layer 2023-11-14 23:04:37 +01:00
stuebinm
02b29877f4 rewrite it in Haskell 2023-11-14 21:38:36 +01:00
stuebinm
e816bce69c platforms: update (also use local_ref) 2023-11-06 16:17:39 +01:00
stuebinm
aebc83a19f platform data bundle
this is pretty low-effort, but it seems to work fine?
2023-11-05 18:49:22 +01:00
stuebinm
194bccdc10 update gleam & deps 2023-10-30 12:48:44 +01:00
stuebinm
b231e47108 allow _ for spaces
(easier to use in browsers/shells where spaces lead to unwanted
behaviour, e.g. starting a search or ending an argument)
2023-07-09 02:29:04 +02:00
stuebinm
6a61154bda separate domains, fuzzy matching all-round 2023-07-09 02:25:52 +02:00
Johann150
128198f070 add Leitpunkte
(by johann150, with some modification by stuebinm)
2023-06-18 00:13:00 +02:00
Johann150
a7823fc059 refactor lookups to separate functions
This allows them to be used separately.
2023-06-17 23:57:29 +02:00
Johann150
913f865fbd drop CSV header 2023-06-17 23:54:22 +02:00
Johann150
1b46a4c05c blackhole favicon.ico requests
It is not necessary to do anything for these kinds of requests, so
instead of making the fuzzy search do stuff, just blackhole these requests.
2023-06-17 23:54:00 +02:00
stuebinm
59d807a2d7 broken encoding in some stations
with thanks to lis: https://mk.catgirlsfor.science/notes/9en6jb2ig8
2023-05-11 23:10:00 +02:00
stuebinm
db71361481 use haystack for search
for some reason it doesn't find Karlsruhe, but basically everything else??
2023-05-11 14:29:10 +02:00
stuebinm
a827bb0e4d url percent encoding & (naïve) fuzzy matching 2023-04-26 01:34:01 +02:00
stuebinm
0e4119d3b9 initial commit 2023-04-22 00:36:17 +02:00