https://github.com/thevickypedia/netfuse
Python script to dump hostname and IP address mapping for localhost into host file
https://github.com/thevickypedia/netfuse
Last synced: 2 months ago
JSON representation
Python script to dump hostname and IP address mapping for localhost into host file
- Host: GitHub
- URL: https://github.com/thevickypedia/netfuse
- Owner: thevickypedia
- License: mit
- Created: 2023-11-29T00:48:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T23:30:42.000Z (10 months ago)
- Last Synced: 2025-02-28T10:35:30.590Z (3 months ago)
- Language: Python
- Size: 223 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[][gh_pypi]
[][gh_pages]# NetFuse
NetFuse is a python module to dump hostname and IP address mapping for localhost into the hosts file
> :warning: To use this module, the router should be `Netgear`, [OR] the ISP should be `At&t`
### Installation
```shell
pip install NetFuse
```### Usage
> :bulb: Use `netfuse --help` to learn more
```shell
sudo netfuse
```### Note
> This is a hacky solution for a real problem. The best approach would be to [run your own DNS server][howto]
## Coding Standards
Docstring format: [`Google`][google-docs]
Styling conventions: [`PEP 8`][pep8] and [`isort`][isort]## [Release Notes][release-notes]
**Requirement**
```shell
python -m pip install gitverse
```**Usage**
```shell
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
```## Linting
`pre-commit` will ensure linting, run pytest, generate runbook & release notes, and validate hyperlinks in ALL
markdown files (including Wiki pages)**Requirement**
```shell
pip install sphinx==5.1.1 pre-commit recommonmark
```**Usage**
```shell
pre-commit run --all-files
```## Pypi Package
[][pypi-repo][https://pypi.org/project/NetFuse/][pypi]
## Runbook
[][sphinx][https://thevickypedia.github.io/NetFuse/][runbook]
## License & copyright
© Vignesh Rao
Licensed under the [MIT License][license]
[howto]: https://www.howtogeek.com/devops/how-to-run-your-own-dns-server-on-your-local-network/
[gh_pypi]: https://github.com/thevickypedia/NetFuse/actions/workflows/python-publish.yml
[gh_pages]: https://github.com/thevickypedia/NetFuse/actions/workflows/pages/pages-build-deployment[google-docs]: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings
[pep8]: https://www.python.org/dev/peps/pep-0008/
[isort]: https://pycqa.github.io/isort/
[sphinx]: https://www.sphinx-doc.org/en/master/man/sphinx-autogen.html
[pypi-repo]: https://packaging.python.org/tutorials/packaging-projects/[runbook]: https://thevickypedia.github.io/NetFuse/
[pypi]: https://pypi.org/project/NetFuse/
[release-notes]: https://github.com/thevickypedia/NetFuse/blob/main/release_notes.rst
[license]: https://github.com/thevickypedia/NetFuse/blob/main/LICENSE