{"id":20697023,"url":"https://github.com/nitindahiya-dev/rust-pastebin","last_synced_at":"2026-04-22T19:35:12.015Z","repository":{"id":249422846,"uuid":"830970857","full_name":"nitindahiya-dev/rust-pastebin","owner":"nitindahiya-dev","description":"Allows you to create, store, and share text pastes with unique tokens","archived":false,"fork":false,"pushed_at":"2024-07-19T11:18:01.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T09:07:52.771Z","etag":null,"topics":["actix-web","pastebin","rust","sqlite"],"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/nitindahiya-dev.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-07-19T11:13:20.000Z","updated_at":"2024-07-19T11:19:17.000Z","dependencies_parsed_at":"2024-07-25T20:45:38.904Z","dependency_job_id":null,"html_url":"https://github.com/nitindahiya-dev/rust-pastebin","commit_stats":null,"previous_names":["nitindahiya-dev/rust-pastebin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nitindahiya-dev/rust-pastebin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindahiya-dev%2Frust-pastebin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindahiya-dev%2Frust-pastebin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindahiya-dev%2Frust-pastebin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindahiya-dev%2Frust-pastebin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitindahiya-dev","download_url":"https://codeload.github.com/nitindahiya-dev/rust-pastebin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitindahiya-dev%2Frust-pastebin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32152601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actix-web","pastebin","rust","sqlite"],"created_at":"2024-11-17T00:16:24.350Z","updated_at":"2026-04-22T19:35:11.995Z","avatar_url":"https://github.com/nitindahiya-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003e# 📋 Actix Web Pastebin\u003c/h2\u003e\n\n\u003cp\u003eWelcome to the **Actix Web Pastebin** project! This modern and minimalistic web application allows you to create, store, and share text pastes with unique tokens. Built with Rust and Actix Web, it ensures performance and reliability.\u003c/p\u003e\n\n\u003cp\u003e## ✨ Features\u003c/p\u003e\n\n\u003cli\u003e 📝 **Paste Creation:** Easily submit text content which is stored with a unique token.\u003c/li\u003e\n\u003cli\u003e 🔍 **Paste Retrieval:** Access stored pastes via a unique URL.\u003c/li\u003e\n\u003cli\u003e 🎨 **Static File Serving:** Serve static files like CSS for styling.\u003c/li\u003e\n\u003cbr\u003e\n\u003cp\u003e## 🛠️ Prerequisites\u003c/p\u003e\n\n\u003cli\u003e **Rust:** Make sure you have Rust installed. Get it from [rust-lang.org](https://www.rust-lang.org/).\u003c/li\u003e\n\u003cli\u003e **SQLite:** This project uses SQLite as the database.\u003c/li\u003e\n\u003cbr\u003e\n\u003cp\u003e## 📁 Project Structure\u003c/p\u003e\n\n\u003cli\u003e **main.rs:** The main entry point of the application.\u003c/li\u003e\n\u003cli\u003e **AppState:** Struct to hold the database connection.\u003c/li\u003e\n\u003cli\u003e **index:** Handler for serving the main page.\u003c/li\u003e\n\u003cli\u003e **submit:** Handler for submitting new pastes.\u003c/li\u003e\n\u003cli\u003e **get_paste:** Handler for retrieving pastes by token.\u003c/li\u003e\n\u003cbr\u003e\n## 🚀 Getting Started\n\nFollow these steps to get the project up and running on your local machine:\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/yourusername/actix-web-pastebin.git\n   cd actix-web-pastebin\n   ```\n\n2. **Build the project:**\n   ```sh\n   cargo build\n   ```\n3. **run the project:**\n   ```sh\n   cargo build\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitindahiya-dev%2Frust-pastebin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitindahiya-dev%2Frust-pastebin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitindahiya-dev%2Frust-pastebin/lists"}