Compare commits
2 Commits
5bbee7caa6
...
0d4b81a34a
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d4b81a34a | |||
| 4f00554147 |
@@ -2,6 +2,14 @@
|
|||||||
name = "ae_anons"
|
name = "ae_anons"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
license = "MIT"
|
||||||
|
license-file = "LICENSE"
|
||||||
|
authors = ["Your Name <a.barabanov@tvstart.ru>"]
|
||||||
|
description = "Automated Nexrender job generator from Synology Office spreadsheets"
|
||||||
|
repository = "https://git.tvstart.ru/lexx/AE_Anons"
|
||||||
|
readme = "README.md"
|
||||||
|
keywords = ["nexrender", "after-effects", "synology", "automation"]
|
||||||
|
categories = ["command-line-utilities", "multimedia"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest = { version = "0.12", features = ["json", "multipart", "stream"] }
|
reqwest = { version = "0.12", features = ["json", "multipart", "stream"] }
|
||||||
|
|||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 [Your Name or Company]
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
36
README.md
36
README.md
@@ -1,5 +1,7 @@
|
|||||||
# AE Anons - Автоматизированный генератор спортивных анонсов After Effects
|
# AE Anons - Автоматизированный генератор спортивных анонсов After Effects
|
||||||
|
|
||||||
|
[](https://opensource.org/licenses/MIT) [](https://www.rust-lang.org/) [](https://git.tvstart.ru/lexx/AE_Anons)
|
||||||
|
|
||||||
Автоматизированная система для создания спортивных анонсов с использованием шаблонов After Effects через Nexrender, с данными из электронных таблиц Synology Office.
|
Автоматизированная система для создания спортивных анонсов с использованием шаблонов After Effects через Nexrender, с данными из электронных таблиц Synology Office.
|
||||||
|
|
||||||
## Обзор
|
## Обзор
|
||||||
@@ -34,7 +36,7 @@ AE Anons автоматизирует создание видеороликов
|
|||||||
### 1. Клонирование репозитория
|
### 1. Клонирование репозитория
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/your-org/ae_anons.git
|
git clone https://git.tvstart.ru/lexx/AE_Anons.git
|
||||||
cd ae_anons
|
cd ae_anons
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -51,12 +53,17 @@ cargo build --release
|
|||||||
Создайте файл `.env` в корне проекта:
|
Создайте файл `.env` в корне проекта:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
NAS_FQDN=https://your-synology-nas.example.com:5001
|
# Synology NAS
|
||||||
NAS_USER=service_account
|
NAS_FQDN=https://your-nas.domain.com
|
||||||
NAS_PASS=secure_password
|
NAS_USER=your_username
|
||||||
NAS_FILE=/Team Folder/Broadcast/Auto_Anons/schedule.osheet
|
NAS_PASS=your_password
|
||||||
NEXRENDER_API_URL=http://nexrender-server:3000/api/v1/jobs
|
NAS_FILE=/team-folders/path/to/your/file.osheet
|
||||||
OUTPUT_FOLDER=//file-server/edit/Auto_Anons
|
|
||||||
|
# Nexrender
|
||||||
|
NEXRENDER_API_URL=http://your-nexrender-server:3000/api/v1/jobs
|
||||||
|
OUTPUT_FOLDER=//your-storage/path/to/output
|
||||||
|
|
||||||
|
# Logging
|
||||||
RUST_LOG=info
|
RUST_LOG=info
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -326,7 +333,20 @@ src/
|
|||||||
|
|
||||||
## Лицензия
|
## Лицензия
|
||||||
|
|
||||||
Ещё не выбранна
|
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|
||||||
|
### What does this mean?
|
||||||
|
|
||||||
|
- ✅ **Commercial use** - You can use this in your company
|
||||||
|
- ✅ **Modification** - You can change the code as you wish
|
||||||
|
- ✅ **Distribution** - You can share it with others
|
||||||
|
- ✅ **Private use** - You can use it privately
|
||||||
|
|
||||||
|
The only requirement is to keep the copyright notice and license text.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Made with 🦀 Rust and ☕ coffee
|
||||||
|
|
||||||
## Поддержка
|
## Поддержка
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ mod config;
|
|||||||
mod nexrender;
|
mod nexrender;
|
||||||
mod synology;
|
mod synology;
|
||||||
|
|
||||||
use anyhow::{anyhow, Context, Result};
|
use anyhow::{anyhow, Result};
|
||||||
use calamine::{Data, Reader, Xlsx};
|
use calamine::{Data, Reader, Xlsx};
|
||||||
use chrono::{Duration, NaiveDate};
|
use chrono::{Duration, NaiveDate};
|
||||||
use config::Config;
|
use config::Config;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![allow(dead_code)]
|
||||||
use chrono::{Datelike, NaiveDate};
|
use chrono::{Datelike, NaiveDate};
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![allow(dead_code)]
|
||||||
use log;
|
use log;
|
||||||
use reqwest::{
|
use reqwest::{
|
||||||
multipart::{Form, Part},
|
multipart::{Form, Part},
|
||||||
|
|||||||
Reference in New Issue
Block a user