GithubHelp home page GithubHelp logo

dopry / pecans Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 4.0 841 KB

:chestnut: Releases/downloads server with auto-updater and GitHub as a backend

License: Apache License 2.0

JavaScript 0.77% Dockerfile 0.24% Shell 0.30% TypeScript 98.69%
squirrel electron github-releases

pecans's Introduction

Pecans

Pecans is an Electron Release Server.

Features

  • Download URLS
    • /download/latest
    • /download/latest/:os
    • /download/:version
    • /download/:version/:os
    • /download/channel/:channel
    • /download/channel/:channel/:os
  • Auto-updates with Squirrel
    • For Mac using Squirrel.Mac /update?version=<x.x.x>&platform=osx
      • /update/:platform/:version /update/channel/:channel/:platform/:version
    • For Windows using Squirrel.Windows and Nugets packages
      • /update/:platform/:version/RELEASES
      • /update/channel/:channel/:platform/:version/RELEASES
  • GitHub Release Integration
  • GitHub Private Repository Hosted Releases
  • GitHub Release Webhook to keep releases up-to-date.
  • Release Channels (beta, alpha, ...)
  • Express App (composable)
  • Release Noted API, /notes/:version
  • Atom/RSS feeds for versions/channels

Deploy it / Start it

Follow our guide to deploy Pecans.

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.

Acknowledgements

pecans's People

Contributors

aarono avatar amilajack avatar benoror avatar burakcan avatar chris-burgin avatar chrisbarless avatar develar avatar dopry avatar etiktin avatar fasterthanlime avatar ide avatar jjeff avatar john-griffin avatar jsloyer avatar mathieudutour avatar michaelbrooks avatar mzmousa avatar pyro2927 avatar rbkreisberg avatar samypesse avatar semantic-release-bot avatar theflow avatar tow8ie avatar zeke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pecans's Issues

TypeError: backend.releases is not a function

I am using something like:

const Pecans = require("@dopry/pecans").Pecans;
const pecans = new Pecans(config.updates);
app.use('/updates', pecans.router);

And I am getting:

this.releasesCache[this.getCacheKey()] = backend.releases();   
                                                         ^
TypeError: backend.releases is not a function
    at new Pecans

I am not too familiar with TypeScript to debug it further but it is causing Pecans to not work completely. My config.updates is valid and works with Nuts. Can I have some assistance in resolving this issue? Thanks.

E2E tests

Write a suite of tests that just call the http endpoints for a known project with various architectures/versions and verify correct results.

  • Use Pecans as the test GH project.
  • cover platforms: win, linux, osx
  • cover architectures: x86, x64, arm64, and universal

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.