yliaho / restyle-for-reddit Goto Github PK
View Code? Open in Web Editor NEWPublish subreddit stylesheets from your favorite code editor
License: MIT License
Publish subreddit stylesheets from your favorite code editor
License: MIT License
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.
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 }
When you run restyle publish
it should communicate at least the following events with the end user;
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.
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)
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.