All Projects → Sky24n → Fitness

Sky24n / Fitness

Licence: bsd-3-clause
Flutter 仿微博客户端!A Weibo client application developed with Flutter, which supports both Android and iOS.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Fitness

Photobrowser
PhotoBrowser is a light weight photo browser, like the wechat, weibo image viewer.
Stars: ✭ 211 (+181.33%)
Mutual labels:  wechat, weibo
Laravel Socialite
Social OAuth Authentication for Laravel 5. drivers: facebook, github, google, linkedin, weibo, qq, wechat and douban
Stars: ✭ 296 (+294.67%)
Mutual labels:  wechat, weibo
Monkeyking
MonkeyKing helps you to post messages to Chinese Social Networks.
Stars: ✭ 2,699 (+3498.67%)
Mutual labels:  wechat, weibo
Sdk3rd
第三方SDK集成库,授权/分享/支付
Stars: ✭ 249 (+232%)
Mutual labels:  wechat, weibo
Lcactionsheet
一款简约而不失强大的 ActionSheet,微博、微信和 QQ 都采用了极其类似的样式,完全支持 Swift。
Stars: ✭ 809 (+978.67%)
Mutual labels:  wechat, weibo
Lxspider
爬虫案例合集。包括但不限于《淘宝、京东、天猫、豆瓣、抖音、快手、微博、微信、阿里、头条、pdd、优酷、爱奇艺、携程、12306、58、搜狐、百度指数、维普万方、Zlibraty、Oalib、小说、招标网、采购网、小红书》
Stars: ✭ 60 (-20%)
Mutual labels:  wechat, weibo
Rsshub
🍰 Everything is RSSible
Stars: ✭ 18,111 (+24048%)
Mutual labels:  wechat, weibo
Nine grid view
Flutter NineGridView & DragSortView. Similar to Weibo / WeChat nine grid view controls to display pictures. Flutter仿微信/微博九宫格、拖拽排序,微信群组,钉钉群组,QQ讨论组头像。
Stars: ✭ 169 (+125.33%)
Mutual labels:  wechat, weibo
Diplomat
整合第三方 SDK 微信、微博、 QQ 等为统一的 Diplomat 接口。
Stars: ✭ 672 (+796%)
Mutual labels:  wechat, weibo
Socialsdklibrary
提供微博、微信、QQ、Tim、QQ 轻聊版、钉钉的登陆分享功能支持;
Stars: ✭ 399 (+432%)
Mutual labels:  wechat, weibo
Xiaofendui
薅羊毛小分队(第一时间尽知羊毛)- 微信机器人即时推送
Stars: ✭ 356 (+374.67%)
Mutual labels:  wechat, weibo
L Passport
Koa middleware and api sdk for wechat oauth, qq oauth, baidu oauth and weibo oauth
Stars: ✭ 52 (-30.67%)
Mutual labels:  wechat, weibo
Socialite
Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, you can easily use it without Laravel.
Stars: ✭ 1,026 (+1268%)
Mutual labels:  wechat, weibo
Dragtodismiss Pangesture
仿微信,微博的大图查看和视频播放 拖拽消失的手势动画。手势单独已抽离出来,可用于任何视图。Simulate Wechat's disappeared gesture animation by dragging when the big picture viewing or video playback . Gestures are separated and can be used in any view
Stars: ✭ 55 (-26.67%)
Mutual labels:  wechat, weibo
Miniweather
基于koa的微信公众号开发
Stars: ✭ 67 (-10.67%)
Mutual labels:  wechat
Qy Wechat Notification Plugin
企业微信Jenkins构建通知插件
Stars: ✭ 72 (-4%)
Mutual labels:  wechat
Tinker app
Android热更新Tinker + 多渠道打包 + 加固的流程详解demo
Stars: ✭ 67 (-10.67%)
Mutual labels:  wechat
Mojo Weixin
使用Perl语言(不会没关系)编写的个人账号微信/weixin/wechat客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,181 (+1474.67%)
Mutual labels:  wechat
Friendcircle
// 一起来撸个朋友圈吧
Stars: ✭ 1,167 (+1456%)
Mutual labels:  wechat
Matrix
Matrix is a plugin style, non-invasive APM system developed by WeChat.
Stars: ✭ 9,357 (+12376%)
Mutual labels:  wechat

Language: English | 中文简体

Fitness(个人项目,暂未开源)

Flutter开发的微博客户端,同时支持Android和iOS。与官方微博x9.99%相似度体验,离线模式,多语言支持,主题随心换,超乎想象的流畅度,各种惊喜的细节等待你一一发现。

支持功能:

查看微博动态、正文、评论
查看热门话题、微博、热搜
支持话题、@、表情、全文
离线模式
国际化
主题色

项目动态

应用于2020.05.06提交至微博开发平台,目前还在审核中,暂无法申请微博授权!
ps:作者也不清楚是否能通过审核,何时通过审核,但大家还是可以本地体验相关功能。
目前运动和消息板块未开发,运动板块暂时放的实时疫情,消息板块展示九宫格示例。

分享内容

1、九宫格图片控件 NineGridView

类似微博动态,微信朋友圈,微信群组,钉钉群组,支持单张大图预览。

