Coder Social home page Coder Social logo

samthompson / dart_hub Goto Github PK

View Code? Open in Web Editor NEW
88.0 7.0 25.0 417 KB

A GitHub client written in Flutter.

License: GNU General Public License v3.0

Java 0.54% Ruby 1.46% Objective-C 1.09% Dart 96.91%
flutter dart github-api github-app ios android

dart_hub's Introduction

dart_hub

A GitHub client written in flutter. The goal of this project is to build something non-trivial in Flutter to flex the framework's muscles.

Building

In order to build this project, you'll need to add a keys.dart file to the lib/ directory of this project. This file contains the oauth client id and client secret necessary to communicate with the GitHub apis. Inside the file you'll need to define two constants:

const String CLIENT_ID = 'your oauth client id';
const String CLIENT_SECRET = 'your oauth client secret';

You can create an oauth api project here.

Screenshots

Feed

Activity feed

Profile

Profile Repositories Followers Following

Repo

Repo

TODO

  • Activity feed showing recent activity
  • Notifications ui which shows unread notifications
  • Profile ui that shows current logged in user
  • Implement pagination on list screens
  • Implement follower listing view
  • Implement following listing view
  • Move notifications in between search and profile
  • Implement repo listing view
  • Implement showing user activity on profile
  • Repository screen
  • Event items clickable
  • Notif items clickable
  • Add ui for filter parameters on notifs, repos, etc
  • Implement search view
  • File viewer
  • Support more event types

Contributing

This project is moving pretty fast and I'm doing a lot of development on master. Ideas and feedback are always welcome, feel free to open an issue to discuss ๐Ÿ˜„

dart_hub's People

Contributors

samthompson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dart_hub's Issues

A problem occurred evaluating root project 'android'.

Launching lib\main.dart on MI 6 in debug mode...
Initializing gradle...
Resolving dependencies...

  • Error running Gradle:
    Exit code 1 from: D:\opensource\dart_hub\android\gradlew.bat app:properties:

FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\opensource\dart_hub\android\build.gradle' line: 23

  • What went wrong:
    A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugApk'.
> A problem occurred configuring project ':shared_preferences'.
> Failed to notify project evaluation listener.
> com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s

Finished with error: Please review your Gradle project setup in the android/ folder.

Error in built.

There are an error:

compiler message: lib/ui/paginated_list/paginated_list_view.dart:82:9: Error: A value of type '(#lib1::_State<dynamic>, #lib1::Page<dynamic>) โ†’ #lib1::_State<dynamic>' can't be assigned to a variable of type '(dynamic, dynamic) โ†’ dynamic'.
compiler message: Try changing the type of the left hand side, or casting the right hand side to '(dynamic, dynamic) โ†’ dynamic'.
compiler message:         _accumulate
compiler message:         ^
compiler message: file:///Users/jintian/development/flutter/.pub-cache/hosted/pub.dartlang.org/stream_ext-0.4.0/lib/stream_ext.dart:115:13: Error: The static method has type '(dynamic) โ†’ dynamic' that isn't of expected type '(dynamic) โ†’ dart.core::num'.
compiler message: Change the type of the method or the context in which it is used.
compiler message:       map = _identity;
compiler message:             ^
compiler message: file:///Users/jintian/development/flutter/.pub-cache/hosted/pub.dartlang.org/stream_ext-0.4.0/lib/stream_ext.dart:618:13: Error: The static method has type '(dynamic) โ†’ dynamic' that isn't of expected type '(dynamic) โ†’ dart.core::num'.
compiler message: Change the type of the method or the context in which it is used.
compiler message:       map = _identity;
compiler message:             ^
Compiler failed on lib/main.dart
Error launching application on iPhone X.

Cant build for ios

I get this error on ios build. I have tried to fix it, but the build error instructions dont work

Launching lib/main.dart on iPhone X in debug mode...
Automatic upgrade of project.pbxproj failed.
Upgrading project.pbxproj of Runner.app' to include the 'flutter_assets' directory
To manually upgrade, open ios/Runner.xcodeproj/project.pbxproj:
Add the following line in the "PBXBuildFile" section
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources / = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 / flutter_assets /; };
Add the following line in the "PBXFileReference" section
2D5378251FAA1A9400D5DBA9 /
flutter_assets / = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
Add the following line in the "children" list of the "Flutter" group in the "PBXGroup" section
2D5378251FAA1A9400D5DBA9 /
flutter_assets /,
Add the following line in the "files" list of "Resources" in the "PBXResourcesBuildPhase" section
2D5378261FAA1A9400D5DBA9 /
flutter_assets in Resources */,
Could not build the application for the simulator.
Error launching application on iPhone X.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.