{"id":15133052,"url":"https://github.com/rulen111/vkcc-auto","last_synced_at":"2026-02-07T18:34:14.977Z","repository":{"id":255735819,"uuid":"853381290","full_name":"rulen111/vkcc-auto","owner":"rulen111","description":"Tiny flask application for automated link shortening via vk.cc service.","archived":false,"fork":false,"pushed_at":"2024-10-02T14:56:55.000Z","size":1168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T22:18:29.531Z","etag":null,"topics":["flask","vk-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rulen111.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-09-06T14:42:28.000Z","updated_at":"2024-10-02T14:56:59.000Z","dependencies_parsed_at":"2024-12-19T04:42:21.267Z","dependency_job_id":null,"html_url":"https://github.com/rulen111/vkcc-auto","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"3491ee6199747b02a4cbe2cdef9529a3ca8f9262"},"previous_names":["rulen111/vkcc-auto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rulen111/vkcc-auto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulen111%2Fvkcc-auto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulen111%2Fvkcc-auto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulen111%2Fvkcc-auto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulen111%2Fvkcc-auto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rulen111","download_url":"https://codeload.github.com/rulen111/vkcc-auto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rulen111%2Fvkcc-auto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["flask","vk-api"],"created_at":"2024-09-26T04:43:39.740Z","updated_at":"2026-02-07T18:34:14.962Z","avatar_url":"https://github.com/rulen111.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VKcc Auto\nTiny flask application for automated link shortening via [vk.cc](https://vk.com/cc) service.\nTakes a `.xlsx` file with links and returns the same file but with shortened links alongside the old ones.\n\n## Run with docker-compose\n1. **Clone this repository:**\u003cbr\u003e\n`git clone https://github.com/rulen111/vkcc-auto.git`\n2. **Configure environment `./.env`**\n3. **Run everything:**\u003cbr\u003e\n`docker-compose up --build`\n\n___\n\n## Installation\n1. **Clone this repository:**\u003cbr\u003e\n```git clone https://github.com/rulen111/vkcc-auto.git```\n\n2. **Create virtual environment and install requirements:**\u003cbr\u003e\n```pip install -r requirements.txt```\n\n3. **Configure the application:**\u003cbr\u003e\nApplication's default settings can be found in `./vkcc_auto/config` module. Since this application sends request to VK API, along with flask app's `SECRET_KEY` user must provide a valid [VK API access token](https://dev.vk.com/ru/api/access-token/getting-started) of any type.\nOne way to do that is to create a separate config file with app's secret key and an access token (i.e. `my_config.cfg`) and set an environment variable `VKCCAUTO_SETTINGS` pointing to that file.\u003cbr\u003e\n   **Config file:**\u003cbr\u003e\n    ```\n    SECRET_KEY = \"\u003cyour secret key\u003e\"\n    TOKEN = \"\u003cyour access token\u003e\"\n    ```\n    **Setting env variable:**\n    ```\n   export VKCCAUTO_SETTINGS=/path/to/my_config.cfg\n   ```\n4. **Configure celery:**\u003cbr\u003e\nThis application uses [Redis](https://docs.celeryq.dev/en/stable/getting-started/backends-and-brokers/redis.html#broker-redis) by default. Therefore, you need to have redis backend installed on your system in order to run this application. The easiest way is to use docker:\u003cbr\u003e\n   ```\n   docker run -d -p 6379:6379 redis\n   ```\n   You can use any compatible message broker, but make sure to change the celery configuration in `./vkcc_auto/config`:\u003cbr\u003e\n   ```\n   CELERY = dict(\n            broker_url=\"\u003cyour broker url\u003e\",\n            result_backend=\"\u003cyour broker url\u003e\",\n    )\n   ```\n\n## How to use\n1. **Make sure your app is configured**\n2. **Run celery backend:**\u003cbr\u003e\nStartup your message broker (redis by default) and run the Celery worker server using `./make_celery.py`:\u003cbr\u003e\n   ```\n   celery -A make_celery worker -l info -P solo\n   ```\n3. **Deploy application:**\u003cbr\u003e\nUsing `flask` built-in development server:\u003cbr\u003e\n    ```\n    flask --app vkcc_auto run\n    ```\n    Or using `gunicorn`:\n    ```\n   gunicorn -b 0.0.0.0:8000 -w 4 'vkcc_auto:create_app()'\n   ```\n4. The application has only one page and it's pretty straightforward. Choose a `.xlsx` file with links, press SUBMIT button and wait for an output file download. Main page also provides a dynamic progress bar for tracking task progress.\n---\n\u003cimg alt=\"app-front\" src=\"img/app-front.gif\" title=\"application-index-page\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frulen111%2Fvkcc-auto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frulen111%2Fvkcc-auto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frulen111%2Fvkcc-auto/lists"}