{"id":25747821,"url":"https://github.com/irfnrdh/csv-import-db","last_synced_at":"2026-06-12T08:32:49.268Z","repository":{"id":265717672,"uuid":"896542620","full_name":"irfnrdh/csv-import-db","owner":"irfnrdh","description":"Just another import db by directory wathing from ftp to database using rust","archived":false,"fork":false,"pushed_at":"2025-02-13T11:17:04.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-08T22:30:44.851Z","etag":null,"topics":["import-csv","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/irfnrdh.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-30T16:36:01.000Z","updated_at":"2025-02-13T11:19:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0c636cd-2c70-486b-8000-cac21a80ebc1","html_url":"https://github.com/irfnrdh/csv-import-db","commit_stats":null,"previous_names":["irfnrdh/csv-import-db"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/irfnrdh/csv-import-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfnrdh%2Fcsv-import-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfnrdh%2Fcsv-import-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfnrdh%2Fcsv-import-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfnrdh%2Fcsv-import-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irfnrdh","download_url":"https://codeload.github.com/irfnrdh/csv-import-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfnrdh%2Fcsv-import-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34236551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["import-csv","rust"],"created_at":"2025-02-26T12:18:13.341Z","updated_at":"2026-06-12T08:32:49.243Z","avatar_url":"https://github.com/irfnrdh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Database CSV Importer\n\n## 🚀 Overview\n\nA robust, flexible Rust-based CSV importer that supports multiple databases, real-time file watching, data validation, and notification systems.\n\n## ✨ Features\n\n- **Multi-Database Support**\n  - PostgreSQL\n  - MySQL\n  - MariaDB\n  - SQLite (Planned)\n\n- **Advanced CSV Processing**\n  - Real-time directory watching\n  - Automatic CSV file detection\n  - Data validation\n  - Duplicate detection\n  - Batch insertions\n\n- **Flexible Notifications**\n  - Telegram\n  - Email (Planned)\n  - Slack (Planned)\n  - Custom notification channels (Planned)\n\n## 🛠 Installation\n\n### Prerequisites\n\n- Rust (latest stable version)\n- Cargo\n- Database servers (PostgreSQL, MySQL)\n\n### Setup\n\n1. Clone the repository\n```bash\ngit clone https://github.com/irfnrdh/csv-import-db.git\ncd csv-import-db\n```\n\n2. Install dependencies\n```bash\ncargo build\n```\n\n## 📝 Configuration\n\nCreate a `config.toml` file with your database and notification settings:\n\n```toml\n[database]\ntypes = [\"postgresql\", \"mysql\"]\nhost = \"localhost\"\nport = 5432\nusername = \"your_username\"\npassword = \"your_password\"\n\n[notification]\ntelegram_token = \"your_telegram_bot_token\"\ntelegram_chat_id = \"your_chat_id\"\n```\n\n## 🚀 Usage\n\n```bash\ncargo run --release\n```\n\nGenerate Dataset Samples\n```bash\n cargo run --bin generate_csv\n```\n## 📂 Project Structure\n\n```\nmulti-db-csv-importer/\n│\n├── src/\n│   ├── main.rs             # Main application entry point\n│   ├── config/             # Configuration handling\n│   │   ├── mod.rs\n│   │   ├── database.rs\n│   │   └── notification.rs\n│   │\n│   ├── importers/          # CSV import logic\n│   │   ├── mod.rs\n│   │   ├── csv_processor.rs\n│   │   └── validator.rs\n│   │\n│   ├── database/           # Database connectors\n│   │   ├── mod.rs\n│   │   ├── mysql.rs\n│   │   ├── postgres.rs\n│   │   └── sqlite.rs\n│   │\n│   └── notifications/      # Notification systems\n│       ├── mod.rs\n│       ├── telegram.rs\n│       └── email.rs\n│\n├── tests/                  # Unit and integration tests\n│   ├── database_tests.rs\n│   └── importer_tests.rs\n│\n├── Cargo.toml              # Project dependencies\n├── Config.toml             # Project env\n├── README.md               # Project documentation\n├── LICENSE                 # Project license\n└── .gitignore              # Git ignore file\n```\n\n## 🧪 Testing\n\nRun tests with:\n```bash\ncargo test\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## 📧 Contact\n\nIrfannur Diah - irfnrdh@gmail.com\n\nProject Link: [https://github.com/irfnrdh/csv-import-db](https://github.com/irfnrdh/csv-import-db)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfnrdh%2Fcsv-import-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firfnrdh%2Fcsv-import-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfnrdh%2Fcsv-import-db/lists"}