Spaces:
Build error
Build error
#:schema node_modules/wrangler/config-schema.json | |
name = "aiostreams" | |
main = "src/index.ts" | |
compatibility_date = "2024-12-24" | |
compatibility_flags = ["nodejs_compat"] | |
assets = { directory = "../frontend/out", binding = "ASSETS", experimental_serve_directly = false} | |
# Workers Logs | |
# Docs: https://developers.cloudflare.com/workers/observability/logs/workers-logs/ | |
# Configuration: https://developers.cloudflare.com/workers/observability/logs/workers-logs/#enable-workers-logs | |
[observability] | |
enabled = true | |
# Automatically place your workloads in an optimal location to minimize latency. | |
# If you are running back-end logic in a Worker, running it closer to your back-end infrastructure | |
# rather than the end user may result in better performance. | |
# Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement | |
# [placement] | |
# mode = "smart" | |
# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables) | |
# Docs: | |
# - https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables | |
# Note: Use secrets to store sensitive data. | |
# - https://developers.cloudflare.com/workers/configuration/secrets/ | |
[vars] | |
ADDON_ID="aiostreams.cfworker.bolabaden" | |
ADDON_NAME="BadenAIO (CloudFlare)" | |
DETERMINISTIC_ADDON_ID=false | |
SECRET_KEY="1070c705d193441da9fce510d5977e824686d5d0a0ab44bc8d8cb006ff64ee82" | |
API_KEY="sk_4dc059c0399c43fd94c09baaf0b94da119fc526775914bf2b3a3fb6e073e26d9" | |
LOG_LEVEL="debug" | |
LOG_FORMAT="text" | |
LOG_SENSITIVE_INFO=true | |
MAX_ADDONS=50 | |
MAX_KEYWORD_FILTERS=30 | |
DEFAULT_STREMTHRU_URL="https://stremthru.bolabaden.org/" | |
DEFAULT_STREMTHRU_CREDENTIAL="[email protected]:Hilogirl80!" | |
ENCRYPT_STREMTHRU_URLS=true | |
COMET_URL="http://comet.elfhosted.com/" | |
MEDIAFUSION_URL="http://mediafusion.elfhosted.com/" | |
JACKETTIO_URL="https://jackettio.elfhosted.com/" | |
DEFAULT_JACKETTIO_INDEXERS='["1337x", "animetosho", "anirena", "limetorrents", "nyaasi", "solidtorrents", "thepiratebay", "torlock", "yts"]' | |
DEFAULT_JACKETTIO_STREMTHRU_URL="https://stremthru.bolabaden.org" | |
STREMIO_JACKETT_URL="https://stremio-jackett.elfhosted.com/" | |
DEFAULT_STREMIO_JACKETT_TMDB_API_KEY="cec876f852b9c15d2c1b436b1117dff7" | |
STREMIO_JACKETT_CACHE_ENABLED=true | |
STREMTHRU_STORE_URL="https://stremthru.bolabaden.org/stremio/store/" | |
# Add other non-sensitive environment variables here | |
# Bind the Workers AI model catalog. Run machine learning models, powered by serverless GPUs, on Cloudflare’s global network | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai | |
# [ai] | |
# binding = "AI" | |
# Bind an Analytics Engine dataset. Use Analytics Engine to write analytics within your Pages Function. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets | |
# [[analytics_engine_datasets]] | |
# binding = "MY_DATASET" | |
# Bind a headless browser instance running on Cloudflare's global network. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering | |
# [browser] | |
# binding = "MY_BROWSER" | |
# Bind a D1 database. D1 is Cloudflare’s native serverless SQL database. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases | |
# [[d1_databases]] | |
# binding = "MY_DB" | |
# database_name = "my-database" | |
# database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | |
# Bind a dispatch namespace. Use Workers for Platforms to deploy serverless functions programmatically on behalf of your customers. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms | |
# [[dispatch_namespaces]] | |
# binding = "MY_DISPATCHER" | |
# namespace = "my-namespace" | |
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model. | |
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects | |
# [[durable_objects.bindings]] | |
# name = "MY_DURABLE_OBJECT" | |
# class_name = "MyDurableObject" | |
# Durable Object migrations. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#migrations | |
# [[migrations]] | |
# tag = "v1" | |
# new_classes = ["MyDurableObject"] | |
# Bind a Hyperdrive configuration. Use to accelerate access to your existing databases from Cloudflare Workers. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive | |
# [[hyperdrive]] | |
# binding = "MY_HYPERDRIVE" | |
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
# Bind a KV Namespace. Use KV as persistent storage for small key-value pairs. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces | |
# [[kv_namespaces]] | |
# binding = "MY_KV_NAMESPACE" | |
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
# Bind an mTLS certificate. Use to present a client certificate when communicating with another service. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates | |
# [[mtls_certificates]] | |
# binding = "MY_CERTIFICATE" | |
# certificate_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | |
# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#queues | |
# [[queues.producers]] | |
# binding = "MY_QUEUE" | |
# queue = "my-queue" | |
# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#queues | |
# [[queues.consumers]] | |
# queue = "my-queue" | |
# Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets | |
# [[r2_buckets]] | |
# binding = "MY_BUCKET" | |
# bucket_name = "my-bucket" | |
# Bind another Worker service. Use this binding to call another Worker without network overhead. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings | |
# [[services]] | |
# binding = "MY_SERVICE" | |
# service = "my-service" | |
# Bind a Vectorize index. Use to store and query vector embeddings for semantic search, classification and other vector search use-cases. | |
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes | |
# [[vectorize]] | |
# binding = "MY_INDEX" | |
# index_name = "my-index" | |