All Projects → layerssss → localhostd

layerssss / localhostd

Licence: MIT License
Run and serve your web apps in .test domains on your develop machine.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to localhostd

Pric
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.
Stars: ✭ 87 (+222.22%)
Mutual labels:  ssl, developer-tools
Fiddler Plus
自定义的Fiddler规则,多环境切换、解决跨域开发、快速调试线上代码必备|高效调试分析利器
Stars: ✭ 325 (+1103.7%)
Mutual labels:  http-proxy, developer-tools
LiveProxies
Asynchronous proxy checker
Stars: ✭ 17 (-37.04%)
Mutual labels:  ssl, http-proxy
Httptoolkit Ui
The UI of HTTP Toolkit
Stars: ✭ 91 (+237.04%)
Mutual labels:  http-proxy, developer-tools
mixed-content-scanner-cli
A cli tool to check your site for mixed content
Stars: ✭ 82 (+203.7%)
Mutual labels:  ssl, developer-tools
yomu
英和辞書付きPDF閲覧ソフト
Stars: ✭ 48 (+77.78%)
Mutual labels:  electron-app
qsslcaudit
test SSL/TLS clients how secure they are
Stars: ✭ 22 (-18.52%)
Mutual labels:  ssl
react-sendbird-messenger
ReactJS (React-router-dom v6 + Antdesign + Firebase + Sendbird + Sentry) codebase containing real world examples (CRUD, auth, advanced patterns, etc).
Stars: ✭ 39 (+44.44%)
Mutual labels:  ssl
audion
Audion is a Chrome extension that adds a Web Audio panel to Developer Tools. This panel visualizes the web audio graph in real-time.
Stars: ✭ 276 (+922.22%)
Mutual labels:  developer-tools
electron-react-parcel-boilerplate
Boilerplate code to create basic, production ready Electron app using React, Parcel application bundler.
Stars: ✭ 48 (+77.78%)
Mutual labels:  electron-app
gke-managed-certificates-demo
GKE ingress with GCP managed certificates
Stars: ✭ 21 (-22.22%)
Mutual labels:  ssl
Typology
Swift type checking and semantic analysis for developer tools
Stars: ✭ 68 (+151.85%)
Mutual labels:  developer-tools
DeLorean
Time-traveling debugger for Svelte applications
Stars: ✭ 58 (+114.81%)
Mutual labels:  developer-tools
sockhttp
A HTTP&HTTPS proxy over SOCK5
Stars: ✭ 46 (+70.37%)
Mutual labels:  http-proxy
ssl-config
SSL configuration logic, extracted from Play's WS (for use in Akka et al).
Stars: ✭ 65 (+140.74%)
Mutual labels:  ssl
play
A Google Play Music desktop player built with Electron, styled for the minimalist
Stars: ✭ 47 (+74.07%)
Mutual labels:  electron-app
laravel-ohdear-webhooks
Handle Oh Dear webhooks with ease in a Laravel app
Stars: ✭ 18 (-33.33%)
Mutual labels:  ssl
openssl-RPM-Builder
Build latest OpenSSL binary
Stars: ✭ 46 (+70.37%)
Mutual labels:  ssl
dimenify
An android studio plugin for creating scaled dimension values for different pixel buckets
Stars: ✭ 24 (-11.11%)
Mutual labels:  developer-tools
projectpad2
Projectpad allows to manage secret credentials and server information that you need to handle as a software developer or sysadmin.
Stars: ✭ 62 (+129.63%)
Mutual labels:  developer-tools

LocalhostD

Run and serve your web apps in .test domains on your develop machine.

a

This project is inspired by:

Comparing to hotel, this project comes with a few extra features:

  • Full-fledged / operable terminal (powered by battle-hardened node-pty and xterm.js)
  • Also shipped as an Electron / GUI app (available on Linux / OS X / Windows)
  • Robust state control (easily and reliably restarting app when needed)
  • Proxy all network request (so you don't have to setup proxy auto-config, just use the single proxy, makes it easy for cross-projects API invocation)
  • Self-signed SSL connection (with correct SAN so it produces a 'greenlock' after marking CA trusted manually)
  • Set a timeout option so application will be automatically shutdown

Install

If you prefer launching and keeping it by CLI, then

npm install localhostd -g
localhostd server 

... or if you prefer launching it as a GUI staying as a tray icon, download the latest release.

Usage

Configure your brower to use http://localhost:2999 as HTTP/HTTPS proxy. Then add your apps in http://localhostd.test/ (or in GUI), specifying the directory and the command to run your application.

Make sure they listen to the HTTP port number specified in the PORT enviroment variable. Here are some examples commands:

  • ember server
  • jekyll server
  • rails server --port $PORT --bind 127.0.0.1 --bind 127.0.0.1 is for OSX otherwise rails will be using a special localhost socket which is not accessible by Node.js API
  • python -m SimpleHTTPServer $PORT
  • php -S 127.0.0.1:$PORT

Then click the 🌎 button in the app details to go to its .test domain. localhostd will launch your app for you.

Self-signed SSL

localhostd generates a self-signed CA key-pair and stores it with other data at ~/.localhostd.json. Then it signs SSL certificate for each .test domain when requested. So SSL works out of box, just by going to https://my-app.test/. But if want to see a 'greenlock', i.e. to make your browser trust localhostd, you need to mark your self-signed CA as trusted in browser or OS.

License

MIT - Michael Yin

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