NineGridView(
  margin: EdgeInsets.all(12),
  padding: EdgeInsets.all(5),
  space: 5,
  type: NineGridType.weChatGp,
  itemCount: itemCount,
  itemBuilder: (BuildContext context, int index) {},
);

2、拖拽九宫格图片控件 DragSortView

类似微博/微信发布动态九宫格,支持按压放大效果,拖拽排序,拖拽到指定位置删除。

DragSortView(
  imageList,
  space: 5,
  margin: EdgeInsets.all(20),
  padding: EdgeInsets.all(0),
  itemBuilder: (BuildContext context, int index) {},
  initBuilder: (BuildContext context) {},
  onDragListener: (MotionEvent event, double itemWidth) {
    /// 判断拖动到指定位置删除
    /// return true;
    if (event.globalY > 600) {
      return true;
    }
    return false;
  },
);     

3、获取图片尺寸 ImageUtil

大图功能必备工具。

Image image = new Image(image: new CachedNetworkImageProvider("Url"));
Image imageAsset = new Image.asset("");
Image imageFile = new Image.file(File("path"));
Image imageNetwork = new Image.network("url");
Image imageMemory = new Image.memory(null);

ImageUtil imageUtil = ImageUtil();
Rect rect = await imageUtil.getImageSize(image: image);  
ImageUtil().getImageSize(image: image).then((Rect rect) {
  print("rect: " + rect.toString();
});

4、简单加解密 EncryptUtil

异或对称加解密 + Base64加解密

const String key = '11, 22, 33, 44, 55, 66';
String value = 'Sky24n';
String encode = EncryptUtil.xorBase64Encode(value, key); // WH1YHgMs
String decode = EncryptUtil.xorBase64Decode(encode, key); // Sky24n

5、JsonUtil

简单封装json字符串转对象。

String objStr = "{\"name\":\"成都市\"}";
City hisCity = JsonUtil.getObj(objStr, (v) => City.fromJson(v));

String listStr = "[{\"name\":\"成都市\"}, {\"name\":\"北京市\"}]";
List<City> cityList = JsonUtil.getObjList(listStr, (v) => City.fromJson(v));

6、时间格式化 DateUtil

格式化时间戳。

/// year -> yyyy/yy   month -> MM/M    day -> dd/d
/// hour -> HH/H      minute -> mm/m   second -> ss/s

DateUtil.formatDateMs(DateTime.now().millisecondsSinceEpoch, format: DataFormats.full); // 2019-07-09 16:51:14
DateUtil.formatDateStr("2019-07-09 16:51:14", format: "yyyy/M/d HH:mm:ss"); // 2019/7/9 16:51:14
DateUtil.formatDate(DateTime.now(), format: "yyyy/MM/dd HH:mm:ss");  // 2019/07/09 16:51:14
DateUtil.formatDateMs(ms, format: "yyyy年MM月dd日 HH时mm分ss秒");  // 2019年07月09日 16时51分14秒

7、时间轴 TimelineUtil

类似微信朋友圈,微博动态时间线。

enum DayFormat {
  ///(less than 10s->just now)、x minutes、x hours、(Yesterday)、x days.
  ///(小于10s->刚刚)、x分钟、x小时、(昨天)、x天.
  Simple,

  ///(less than 10s->just now)、x minutes、x hours、[This year:(Yesterday/a day ago)、(two days age)、MM-dd ]、[past years: yyyy-MM-dd]
  ///(小于10s->刚刚)、x分钟、x小时、[今年: (昨天/1天前)、(2天前)、MM-dd],[往年: yyyy-MM-dd].
  Common,

  ///日期 + HH:mm
  ///(less than 10s->just now)、x minutes、x hours、[This year:(Yesterday HH:mm/a day ago)、(two days age)、MM-dd HH:mm]、[past years: yyyy-MM-dd HH:mm]
  ///小于10s->刚刚)、x分钟、x小时、[今年: (昨天 HH:mm/1天前)、(2天前)、MM-dd HH:mm],[往年: yyyy-MM-dd HH:mm].
  Full,fitness_rec_list.json
}

TimelineUtil.format(timeMillis, locale: Localizations.localeOf(context).languageCode, dayFormat: DayFormat.Common);

Screenshots

截图无法查看?
掘金地址:Flutter 仿微博客户端
简书地址:Flutter 仿微博客户端

首页 探索 我的
微博发布 微博正文 个人页面
授权 设置 图片

关于App

GitHub   : Fitness
Apk        :v0.0.2 (arm64-v8a)
百度云盘:提取码 ttbn
腾讯微云:点击下载
请使用微信或QQ浏览器扫码下载!

测试帐号:有10个测试帐号供大家体验,有需要的请微博私信作者,并附带个人Github。

关于作者

GitHub : Sky24n
简书     : Sky24n
掘金     : Sky24n

意见与反馈

大家在使用中有任何问题,bug或者有需要改进但地方,可以提交issues反馈。
当然也可以通过微博私信反馈。

常见问题 - 更多

1.微博授权过程中可能发生闪退!

已知问题!重新点授权即可。(设备:乐视1s)

2.如何退出微博登录?

长按帐号栏,点击确定即可,同时微博授权会被回收。 

3.部分页面没有返回键,如何返回上一个页面?

可以使用侧滑(右滑)返回,也可以使用手机Back键返回。

4.探索页面没有回退按钮,如何返回上一个页面?

长按探索Tab即可。 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].