Template of a custom feed generator service for the Bluesky network in Ruby

don't print languages as flags in print_feed

language codes don't always map to country codes

Changed files
+1 -2
app
+1 -2
app/post_console_printer.rb
··· 14 if langs.nil? 15 print '[nil] * ' 16 elsif langs != ['en'] 17 - label = langs.map { |ln| ln.upcase.tr('A-Z', "\u{1F1E6}-\u{1F1FF}") }.join 18 - print "#{label} * " 19 end 20 21 puts Rainbow("https://bsky.app/profile/#{post.repo}/post/#{post.rkey}").darkgray
··· 14 if langs.nil? 15 print '[nil] * ' 16 elsif langs != ['en'] 17 + print "[#{langs.join(', ')}] * " 18 end 19 20 puts Rainbow("https://bsky.app/profile/#{post.repo}/post/#{post.rkey}").darkgray