GithubHelp home page GithubHelp logo

yliaho / restyle-for-reddit Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.46 MB

Publish subreddit stylesheets from your favorite code editor

License: MIT License

JavaScript 56.77% TypeScript 42.11% CSS 1.12%
css javascript reddit scss snoowrap typescript

restyle-for-reddit's People

Contributors

yliaho avatar

Watchers

 avatar  avatar

restyle-for-reddit's Issues

Make the process more streamlined

I'd like to make the compiling of the scss and publishing to subreddit into a one simple command. Right now, you need to watch for changes in the .scss directory and publish the compiled .css to reddit separately with yarn run watch and yarn run publish. node-sass is worth looking into, to make the process more streamlined and programmatic.

restyle.js is where all the magic is happening.

Better command line messages and notifications

Currently restyle barely uses any notifications about what it's doing. When you run restyle publish the only message it'll every spit out is when it has published the compressed css to the specified subreddit. Even that is quite unhelpful (Subreddit { display_name: subreddit_name }

Idea

When you run restyle publish it should communicate at least the following events with the end user;

  • When the restyle has started
    • Maybe have it spit out the config file in some fashion
  • When restyle noticed a file change and is about to compile the SCSS to CSS
  • When restyle is about to publish the compressed CSS to the specified subreddit

Make the messages pretty looking! Use colors!

In addition to that, the error messaging should be improved. Currently restyle throws an error with stack trace when it's missing required fields on the config file for example... It can look kinda scary.

rollup config is missing!

The rollup config is missing right now. Which makes it impossible to compile the typescript to target javascript in the bin folder.

I'll be adding the config file ASAP. I accidentally added it to .gitignore (oops)

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.