Git Product home page Git Product logo

stylebase's Introduction

stylebase's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar rudnovd avatar vchet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stylebase's Issues

Custom style description

For some styles, a description would be needed. For example: I have a style (Darklearning) which technically is a style for the moodle system, but is specifically for the moodle platform that our school uses. So it'd be nice if I could tell people that this is a style that isn't really applicable if they're not going to the TGM.

Also, a summary of what the style does, what the style doesn't and what the style will do in the future would be nice to being able to include.

I can't open styles while logged in?

I can't open any styles after logging in with my github account. The scrollbar gets locked & the url is being changed, but the userstyle card doesn't show. After logging out, it worked again, but after loggin in again, it didn't.

overview: style card star count clashes with update time if either is too long

context: I have a pretty small display, so I might be the only one that cares, but it currently looks like this.

Since that's kinda ugly and hard to read, I have already made a solution (in raw css because I can't do js, sorry, no PR for you today):

You have to set margin-right:0.75em (or more or less, idc) to the star <span> and flex-wrap:wrap; to the <div> it's in.

Here's a screenshot of how that looks.

Parse target urls from style metadata & make them searchable

should be easy enough to parse โ€“ urls are always between @-moz-document and {, so you would only have to get the string in-between and see if it's a regex, a direct url, a prefix or a domain rule. From there, you can just take the rule. Maybe let the user be able to change it & rescan it when the style updates.

Then, add it to the searching algorithm. Idk if that's too heavy for the server, but you could try checking the regex on search.

I don't know how easy or hard this would be to implement since I have no idea what your project does in the backend, but I think the people would love that feature.

Allow forked repos

I am new to making userstyles, but I recently made one for ecosia.org in stylus based on the horizon vscode theme.
Since that is the main theme of my machine, I forked the repo planning to add all my themes with the same colorscheme there. First I added the theme i had made for Ecosia earlier and decided to read up on how to make it shareable to everyone. Then I tried to upload it to the site, getting the error "horizon-theme repository is forked".

TLDR; Theme of my own creation inside forked repo, forked repos not allowed, what do

Implement social media metadata for style pages

This would be fairly easy to implement on this backend โ€” I could submit a pull request. The only complication is that it requires backend rendering of the <head> element of the page. If you tell me a preferred backend HTML preprocessing library to use for this backend (I've worked with a lot of them & don't have a strong preference), I'd be happy to get right on implementing this :)

Here's an example of what I'm talking about:

StyleBase (right now)

2021-07-06-015151_1181x337_escrotum

Stylish Userstyles.org

2021-07-06-015112_1180x340_escrotum

UserStyles.world

2021-07-06-015102_1173x706_escrotum

Add support for Gitea

This is what Gitea is

Since it is self-hosted, they'll have different URL's.
So for Usernames, you could have something like @Username@DomainURL like how Decentralized Social Media does it (Mastodon, Pleroma, Friendica, etc.)

I currently host all of my themes on https://codeberg.org/ (which uses Gitea), so it would be nice to be able to use that instead of having to do something like Mirroring all of my repo's to GitHub

Fix footer to the bottom of page

If I want to click any link in the footer, the styles begin to load and push the footer down.
The solution would be letting the footer just float at the bottom of the screen.

pseudo css code of what I mean:

footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100vw;}

improve keyword search

I kinda have the problem where when I search for "wiki" (without quotes), the wikipedia styles don't show up because its searching for the full term. Maybe you could implement a searching algorithm that just searches if the search term is present as a substring instead of a word? And also maybe implement a google-esque search engine, including quoting stuff for exact matches, prepending dashes for excluding stuff and similar stuff. I'm sure you can solve this problem.

Use own rating system instead of Github's / Codeberg's

Since you're now able to add styles from the same repository, those styles will share the amount of stars it has gained. This can become an issue for example when sorting by Most Liked and the same author is shown multiple times due to their themes sharing the same amount of stars on their repo.

Editing styles acting weird

I've tried to edit my Twitter For Mastodon theme to add a thumbnail image, I've pasted in the link, pressed 'Edit', and, it's changed the thumbnail, but it now has the name and description of another theme??? I haven't touched the name & description fields, all I did was change the image.
This kind of thing also happened when I tried to edit my other styles.

Not sure how else to explain it. But it is incredibly annoying

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.