X for today

Github:github.com/shuiRong/T…. (Today’s X)

This is a
FlutterWrite the
A boring App

Recommend a different one every day: pictures, poems, quotes, music, music reviews, advanced mathematics, two color schemes, chemical equations, Github Repo, Zhihu problem.

(P.S. allows pull-down refreshes to update content, except for images from the Bing homepage, which are only one per day)

Download the APK

Flutter felt for the first timePlay:
SwiftA: p

How it works:


First, make sure you have the local documentation required for the Flutter project, the official Documentation, the English tutorial, and the Chinese documentation

Download items:

git clone https://github.com/shuiRong/TodayX
cd ./TodayXCopy the code

Before running the project, you need to connect your phone to your computer via USB or start the emulator, just follow the official tutorial.

Then run the project:

(If you’re developing in Visual Studio Code, you can do it all the way through the VSC instead of using the following command line: see sections 2 and 3.)

Install project dependencies on flutter Packages get // Run project flutter runCopy the code

Third party data used in the project


Thanks to the author

  • Poetry: https://api.gushi.ci/all.json

    // 20190526231929 {" Content ": "A Rough rough with a cat, a rough rough with a sparrow." "Author ":" Xu Wei ", "category": "Ancient Poetry - Animal - Writing cat"}Copy the code
  • Quote: https://v1.hitokoto.cn/

    // 20190526232311 {"id": 14, "Hitokoto ":" Use your smile to change the world. Don't let the world change your smile." , "type" : "a", "from", "network", "creator" : "sauce seven", "created_at" : "1468605909"}Copy the code
  • Bing homepage: https://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1

    // 20190526232348 { "images": [ { "startdate": "20190525", "fullstartdate": "201905251600", "enddate": "20190526", "url": "/th?id=OHR.MarathonduMont_ZH-CN5049722437_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp", "urlbase": Marathondumont_zh-cn5049722437 ", "Copyright ": © Leroy Francis/Getty Images "," CopyrightLink ": "http://www.bing.com/search?q=%E5%9C%A3%E7%B1%B3%E6%AD%87%E5%B0%94%E5%B1%B1&form=hpcapt&mkt=zh-cn", "title": "", "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20190525_MarathonduMont%22&FORM=HPQUIZ", "wp": true, "hsh": "02a3db999f76ec114c45de97cecc30ac", "drk": 1, "top": 1, "bot": 1, "hs": [ ] } ], "tooltips": { "loading": "Loading..." , "previous": "previous image ", "next": "next image ", "Walle ":" This image cannot be downloaded as wallpaper." , "Walls ":" Download today's beautiful picture. Use as desktop wallpaper only. }}Copy the code
  • Music: https://music.aityp.com/playlist/detail?id=145787433

    Too much content to displayCopy the code
  • Netease Cloud comments: https://api.comments.hk/

    // 20190526232507 { "song_id": 480426313, "title": "There For You", "images": "https://p2.music.126.net/E_ffmvXrVZoTugVf_Zf4Cg==/18520173860179248.jpg", "author": "Martin Garrix", "album": "There For You", "Description ":" There For You." , "mp3_url": "https://api.comments.hk/music/480426313", "pub_date": "2017-05-25 16:00:00", "comment_id": 393094070, "comment_user_id": 267009137, "comment_nickname": "I do not eat fish ", "comment_avatar_url": "https://p1.music.126.net/HC5zku5foEI_rIP9YShyoQ==/109951164014518098.jpg", "comment_liked_count": 25271, "Comment_content ":" Congratulations to the new combo "Pony Stamp"!! Look forward to their next collaboration and hope Martin don't bend don't bend don't bend ha ha ha ha ha ha ha ha ha ha [care][care][care][care][care]", "comment_pub_date": "2017-05-25 16:01:38"}Copy the code
  • Random color: https://randoma11y.com/stats

    Too much content to displayCopy the code
  • Making Trending: https://github-trending-api.now.sh/repositories

    Too much content to displayCopy the code
  • Zhihu journal: https://news-at.zhihu.com/api/4/news/latest

    // 20190526232635 { "date": "20190526", "stories": [ { "images": [ "https://pic2.zhimg.com/v2-58b5abf70967054a9a057d4f1da8f811.jpg" ], "type": 0, "id": 9711762, "ga_prefix": "052622", "title": "Trivial · how much would you pay to save your parents' lives?"}...] , "top_stories": [ { "image": "https://pic2.zhimg.com/v2-0dc73b026624fc19637c5cb25ff679a9.jpg", "type": 0, "id": 9711735, "ga_prefix": "052507", "title": "Why milk is not sold out, would rather dump it than give it away free?"}...] }Copy the code
  • Today in history: https://api.ooopn.com/history/api.php?type=json

    // 20190526232721 {"code": "200", "day": "20190526232721 ", "content": [" Liu Songshun emperor liu must let mercy to emperor gao of qi ", "Edward porter Alexander was born," "the first opium war the British attack in guangzhou city for the first time", "death of the qing dynasty generals and spring", "Britain and the British dominion queen Mary born", "American journalist Charles create stock index released for the first time the dow", "Russian tsar Nicholas ii in st Petersburg to reign", "American born actor John Wayne," "Manchester united football club manager matt busby was born", "American reporter Jacob riis died", "Japanese army generals yoshinori shirakawa's death", "China's first successful launch of the surface-to-surface medium-range missiles", "Japanese cartoonist and month stretch macro was born," "German philosopher Martin Heidegger died "," Peking Opera artist Meng Xiaodong died "]}Copy the code