All Projects → danger → Peril

danger / Peril

Licence: mit
☢️ Serious and immediate danger.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Peril

Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+3308.78%)
Mutual labels:  express, ci
Angela
🙂angela (安其拉):react ssr router redux; react同构框架
Stars: ✭ 15 (-96.34%)
Mutual labels:  express, ci
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-11.22%)
Mutual labels:  express
Graphql Ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
Stars: ✭ 398 (-2.93%)
Mutual labels:  express
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (-6.34%)
Mutual labels:  express
Kashti
Kashti is a dashboard for your Brigade pipelines.
Stars: ✭ 370 (-9.76%)
Mutual labels:  ci
Danger Js
⚠️ Stop saying "you forgot to …" in code review
Stars: ✭ 4,076 (+894.15%)
Mutual labels:  ci
Example Create React App Express
Example on using create-react-app with a Node Express Backend
Stars: ✭ 361 (-11.95%)
Mutual labels:  express
Gitlab Ci Android
GitLab CI image for building Android apps
Stars: ✭ 399 (-2.68%)
Mutual labels:  ci
Teamvision
Teamvision软件工程协作工具
Stars: ✭ 380 (-7.32%)
Mutual labels:  ci
Protect
Proactively protect your Node.js web services
Stars: ✭ 394 (-3.9%)
Mutual labels:  express
Strimpack
A platform for livestreamers to make a home for their audience.
Stars: ✭ 378 (-7.8%)
Mutual labels:  express
Judo Heroes
A React application to showcase rendering with Universal JavaScript
Stars: ✭ 373 (-9.02%)
Mutual labels:  express
Vue Crud X
Vue+Express Cookbook & CRUD Component (with Vite and Web Components)
Stars: ✭ 393 (-4.15%)
Mutual labels:  express
Node Tutorial
☺️Some of the node tutorial -《Node学习笔记》
Stars: ✭ 364 (-11.22%)
Mutual labels:  express
Semaphore
Modern UI for Ansible
Stars: ✭ 4,588 (+1019.02%)
Mutual labels:  ci
Blog Node
基于 node + express + mongodb 的博客网站后台
Stars: ✭ 364 (-11.22%)
Mutual labels:  express
Practicalnode
Practical Node.js, 1st and 2nd Editions [Apress] 📓
Stars: ✭ 3,694 (+800.98%)
Mutual labels:  express
Browserify Middleware
express middleware for browserify, done right
Stars: ✭ 385 (-6.1%)
Mutual labels:  express
Jackblog Api Express
Jackblog API Server Express版, 个人博客系统, 基于RESTful架构, 使用Node.js, Express, MongoDB, Redis, Token Auth, 七牛云存储等.
Stars: ✭ 405 (-1.22%)
Mutual labels:  express

per·il ˈperəl noun

  1. serious and immediate danger. "their family was in peril".

Peril is a tool that takes GitHub webhooks, and makes it easy to build one-off actions. It does this by having a per-account settings JSON, that connects JavaScript files to events from webhooks. So, for example, you can write a rule which runs when closing an issue in GitHub that looks for associated Jira tickets and resolves them. Peril provides no implicit actions like that, it instead offers a JavaScript runtime environment optimised to this domain so you can make actions to fit your needs.

Want to understand what the plan is? Consult the VISION.md


Peril uses Danger JS under the hood, Danger is a tool built for adding extra tests inside Pull Requests that can work at a different level of abstraction to unit and integration tests. For example, you could write tests which:

  • Enforce CHANGELOGs
  • Enforce links to Trello/JIRA in PR/MR bodies
  • Enforce using descriptive labels
  • Look out for common anti-patterns
  • Highlight interesting build artifacts
  • Give warnings when specific files change

... and any other rules specific to your team's culture and needs.


Peril vs GitHub Actions.

80% of Peril is available today in GitHub Actions. Key things which are not:

  • Multi-repo support (which is on the Actions roadmap)
  • Pre-workflow evaluation on webhook data (basically the ability to refuse to run the workflow unless something is set in the webhook JSON)
  • Triggering delayed jobs from webhooks (e.g. do this thing in 5m)

Is this enough to warrant self-hosting? Maybe, but it's pushing it a bit if you aren't comfortable hosting a JS project. Danger got extended with a lot of Peril's features in order to better support GitHub Actions during the alpha.

Given that I, Orta, can't install Peril on the Microsoft GitHub org, and GitHub Actions has most of Peril's features - it's unlikely that I'll be building much more into the core. I'll keep it ticking though, it's not much work.


I want to use Peril

You have two choices:

  • Wait for me to ship Peril to production (probably mid-2019)
  • Self-host your own Peril

I want to run Peril for my org

OK, I made a quick tutorial for running a private Peril against your org - this is for Heroku, but the underlying principles work for all of them.

I want to hack on Peril!

Ace, great, cool. So, it's a bit of a process. I'm not sure if this will get easier in time. It's a complex app. You can find out more here.

This Repo

This repo is a mono-repo with three main responsibilities:

  • api - The Peril WebHook + API
  • dashboard - The Admin Panel for logged in users
  • web - A static website for the public

Docs

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].