repub 1.0.0-beta

re:pub

A souped-up Pub client with:

  • [x] Support for auth outside of Google OAuth2
  • [x] Custom hosted URL's without an environment variable
  • [x] Push state in repub serve

Installation

$ pub global activate repub

Usage

The way to use re:pub is to create a repubspec.yaml file in your project root.

Custom Hosted URL

Create a repubspec.yaml:

hosted_url: https://pub.example.com

External Auth

Create a repubspec.yaml:

auth:
  type: basic
  username: <username>
  password: <password>

Using Push State

Create a repubspec.yaml:

push_state:
  base: index.html # Relative to web/ dir

Then, you can run pub serve like normal, and have push state routing work, out-of-the-box.

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  repub: 

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
1.0.0-beta Mar 20, 2017 Go to the documentation of repub 1.0.0-beta Download repub 1.0.0-beta archive

About

A pub fork with push state, basic auth, and more.

Author

Email thosakwe@gmail.com Tobe O
Email misc@dartlang.org Dart Team

Homepage

github.com/thosakwe/repub

Documentation

www.dartdocs.org/documentation/repub/1.0.0-beta/

Source code (hyperlinked)

www.crossdart.info/p/repub/1.0.0-beta/

Uploader

thosakwe@gmail.com

Share