Crates.io | pages-meta |
lib.rs | pages-meta |
version | 0.2.0 |
source | src |
created_at | 2024-09-16 18:09:07.115712 |
updated_at | 2024-10-05 08:22:26.073533 |
description | This is an application http service that takes url as input and returns json with page meta tags by url |
homepage | |
repository | https://github.com/EgorHenek/pages-meta |
max_upload_size | |
id | 1376675 |
size | 102,694 |
Page Meta Extractor is an HTTP service that takes a URL as input and returns JSON with page meta tags extracted from the specified URL.
chmod +x pages-meta
./pages-meta
If you have cargo-binstall
installed:
cargo binstall pages-meta
If you have Rust and Cargo installed:
cargo install pages-meta
docker pull henek/pages-meta
docker run -p 3000:3000 henek/pages-meta
The application can be configured using the following environment variables:
HOST
: The host address to bind the server to (default: 127.0.0.1)PORT
: The port number to listen on (default: 3000)Example:
HOST=0.0.0.0 PORT=8080 ./pages-meta
You can also interact with the service using the web frontend available at https://pages-meta.henek.ru/.
https://example.com
in the input field.Send a GET request to the service with the URL you want to extract meta information from:
http://localhost:3000/https://example.com
The service will return a JSON response with the extracted meta information.
This project is licensed under the MIT License - see the LICENSE file for details.