Hacker GitHub

← All repos

google/libphonenumber

View on GitHub ↗ ★ 18,335 C++

Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.

44 mentions on Hacker News by 43 people: 18 stories, 26 comments · first 2014-12-15 · latest 2025-02-17

Mentions per year 44 mentions · busiest year 2023 (9)
20082026
  1. …businesses) allow multiple inbound calls to or outbound calls from the same phone number. ---- ¹ https://github.com/google/libphonenumber/blob/master/FALSEHO...
  2. Link to the Falsehoods article, it's a good read: https://github.com/google/libphonenumber/blob/master/FALSEHO...
  3. …did originally, about it being text as opposed to a number field, see points 18, 19, 23, and 25 on https://github.com/google/libphonenumber/blob/master/FALSEHO... The field on the form is indeed of `type=tel`, which Mozilla helpfully…
  4. …invariants is actually quite high. See Falsehoods Programmers Believe About Phone Numbers [0]. [0] https://github.com/google/libphonenumber/blob/master/FALSEHO...
  5. ▲ 34
    Falsehoods Programmers Believe About Phone Numbers
    story by umitkaanusta · 2024-07-07 · 8 comments
  6. ▲ 19
    Falsehoods Programmers Believe About Phone Numbers
    story by benfreu · 2024-05-09 · 5 comments
  7. ▲ 2
    Falsehoods Programmers Believe About Phone Numbers
    story by invzhi · 2023-12-06 · 0 comments
  8. ▲ 2
    Google's library for parsing, formatting, and validating phone numbers
    story by stefankuehnel · 2023-03-30 · 0 comments
  9. …not even going to consider it. * the actual number database has been updated 5x so far this year: https://github.com/google/libphonenumber/commits/master/meta...
    comment by AdamJacobMuller · 2023-02-28 · in How SMS fraud works and how to guard against it
  10. Yeah, but you can probably use https://github.com/google/libphonenumber for that.
  11. ▲ 2
    Falsehoods Programmers Believe About Phone Numbers
    story by losfair · 2023-02-19 · 0 comments
  12. ▲ 3
    Falsehoods Programmers Believe About Phone Numbers
    story by vincvinc · 2023-02-14 · 0 comments
  13. https://github.com/google/libphonenumber/blob/master/FALSEHO... > 1. Some people do not own phones, or do not wish to provide you with their telephone number when asked. Do not require a user to provide a phone number unless it is…
  14. ▲ 4
    Falsehoods Programmers Believe About Phone Numbers (2019)
    story by nazgulsenpai · 2023-01-07 · 1 comment
  15. …do a first pass through libphonenumber metadata[1], which was pretty reasonable at my last job. [1] https://github.com/google/libphonenumber/tree/master/metadat...
    comment by toast0 · 2023-01-05 · in Twilio’s toll fraud problem
  16. …like Hubspot. It is by no means complete, so please share anything you believe is missing. [1] https://github.com/google/libphonenumber/blob/master/FALSEHO... [2] https://beesbuzz.biz/code/439-Falsehoods-programmers-believe...
  17. Identifying something as a phone number is very difficult. https://github.com/google/libphonenumber/blob/master/FALSEHO...
  18. …all phone numbers are exactly 10 digits, American-style, even if there is a country code dropdown. https://github.com/google/libphonenumber/blob/master/FALSEHO...
  19. …1[2-8]| [2-7]| 8[1-79]| 9[145] </leadingDigits> <format>$1 $2 $3 $4</format> </numberFormat> [0]: https://github.com/google/libphonenumber [1]: https://github.com/google/libphonenumber/blob/master/resourc...
    comment by Kwpolska · 2022-03-25 · in VoWiFi
  20. ▲ 2
    libphonenumber – parsing, formatting, and validating international phone numbers
    story by pabs3 · 2022-02-15 · 0 comments
  21. …is essential, and whenever possible try to provide a fallback to accommodate these users. Source: https://github.com/google/libphonenumber/blob/master/FALSEHO...
    comment by kagitac · 2022-02-11 · in Phone number has been used too many times
  22. …ready to use implementations in various languages (there also exist ports for other languages too): https://github.com/google/libphonenumber/
    comment by Dunedan · 2021-08-29 · in The 74,000 numbers of Barclays Bank
  23. ▲ 67
    Falsehoods Programmers Believe About Phone Numbers (2016)
    story by thunderbong · 2021-08-05 · 67 comments
  24. ▲ 2
    Falsehoods Programmers Believe About Phone Numbers
    story by prashantsengar · 2021-08-04 · 0 comments
  25. …again, 255 may not be enough. https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... https://github.com/google/libphonenumber/blob/master/FALSEHO... https://www.mjt.me.uk/posts/falsehoods-programmers-believe-a...
    comment by Akronymus · 2021-08-04 · in Why you should learn SQL
  26. ▲ 2
    Falsehoods Programmers Believe About Phone Numbers (2019)
    story by rdpintqogeogsaa · 2021-04-17 · 0 comments
  27. …[6] https://pypi.org/project/phonenumbers/ [7] which is a python port of Google's libphonenumber: https://github.com/google/libphonenumber [8] https://linux.die.net/man/1/iconv [9] https://linux.die.net/man/1/enca
  28. I found the list of falsehoods about phone numbers ( https://github.com/google/libphonenumber/blob/master/FALSEHO... ) really enlightening because it gave a short rationale or example for each point. I think that's way more helpful and…
    comment by koala_man · 2019-05-30 · in Falsehoods Programmers Believe About Search
  29. I'm reminded of the following which was posted to HN a while back. https://github.com/googlei18n/libphonenumber/blob/master/FAL...
  30. I don't have direct experience but libphonenumber looks pretty comprehensive: https://github.com/googlei18n/libphonenumber
  31. ▲ 451
    Falsehoods Programmers Believe About Phone Numbers (2016)
    story by striking · 2019-02-21 · 198 comments
  32. ▲ 5
    Falsehoods Programmers Believe About Phone Numbers
    story by Flimm · 2018-09-19 · 2 comments
  33. ▲ 4
    Falsehoods Programmers Believe About Phone Numbers
    story by cpeterso · 2018-09-04 · 0 comments
  34. ▲ 4
    Falsehoods Programmers Believe About Phone Numbers
    story by tonyg · 2018-02-05 · 2 comments
  35. Falsehoods Programmers Believe About Phone Numbers https://github.com/googlei18n/libphonenumber/blob/master/FAL...
  36. Number 4 on the falshoods programmers believe about phone numbers: https://github.com/googlei18n/libphonenumber/blob/master/FAL...
  37. …the names and platforms are similar enough I mistook this title for a C port at first glance. [1] https://github.com/googlei18n/libphonenumber
  38. ▲ 236
    Falsehoods Programmers Believe About Phone Numbers
    story by lxm · 2016-03-20 · 121 comments
  39. ▲ 7
    Falsehoods Programmers Believe About Phone Numbers
    story by JamilD · 2016-03-16 · 1 comment
  40. Anyone knows if anything similar exists for telephone numbers? Edit: Found this two minutes later: https://github.com/googlei18n/libphonenumber , seems to be an official Google product and Apache licensed.
  41. Am I missing something or this is just a REST front-end for Google´s libphonenumber[1] ? [1] https://github.com/googlei18n/libphonenumber
    comment by fasteo · 2015-03-31 · in Lookup by Twilio
  42. …libphonenumber, which does local formatting[2] [1] https://github.com/stripe/jquery.payment [2] https://github.com/googlei18n/libphonenumber
    comment by sandstrom · 2015-03-31 · in Lookup by Twilio
  43. …validation libraries. Just use Google's libphonenumber[0]. There's an iOS port of it [1]. [0] https://github.com/googlei18n/libphonenumber [1] https://github.com/iziz/libPhoneNumber-iOS
  44. ▲ 68
    Google's common Java, C++ and Javascript library for phone numbers
    story by carey · 2014-12-15 · 11 comments