Giter VIP home page Giter VIP logo

Comments (7)

gingervitis avatar gingervitis commented on May 21, 2024 1

After clarifying with @gabek how this would work, I think it currently makes sense to put this all the info into one file. I like the idea of having set restricted types of these fields which would allow us to have a more consistent and controllable look and feel across Owncast instances.

And in this case, if we ever need to add a new configurable frontend field, all instances would need to be updated to use it because the config structure has changed and the frontend markup will have most likely changed.

from owncast.

gabek avatar gabek commented on May 21, 2024 1

@graywolf336 Heads up, this is changed in master, so now both frontend and backend has a single config location.

from owncast.

gabek avatar gabek commented on May 21, 2024 1

Ok, it now looks like this:

"socialHandles": [
{
"platform": "twitter",
"url": "http://twitter.com/owncast"
},
{
"platform": "instagram",
"url": "http://instagram.biz/owncast"
},
{
"platform": "facebook",
"url": "http://facebook.gov/owncast"
},
{
"platform": "tiktok",
"url": "http://tiktok.cn/owncast"
},
{
"platform": "soundcloud",
"url": "http://soundcloud.com/owncast"
}

from owncast.

gingervitis avatar gingervitis commented on May 21, 2024

..On that note, can I make a request to add a couple fields to the config? 😁

  • allow for different logo image sizes,
logo: {
  small: "logo64x64.png",
  large: "logo256x256.png",
},
...
  • string to the "extra" static info content.md field.. Perhaps something along the lines of:
{
  ...
  extraUserInfoFileName: "/static/content-example.md",
}

(Sorry I can't think of a better name for that right now)

from owncast.

gabek avatar gabek commented on May 21, 2024

On it!

from owncast.

graywolf336 avatar graywolf336 commented on May 21, 2024

Awesome!! 🎉

from owncast.

gingervitis avatar gingervitis commented on May 21, 2024

@gabek One more request, regarding the social list in the config-
Can you make that list an array, that would end up looking like this:
[
{platform: "facebook", url: "http.."},
{platform: "instagram", url: "http.."}
]

This will let users order their social acts by priority.

from owncast.

Related Issues (20)

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.