[PR #116] [CLOSED] Dev #198

Closed
opened 2026-03-03 16:05:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mthenw/frontail/pull/116
Author: @syberkitten
Created: 3/12/2018
Status: Closed

Base: masterHead: dev


📝 Commits (8)

  • 8d938d5 version bump
  • d1bd60c first commit to dev, adding stdout write
  • 33bdd02 enabling stdout via --stdout flag
  • ce68fb9 will always stdout everything
  • 095cc88 adding epipebomb to make sure no broker pipes happen
  • 7ef08da adding -T --title to options to pass custom page title
  • ae94044 4.1.5
  • b86865b fixing stuff adding --stdout support for stdout

📊 Changes

7 files changed (+62 additions, -4 deletions)

View changed files

📝 .gitignore (+3 -1)
📝 README.md (+17 -0)
frontail.iml (+9 -0)
📝 index.js (+29 -1)
📝 lib/options_parser.js (+2 -0)
📝 package-lock.json (+1 -1)
📝 package.json (+1 -1)

📄 Description

Hey

Wanted to add a few small additions to the project I guess
most of the users might benefit:

  1. automatically stdout everything - this comes in handy.
  2. -T --title options, to give custom title name to page in case there are no files.
  3. added an "epipebomb" safety measure (method inside index.js) which eliminates "EPIPE" exception which mostly happens
    when multiple pipes are used and they are not closed. (can read about it)

I'm mostly using frontail to pipe through along with sending to browser
so it allows chaining multiple frontails, in multiple browser windows
for example (is in mobile testing) :

node dist/connect-android.js | frontail - -p 9001 -T All |  node dist/scenario.js connect | frontail - -p 9002 -T Test

The above allows opening two browsers while each having a different output from frontail
and different titles.

looking forward to your remarks and ideas :)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mthenw/frontail/pull/116 **Author:** [@syberkitten](https://github.com/syberkitten) **Created:** 3/12/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dev` --- ### 📝 Commits (8) - [`8d938d5`](https://github.com/mthenw/frontail/commit/8d938d52ee736dc3e008f799ea2d57e2c1879d38) version bump - [`d1bd60c`](https://github.com/mthenw/frontail/commit/d1bd60c4d870f3adaa73b292265cb06ade7c1e77) first commit to dev, adding stdout write - [`33bdd02`](https://github.com/mthenw/frontail/commit/33bdd0276ca43c3b69bff0a8f69b9cb4f505e488) enabling stdout via --stdout flag - [`ce68fb9`](https://github.com/mthenw/frontail/commit/ce68fb95e0d12a71d7b2eede759eec2830afcfbb) will always stdout everything - [`095cc88`](https://github.com/mthenw/frontail/commit/095cc8816e03b3124a1c503d5bacff75be52521f) adding epipebomb to make sure no broker pipes happen - [`7ef08da`](https://github.com/mthenw/frontail/commit/7ef08dada5794d84a784f49ac0bb858b4ad3b191) adding -T --title to options to pass custom page title - [`ae94044`](https://github.com/mthenw/frontail/commit/ae94044188fa026dba76a771adcce417db767ccc) 4.1.5 - [`b86865b`](https://github.com/mthenw/frontail/commit/b86865b1a8da5f7d2cb966ca385fe17aee173372) fixing stuff adding --stdout support for stdout ### 📊 Changes **7 files changed** (+62 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -1) 📝 `README.md` (+17 -0) ➕ `frontail.iml` (+9 -0) 📝 `index.js` (+29 -1) 📝 `lib/options_parser.js` (+2 -0) 📝 `package-lock.json` (+1 -1) 📝 `package.json` (+1 -1) </details> ### 📄 Description Hey Wanted to add a few small additions to the project I guess most of the users might benefit: 1. automatically stdout everything - this comes in handy. 2. -T --title options, to give custom title name to page in case there are no files. 3. added an "epipebomb" safety measure (method inside index.js) which eliminates "EPIPE" exception which mostly happens when multiple pipes are used and they are not closed. (can read about it) I'm mostly using frontail to pipe through along with sending to browser so it allows chaining multiple frontails, in multiple browser windows for example (is in mobile testing) : ``` node dist/connect-android.js | frontail - -p 9001 -T All | node dist/scenario.js connect | frontail - -p 9002 -T Test ``` The above allows opening two browsers while each having a different output from frontail and different titles. looking forward to your remarks and ideas :) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:05:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#198
No description provided.