Skip to content

Releases/downloads server for Datagate uploader tool with auto-updater and GitHub as a backend

License

Notifications You must be signed in to change notification settings

mnes/datagate-uploader-updater

 
 

Repository files navigation

Datagate アップローダーツール 更新サーバー

Datagate アップローダーツールは、更新サーバーとして "Nuts" を使用しています。これは、Datagate アップローダーツールをサポートするために一部修正を加えたオリジナルの Nuts プロジェクトのフォークです。 Nuts は、デスクトップアプリケーションのリリースを提供するアプリケーションです。

Datagate 更新サーバー

更新サーバーは、Google Cloud Run でホストされています。サーバーは以下のURLで利用可能です:

https://datagate-autoupdate-server-6iqrwlgqqq-an.a.run.app

特徴

  • ✨ GitHub リリースにアセットを保存する
  • ✨ プライベートリポジトリからのリリースをユーザーにプロキシする
  • ✨ シンプルで強力なダウンロードURL
    • /download/latest
    • /download/latest/:os
    • /download/:version
    • /download/:version/:os
    • /download/channel/:channel
    • /download/channel/:channel/:os
  • ✨ プレリリースチャンネルのサポート(beta、alpha、...)
  • ✨ Squirrel を使用した自動更新
    • Mac 用の /update?version=<x.x.x>&platform=osx を使用します
    • Windows 用に Squirrel.Windows および Nugets パッケージを使用します
  • ✨ プライベート API
  • ✨ ミドルウェアとして使用:カスタムアナリティクス、認証の追加
  • ✨ 完璧なタイプのアセットを提供します:Squirrel.Mac 用の .zip、Squirrel.Windows 用の .nupkg、Mac ユーザー用の .dmg、...
  • ✨ リリースノートエンドポイント
    • /notes/:version
  • ✨ 最新のリリース(GitHub webhook)
  • ✨ バージョン/チャンネル用の Atom/RSS フィード

デプロイ / 開始方法

Docker と Gcloud CLI がインストールされていること、そして GCP(mnes-datagate-prd)の正しいプロジェクトにログインしていることを確認してください。

https://cloud.google.com/sdk/docs/install

$ make docker/build

$ make docker/push

$ make gcloud/deploy

自動アップデーター / Squirrel

このサーバーは Squirrel auto-updater のためのエンドポイントを提供しており、OS X と Windows の両方をサポートしています。

ドキュメント 詳細については、ドキュメント をご覧ください。


Datagate Uploader Tool Update Server

Datagate Uploader Tool uses "Nuts" as an update server. This is a fork of the original Nuts project with some modifications to support the Datagate Uploader Tool. Nuts is an application to serve desktop-application releases.

Datagate Update Server

The update server is hosted on Google Cloud Run. The server is available at the following URL:

https://datagate-autoupdate-server-6iqrwlgqqq-an.a.run.app

Features

  • ✨ Store assets on GitHub releases
  • ✨ Proxy releases from private repositories to your users
  • ✨ Simple but powerful download urls
    • /download/latest
    • /download/latest/:os
    • /download/:version
    • /download/:version/:os
    • /download/channel/:channel
    • /download/channel/:channel/:os
  • ✨ Support pre-release channels (beta, alpha, ...)
  • ✨ Auto-updates with Squirrel
    • For Mac using /update?version=<x.x.x>&platform=osx
    • For Windows using Squirrel.Windows and Nugets packages
  • ✨ Private API
  • ✨ Use it as a middleware: add custom analytics, authentication
  • ✨ Serve the perfect type of assets: .zip for Squirrel.Mac, .nupkg for Squirrel.Windows, .dmg for Mac users, ...
  • ✨ Release notes endpoint
    • /notes/:version
  • ✨ Up-to-date releases (GitHub webhooks)
  • ✨ Atom/RSS feeds for versions/channels

Deploy it / Start it

Make sure that Docker and Gcloud CLI is installed and that you are logged in to the correct project in GCP (mnes-datagate-prd).

https://cloud.google.com/sdk/docs/install

$ make docker/build

$ make docker/push

$ make gcloud/deploy

Auto-updater / Squirrel

This server provides an endpoint for Squirrel auto-updater, it supports both OS X and Windows.

Documentation

Check out the documentation for more details.

About

Releases/downloads server for Datagate uploader tool with auto-updater and GitHub as a backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.5%
  • Makefile 4.1%
  • Dockerfile 0.4%