Coder Social home page Coder Social logo

recorder-moe / opengraphtagbuilder Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 97 KB

Dynamically build open graph meta tags. (Cloudflare Worker with GitHub CI/CD)

License: GNU Affero General Public License v3.0

TypeScript 94.07% JavaScript 5.93%
cloudflare-worker cloudflare-workers metatags opengraph-tags cloudflare

opengraphtagbuilder's Introduction

Open Graph Tag Builder (Cloudflare Worker with GitHub CI/CD)

查詢資料庫並動態產生 Open Graph 資訊和 Sitemap,提供外部預覧和搜索引擎爬蟲使用。使用 GitHub CI 部屬至Cloudflare。

Setup

Deploy to Cloudflare Workers

GitHub repository secrets

  • DATABASE_SERVICE: COUCHDB or COSMOSDB
  • COSMOS_KEY: CosmosDB readonly key
  • COSMOS_ENDPOINT: Public CosmosDB endpoint. (ex: https://myaccount.documents.azure.com:443/)
  • COUCH_ENDPOINT: CouchDB endpoint with readonly username:password. (ex: https://username:[email protected]/ ← trailing slash is required)
  • BLOB_ENDPOINT_PUBLIC: Public Blob Storage endpoint. Get this from where your public thumbnail images can be accessed. (ex: This is a image url from our demo site, and this is the setting used here: https://s3.recorder.moe/livestream-recorder-public/ ← trailing slash is required)

References

Cloudflare Workers documentation

https://developers.cloudflare.com/workers/

Azure Cosmos DB client for Cloudflare Workers

https://www.npmjs.com/package/@cfworker/cosmos

LICENSE

Warning

This Open Graph Tag Builder project is licensed under AGPLv3, means that you MUST open source your project to your end user (who can access the website processed by this worker) when you are using this project or using any code from this project. You can publicly fork this project and provide a link to your repository when users ask for it.

open graph

GNU AFFERO GENERAL PUBLIC LICENSE Version 3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

opengraphtagbuilder's People

Contributors

jim60105 avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.