                       (remove nil?)
                       (mapv format-article))
         data (extract-tweet-data tweet)]
+    (debug (str "Storing tweet " (:id tweet)))
     (swap! state update-in [:app :recent-articles] (fn [old new] (vec (take 250 (into new old)))) articles)
     (when (not(empty? articles))
       (doall (map #(put! % {:topic :new-article :data articles}) (-> @state :app :out-chans))))

  (info @server-state)
  (when (:http-server? @server-state)
    (run-server (site #'all-routes) {:port (:port @server-state) :join? false}))
  (start-stream server-state)
  (when (:backup? @server-state)
    (start-executor (:backup-folder @server-state))))


            [gezwitscher.core :refer [start-filter-stream gezwitscher]]
            [clojure.java.io :as io]
            [clojure.core.async :refer [close! put! timeout sub chan <!! >!! <! >! go go-loop] :as async]
            [taoensso.timbre :refer [info debug error warn] :as timbre]))

(timbre/refer-timbre)

