logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

Getting-on-without-Google.md (6227B)


  1. ---
  2. date: 2016-11-16
  3. # vim: set tw=80 :
  4. layout: post
  5. title: Getting on without Google
  6. tags: [google]
  7. ---
  8. ![](https://sr.ht/d718.png)
  9. I used Google for a long time, but have waned myself off of it over the past
  10. few years, and I finally deleted my account a little over a month ago. I feel so
  11. much better about my privacy now that I've removed Google from the equation, and
  12. self hosting my things affords me a lot of flexibility and useful customizations.
  13. ## mail.cmpwn.com
  14. This one was the most difficult and time consuming to set up, but it was *very*
  15. worth it. I've intended for a while to make a new mail server software suite
  16. that's less terrible to set up, so hopefully that situation will improve in the
  17. future. I want to flesh out [aerc](https://github.com/SirCmpwn/aerc) some more
  18. first. A personal mail server was one of the earliest things I set up in my
  19. post-Google life - I've operated it for about two years now.
  20. - Postfix to handle incoming and outgoing mail
  21. - Dovecot to handle mail delivery, filtering, and IMAP
  22. - Postfixadmin to provide a nice interface for managing accounts
  23. - mutt to read and compose my emails on the desktop
  24. - K9 to read and compose my emails on Android
  25. - Roundcube for when it's occasionally necessary to read an HTML email
  26. With my mail server provides a lot of side benefits, too. For one, all of my
  27. email-sending software now uses it. Once Mandrill went kaput, it was easy to
  28. switch everything over to it. I can be sending and receiving email from a new
  29. domain in less than 5 minutes now. Using sieve scripts for filtering emails is
  30. also a lot more flexible than what Google offered - I now have filtering set up
  31. to organize several mailing lists, alerts and notifications sent by my software
  32. and servers, RSS feeds, and more.
  33. My strategy for defeating spam is to use a combination of the spamhaus
  34. blocklist, greylisting, and blacklisting with sieve. I see about 3-5 spam emails
  35. per week on average with this setup. To ensure my own emails get delivered, I've
  36. set up SPF and DKIM, reverse DNS, and appealed to have my IP address removed
  37. from blocklists. A great tool in figuring all this out has been
  38. [mail-tester.com](http://mail-tester.com).
  39. ## YouTube
  40. For YouTube, I "subscribe" to channels by adding their RSS feeds to
  41. [rss2email](http://www.allthingsrss.com/rss2email/), combined with sieve scripts
  42. that filter them into a specific folder. I then have a keybinding in mutt that,
  43. when pressed, pulls the YouTube URL out of an email and feeds it to mpv, a
  44. desktop video player. It's so much easier to access YouTube this way than
  45. through the web browser - no ads, familiar keybindings, remote control support,
  46. and a no-nonsense feed of your videos.
  47. ## Music
  48. Instead of Google Music, Spotify, or anything else, I run an internet radio
  49. with my friends. We all keep our music collections (mostly lossless) on NFS
  50. servers, and we mounted these servers on a streaming server that shuffles the
  51. entire thing and keeps a searchable database of music. We have an API that I
  52. pull from to integrate desktop keybindings and a status line on my taskbar, and
  53. an IRC bot for searching the database and requesting songs. I can also stream to
  54. my phone with VLC, as well as use scripts to maintain an offline archive of my
  55. favorite songs. This setup is *way* nicer than any commercial service I've used
  56. in the past. We'll be open sourcing version 2 to provide a turnkey solution for
  57. this type of self-hosted music service.
  58. ## Web search
  59. [DuckDuckGo](https://duckduckgo.com/). Even if you think the search results
  60. aren't up to snuff (you get used to just being a bit more specific anyway), the
  61. bangs feature is absolutely indispensable. I recently patched Chromium for
  62. Android to support DuckDuckGo as a search engine as well:
  63. [here's the patch](https://sr.ht/h4bZ.patch).
  64. ## File hosting
  65. Instead of using Google Drive, I'm using a number of different solutions
  66. depending on what's most convenient at the time. I operate
  67. [sr.ht](https://sr.ht) for me and my friends, which allows me to just have a
  68. place to drop a file and get a link to share. I have scripts and keybindings set
  69. up to make uploading files here second nature, as well as an Android app someone
  70. wrote. I also keep a 128G flash drive on my keychain now that comes in handy all
  71. the time, and a big-ass file server on OVH that I keep mounted with NFS or sshfs
  72. depending on the scenario, and sometimes I just stash files on a random server
  73. with rsync. sr.ht is [open source](https://gogs.sr.ht/SirCmpwn/sr.ht), by the
  74. way.
  75. ## CyanogenMod
  76. On Android, I use CyanogenMod without Google Play Services, and I use F-Droid to
  77. get apps. When I used Google Now, I found that I most often just asked it for
  78. reminders, which I now do via an open source app called Notable Plus. I also
  79. have open source apps for reading HN, downloading torrents, blocking ads,
  80. connecting to IRC, two factor authentication, YouTube, password management,
  81. Twitter, and more.
  82. ## Notably missing: Docs
  83. Hopefully the new LibreOffice thing will do the trick once it's ready. I'm
  84. looking forward to that.
  85. ## Things I self host that Google doesn't offer
  86. I use ZNC to operate an IRC bouncer, which is great because I use IRC *a lot*.
  87. It keeps logs for me, keeps me always connected, and gives me a number of nice
  88. features to work with. I also host a number of simple websites related to IRC to
  89. do things like channel stats and rules.
  90. To all sr.ht users I offer access to [gogs.sr.ht](https://gogs.sr.ht), which I
  91. personally use to host many private repositories as well as a number of small
  92. projects, and as a kind of staging area for repositories that aren't quite ready
  93. for GitHub yet.
  94. For passwords, I use a tool called [pass](https://www.passwordstore.org/), which
  95. encrypts passwords with my PGP key and stores them in a git repository I keep on
  96. gogs.sr.ht, with desktop keybindings to make grabbing them convenient.
  97. ## Help me do this!
  98. Well, that covers most of my major self hosted services. If you're interested in
  99. more detail about how any of this works so you might set something up yourself,
  100. feel free to reach out to me by [email](mailto:sir@cmpwn.com),
  101. [Mastodon](https://cmpwn.com/@sir), or IRC (SirCmpwn on any network). I'd
  102. be happy to help!