{"id":23536342,"url":"https://github.com/developerfred/titanium","last_synced_at":"2026-02-22T22:16:31.032Z","repository":{"id":264445319,"uuid":"893224390","full_name":"developerfred/titanium","owner":"developerfred","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-10T14:40:56.000Z","size":384,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T19:53:22.092Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developerfred.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T21:23:34.000Z","updated_at":"2025-04-05T14:30:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"fadeb0a5-b55d-4abb-9d9f-5c424693e6b5","html_url":"https://github.com/developerfred/titanium","commit_stats":null,"previous_names":["developerfred/titanium"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Ftitanium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Ftitanium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Ftitanium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerfred%2Ftitanium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developerfred","download_url":"https://codeload.github.com/developerfred/titanium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250403832,"owners_count":21424794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust"],"created_at":"2024-12-26T02:19:16.707Z","updated_at":"2026-02-22T22:16:30.978Z","avatar_url":"https://github.com/developerfred.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titanium - URL to PNG Service 🖼️\n\nTitanium is a high-performance web service that converts web pages to PNG images using Rust and Dioxus. It provides a simple HTTP API for rendering web pages as screenshots.\n\n## Features 🚀\n\n- Fast and efficient web page rendering\n- Base64 URL encoding for safe URL transmission\n- Configurable image dimensions\n- Health check endpoint\n- Docker support\n- Comprehensive test suite\n\n## Prerequisites 📋\n\nBefore running the service, ensure you have the following installed:\n\n- Rust (nightly toolchain)\n- Docker (optional)\n- The following system dependencies:\n  - pkg-config\n  - libssl-dev\n  - libgtk-3-dev\n  - libwebkit2gtk-4.0-dev\n  - libayatana-appindicator3-dev\n  - librsvg2-dev\n  - cmake\n\n## Installation 🛠️\n\n### Using Docker\n\n```bash\ndocker-compose up -d\n```\n\n### Manual Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/developerfred/titanium.git\ncd titanium\n```\n\n2. Install dependencies:\n```bash\n# Ubuntu/Debian\nsudo apt-get update\nsudo apt-get install pkg-config libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev \\\n    libayatana-appindicator3-dev librsvg2-dev cmake\n```\n\n3. Build and run:\n```bash\ncargo build --release\n./target/release/titanium\n```\n\n## Usage 💡\n\nThe service exposes two main endpoints:\n\n### 1. Render URL to PNG\n```\nGET /render.png?url={base64_encoded_url}\u0026w={width}\u0026h={height}\n```\n\nParameters:\n- `url`: Base64-encoded URL of the webpage to render\n- `w`: Width of the output image\n- `h`: Height of the output image\n\nExample:\n```bash\n# Convert https://example.com to base64 first\ncurl \"http://localhost:3000/render.png?url=aHR0cHM6Ly9leGFtcGxlLmNvbQ==\u0026w=800\u0026h=600\" \u003e screenshot.png\n```\n\n### 2. Health Check\n```\nGET /health\n```\n\nReturns \"OK\" if the service is running properly.\n\n## Development 🔧\n\n### Running Tests\n\nUsing Docker:\n```bash\n./test.sh\n```\n\nManually:\n```bash\ncargo test --all-features\n```\n\n### Running Locally\n\n```bash\ncargo run\n```\n\nThe service will start on `http://localhost:3000`\n\n## Contributing 🤝# Titanium - URL to PNG Service 🖼️\n\nTitanium is a high-performance web service that converts web pages to PNG images using Rust and Dioxus. It provides a simple HTTP API for rendering web pages as screenshots.\n\n## Features 🚀\n\n- Fast and efficient web page rendering\n- Base64 URL encoding for safe URL transmission\n- Configurable image dimensions\n- Health check endpoint\n- Docker support\n- Comprehensive test suite\n\n## Prerequisites 📋\n\nBefore running the service, ensure you have the following installed:\n\n- Rust (nightly toolchain)\n- Docker (optional)\n- The following system dependencies:\n  - pkg-config\n  - libssl-dev\n  - libgtk-3-dev\n  - libwebkit2gtk-4.0-dev\n  - libayatana-appindicator3-dev\n  - librsvg2-dev\n  - cmake\n\n## Installation 🛠️\n\n### Using Docker\n\n```bash\ndocker-compose up -d\n```\n\n### Manual Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/developerfred/titanium.git\ncd titanium\n```\n\n2. Install dependencies:\n```bash\n# Ubuntu/Debian\nsudo apt-get update\nsudo apt-get install pkg-config libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev \\\n    libayatana-appindicator3-dev librsvg2-dev cmake\n```\n\n3. Build and run:\n```bash\ncargo build --release\n./target/release/titanium\n```\n\n## Usage 💡\n\nThe service exposes two main endpoints:\n\n### 1. Render URL to PNG\n```\nGET /render.png?url={base64_encoded_url}\u0026w={width}\u0026h={height}\n```\n\nParameters:\n- `url`: Base64-encoded URL of the webpage to render\n- `w`: Width of the output image\n- `h`: Height of the output image\n\nExample:\n```bash\n# Convert https://example.com to base64 first\ncurl \"http://localhost:3000/render.png?url=aHR0cHM6Ly9leGFtcGxlLmNvbQ==\u0026w=800\u0026h=600\" \u003e screenshot.png\n```\n\n### 2. Health Check\n```\nGET /health\n```\n\nReturns \"OK\" if the service is running properly.\n\n## Development 🔧\n\n### Running Tests\n\nUsing Docker:\n```bash\n./test.sh\n```\n\nManually:\n```bash\ncargo test --all-features\n```\n\n### Running Locally\n\n```bash\ncargo run\n```\n\nThe service will start on `http://localhost:3000`\n\n## Contributing 🤝\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feat/TitaniumFeature`)\n3. Run the tests (`cargo test`)\n4. Commit your changes (`git commit -m 'Add some TitaniumFeature'`)\n5. Push to the branch (`git push origin feature/TitaniumFeature`)\n6. Open a Pull Request\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfred%2Ftitanium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperfred%2Ftitanium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperfred%2Ftitanium/lists"}