All Projects → rbino → mfpb

rbino / mfpb

Licence: other
My Frugal PostBin

Programming Languages

elixir
2628 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
HTML
75241 projects
shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to mfpb

ecto nested changeset
Helpers for manipulating nested Ecto changesets
Stars: ✭ 23 (-11.54%)
Mutual labels:  phoenix, liveview
kandesk
Simple Kanban application written in elixir using phoenix liveview
Stars: ✭ 157 (+503.85%)
Mutual labels:  phoenix, liveview
google scraper live view
Application for extracting large amounts of data from the Google search results page
Stars: ✭ 17 (-34.62%)
Mutual labels:  phoenix, liveview
ambry
Self-hosted audiobook streaming server
Stars: ✭ 38 (+46.15%)
Mutual labels:  phoenix, liveview
Phoenix live dashboard
Realtime dashboard with metrics, request logging, plus storage, OS and VM insights
Stars: ✭ 1,657 (+6273.08%)
Mutual labels:  phoenix, liveview
king of tokyo
👑 King of Tokyo Multiplayer Board Game using Phoenix LiveView
Stars: ✭ 25 (-3.85%)
Mutual labels:  phoenix, liveview
uncharted
No description or website provided.
Stars: ✭ 31 (+19.23%)
Mutual labels:  phoenix, liveview
phoenix live controller
Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView
Stars: ✭ 31 (+19.23%)
Mutual labels:  phoenix, liveview
livebook
Automate code & data workflows with interactive Elixir notebooks
Stars: ✭ 3,402 (+12984.62%)
Mutual labels:  phoenix, liveview
shlinked
An open-source satirical social network. shlinkedin.com
Stars: ✭ 287 (+1003.85%)
Mutual labels:  phoenix, liveview
phoenix passwordless login
Phoenix Passwordless Login
Stars: ✭ 28 (+7.69%)
Mutual labels:  phoenix
live dj
💿 Join or create video playlists to share a real-time experience with others! 🎧
Stars: ✭ 19 (-26.92%)
Mutual labels:  phoenix
elixir ravelry
Elixir API using Neo4j database for ElixirConf 2017 talk
Stars: ✭ 21 (-19.23%)
Mutual labels:  phoenix
radiopush
Create communities and share songs with Spotify users (https://radiopush.app)
Stars: ✭ 89 (+242.31%)
Mutual labels:  phoenix
crimson commerce
An OpenSource Ecommerce platform on the Elixir/Phoenix stack, which aims to leverage the power of functional programming for ecommerce.
Stars: ✭ 74 (+184.62%)
Mutual labels:  phoenix
query builder
Compose Ecto queries without effort
Stars: ✭ 56 (+115.38%)
Mutual labels:  phoenix
Tai-Shang-Combiner
太上老君,基于 Elixir 的 NFT 炼丹炉
Stars: ✭ 16 (-38.46%)
Mutual labels:  phoenix
querie
Compose Ecto query from the client side
Stars: ✭ 20 (-23.08%)
Mutual labels:  phoenix
phoenix.webui.framework
基于WebDriver的WebUI自动化测试框架
Stars: ✭ 118 (+353.85%)
Mutual labels:  phoenix
gringotts payment
Demo Phoenix app showing gringotts payment library integrations.
Stars: ✭ 24 (-7.69%)
Mutual labels:  phoenix

mfpb

mfpb is a simple tool used to inspect HTTP requests.

It tries not to get in your way, it doesn't parse the body or do other fancy stuff with your request. This way you see exactly what was sent. The idea is basically having the same output you would get by doing HTTP requests to a listening instance of netcat.

Under the hood it uses the super cool Phoenix Live View, so new requests are prepended at the top of the page without the need of refreshing.

You can visit mfpb.in to try it live.

Running your instance

You can run your instance using the Docker image

export SECRET_KEY_BASE=$(mix phx.gen.secret)
# or `openssl rand -base64 48` if you don't have phx generators installed
docker run -e SECRET_KEY_BASE -p 4000:4000 rbino/mfpb:0.2.0

Now you can visit localhost:4000 from your browser.

Additional environment variables

mfpb accepts these additional environment variables, that you can pass with -e to docker run:

  • PORT: the listening port, that will have to be exposed from the container. Defaults to 4000.
  • PHX_HOST: base host (e.g. example.com) where mfpb is served. Needed to make websockets work and to correctly generate links. Defaults to example.com.
  • MFPB_BIN_INACTIVITY_TIMEOUT: the timeout after which a bin will be deleted if there's no activity on it, in milliseconds. Defaults to infinity.
  • MFPB_BIN_MAX_REQUESTS: the max number of requests that a bin can receive before being deleted. Defaults to nil, which means unlimited.
  • MFPB_USE_BIN_SUBDOMAINS: if true, generates request URLs appear as <bin_id>.<host> instead of <host>/r/<bin_id>. This just changes the way URLs are generated, to make it work, the reverse proxy must perform the appropriate URL rewriting (taking <bin_id> from the subdomain and putting it in the path).

nginx configuration example

In priv/examples/nginx-example.conf you can find a sample nginx conf to serve as reverse proxy for mfpb, with bin subdomains support. You should just be able to replace mfpb.in with your URL and, after obtaining SSL certificates, you should be good to go.

License

Copyright (c) 2019-2022 Riccardo Binetti [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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