{"id":25897412,"url":"https://github.com/l1ve4code/social-network-ai","last_synced_at":"2025-10-24T23:08:48.537Z","repository":{"id":278938478,"uuid":"746802342","full_name":"l1ve4code/social-network-ai","owner":"l1ve4code","description":"Server application that automates the creation of publications for social networks through the use of artificial intelligence","archived":false,"fork":false,"pushed_at":"2025-02-22T16:39:14.000Z","size":18872,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T17:30:04.900Z","etag":null,"topics":["ai","java","postgresql","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l1ve4code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-22T17:48:44.000Z","updated_at":"2025-02-22T16:39:18.000Z","dependencies_parsed_at":"2025-02-22T17:40:21.896Z","dependency_job_id":null,"html_url":"https://github.com/l1ve4code/social-network-ai","commit_stats":null,"previous_names":["l1ve4code/social-network-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Fsocial-network-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Fsocial-network-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Fsocial-network-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l1ve4code%2Fsocial-network-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l1ve4code","download_url":"https://codeload.github.com/l1ve4code/social-network-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241583450,"owners_count":19986003,"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":["ai","java","postgresql","spring"],"created_at":"2025-03-02T23:20:09.474Z","updated_at":"2025-10-24T23:08:43.487Z","avatar_url":"https://github.com/l1ve4code.png","language":"Java","readme":"# 🤖 SocialNetwork AI\n\n## About\n\n**Short functionality demo:**\n\n| Tariff purchase                                       | Post generation                                       | Post publication                                        |\n|-------------------------------------------------------|-------------------------------------------------------|---------------------------------------------------------|\n| ![tariff-purchase](git-resources/tariff-purchase.gif) | ![post-generation](git-resources/post-generation.gif) | ![post-publication](git-resources/post-publication.gif) |\n\n- **Monetization model**: Paid monthly subscription \n- **Short description:** Server application that automates the creation of publications for social networks through the use of artificial intelligence\n\n### Technologies\n\n* Language: **Java, SQL**\n* Technologies: **Spring Framework, OpenAPI Generator, Quartz, Liquibase**\n* Database: **PostgreSQL, Minio S3, Prometheus**\n* Monitoring: **Grafana**\n* Deploy: **Docker**\n* API: **ChatGPT** _(text generation)_, **Kandinsky** _(image generation)_, **Yookassa** _(payment acceptance)_\n\n## Installing\n\n### Clone the project\n\n```shell\ngit clone https://github.com/l1ve4code/social-network-ai.git\n```\n\n### Set your values in docker-compose.yml or docker-compose-local.yml\n\n_(For example: username, password and etc, or **use defaults**)_\n\n```yaml\n    postgres:\n        container_name: postgres_container\n        image: postgres:16-alpine\n        ports:\n          - \"5432:5432\"\n        environment:\n            POSTGRES_USER: \u003cuser\u003e\n            POSTGRES_PASSWORD: \u003cpassword\u003e\n        volumes:\n          - pg-data:/var/lib/postgresql/data\n        restart: unless-stopped\n\n    minio:\n        container_name: minio_container\n        image: minio/minio:RELEASE.2024-06-13T22-53-53Z\n        command: server --console-address \":9001\" /data/\n        ports:\n            - \"9000:9000\"\n            - \"9001:9001\"\n        restart: on-failure\n        environment:\n            MINIO_ROOT_USER: \u003cuser\u003e\n            MINIO_ROOT_PASSWORD: \u003cpassword\u003e\n        volumes:\n          - minio-storage:/data\n```\n\n### Replace the gaps in the config with your values\n\n_(Properties path: src/main/properties.d/production.properties)_\n\n```properties\napplication.host.address=\u003chost-address\u003e\n\nspring.datasource.url=jdbc:postgresql://\u003chost\u003e:5432/\u003cdbname\u003e\nspring.datasource.username=\u003cusername\u003e\nspring.datasource.password=\u003cpassword\u003e\nspring.datasource.driver-class-name=org.postgresql.Driver\n\nminio.user.name=\u003cusername\u003e\nminio.user.password=\u003cpassword\u003e\n\nspring.mail.username=\u003cusername\u003e\nspring.mail.password=\u003cpassword\u003e\n\nexternal.api.yookassa.id=\u003cid\u003e\nexternal.api.yookassa.secret=\u003csecret\u003e\n```\n\n### Project startup _(using IDE)_\n\n**Firstly**, you need to **run docker compose**\n\n```shell\ndocker compose -f docker-compose-local.yml up -d\n```\n\n**Secondly**, you need to **run mvn**\n\n```shell\nmvn clean compile\n```\n\nThen you need to start the **Java project** using **your IDE**\n\n### Project startup _(using Docker)_\n\nJust run this command and project will be built and launched automatically\n\n```shell\ndocker compose up -d\n```\n\n### Create Minio S3 bucket\n\nLog in to the Minio graphical interface using this link and credentials from **docker-compose.yml** _(or **docker-compose-local.yml**)_\n\n```markdown\n\u003cyour-ip\u003e:9001 (example: localhost:9001)\n```\n\nFollow the steps sequentially based on the images\n\n![minio-guide-1](git-resources/minio-guide-1.png)\n\nAs bucket name use **post-images** \n\n![minio-guide-2](git-resources/minio-guide-2.png)\n\nGood luck ✨\n\n## Author\n\n* Telegram: **[@live4code](https://t.me/live4code)**\n* Email: **steven.marelly@gmail.com**","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl1ve4code%2Fsocial-network-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl1ve4code%2Fsocial-network-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl1ve4code%2Fsocial-network-ai/lists"}