Skip to content

iamwhiskeyfox/hacker-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Прокси-сервер для Hacker News

Этот проект представляет собой простой HTTP-прокси-сервер для отображения содержимого страниц Hacker News с модификацией текста.

Быстрый запуск через Docker

Чтобы запустить контейнер, нам нужен Docker и docker-compose. Введите команду:

   docker-compose up --build

Установка

  1. Установите зависимости, запустив следующую команду:

    pip install -r requirements.txt
  2. Запустите прокси-сервер:

    python app.py

    Прокси-сервер будет доступен по адресу http://127.0.0.1:8232.

Использование

После успешного запуска сервера, вы можете обратиться к нему через веб-браузер или другие HTTP-клиенты, используя адрес http://127.0.0.1:8232/item?id=13713480.

Прокси-сервер модифицирует текст на страницах Hacker News, добавляя значок "™" после каждого слова из шести букв.

Пример: http://127.0.0.1:8232/item?id=13713480


Hacker News Proxy

This project is a simple HTTP proxy server designed to display the content of Hacker News pages with text modification.

Quick Start with Docker

To launch the container, we need Docker and docker-compose. Enter the following command in the terminal:

docker-compose up --build

Installation

  1. Install dependencies by running the following command:

    pip install -r requirements.txt
  2. Start the proxy server:

    python app.py

    The proxy server will be available at http://127.0.0.1:8232.

Usage

After successfully starting the server, you can access it through a web browser or other HTTP clients using the address http://127.0.0.1:8232/item?id=13713480.

The proxy server modifies the text on Hacker News pages by adding the "™" symbol after each six-letter word.

Example: http://127.0.0.1:8232/item?id=13713480

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors