dragos-efy / efy Goto Github PK
View Code? Open in Web Editor NEWUser Customizable CSS / JS framework. Private, modular & convergent apps
Home Page: https://efy.ooo
License: GNU Affero General Public License v3.0
User Customizable CSS / JS framework. Private, modular & convergent apps
Home Page: https://efy.ooo
License: GNU Affero General Public License v3.0
efy.ooo always uses dark by default
Hi,
the icon used to access Efy UI setting is too generic since the same is used by some sites.
As you can see, there are two "3 lines button" that are nearly the same except minor colour differences. The top one is for piped's settings, meanwhile the middle one is for Efy UI settings
Thanks
Luca
The icon on the button that opens the UI customization button is just a generic hamburger menu, that may cause confusion for some users as it might be interpreted as some kind of sidebar for the website, not as a theme customization menu.
Therefore, I suggest using a different icon. I don't know how icons are handled in EFY, but I found the palette
icon on Font Awesome: https://fontawesome.com/icons/palette?f=classic&s=solid
It would be better from a UX perspective, because it is much more descriptive than the generic hamburger menu.
It would be really cool if there was a way to use EFY with static site generators like Hugo, Doks, Jekyll or documentation generators like Docusaurus and MkDocs. I know that an injector feature is coming, but dedicated integrated for the aforementioned frameworks would be nice to see.
For example, Piped is currently migrating to EFY for the UI in their client. If this feature was implemented, they could also use the same coherent design system for all of their other stuff, like the documentation page.
From Readme:
translate it into multiple languages statically (contact me if you know how)
Static translation can be done with json files like in deadlyjack/Acode.
I think, you should create a module named "efy-lang" or "efy-localization" and load&parse needed JSON from efy/lang/
directory.
Then use json keys in code instead of hardcoded strings.
Here is a pseudocode:
// javascript
const lang = 'en-us'
const content = get_file(`${langPath}/${lang}.json`)
const strings = JSON.parse(content)
set_button_text(strings.button_text)
// en-us.json
{
"button_text": "I'm a button!",
...
}
// ru-ru.json
{
"button_text": "Я - кнопка!",
...
}
The language (en-us, ru-ru, de-de, pt-br) can be set in EFY UI settings or/and automatically detected from navigator.language
(for old browsers: navigator.userLanguage
).
Also, I can help you with translating to Russian.
Hello, I signed up yesterday on https://efy.piped.pages.dev/. Really loving the customization and improvements it offers for the piped UI/UX. Thank you for your work.
I'm using Librewolf (121.0) if that matters.
Unfortunately I am not able to import my subscriptions from either YT or NP. I select the file, it shows the number of subscriptions (122) but when I click import, nothing ever happens (with override selected and not selected). No warning, error out, or message of any kind. I've also tried it connected to / not connected my VPN. Same result either way. Ideas?
(I haven't tried playlists because the instance I have mine on has been down for a day so I haven't been able to export them.)
It would be great to be able to use EFY with the node package manager instead of having to download and update the code manually each time features get added/improvements get made, see https://docs.npmjs.com/creating-and-publishing-scoped-public-packages for reference.
Benefits would be that
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.