Comments (11)
Looking at the app in browser, I think there's a couple places where we can use more of bootstrap to make the interface a little nicer. For example, if we use either the bootstrap grid or flexbox to align things with consistent margins, or perhaps combine the tracks accordion with bootstrap panels to clean that up a bit. That being said, I am be no means a UX designer so I understand just wanting to get something up and working. It looks pretty good for the most part!
from fresh_script.
One of these nights I'll try and open up a UI cleanup issue and link a PR with some of my ideas for utilizing bootstrap to do a bunch of css work for us.
from fresh_script.
Is the work in flask branch still going on or done with already? I would like to contribute as well.
from fresh_script.
Is there any reason why this project is limited to the hiphopheads subreddit? How about allowing the user to make a playlist based on their subreddit(s) of choice?
from fresh_script.
@dtcrout there is no real reason for the limitation on the subreddit, thats just where i was interested in pulling tracks from. i have had thoughts about opening it up to the other subreddits, but the problem is a lot of the code is written specifically for hhh posts. eventually id like to see the flask component of the project to be more of a reddit music browser. i do like the idea of using multiple subreddits for a playlist.
from fresh_script.
Like the idea of this project. Didn’t clone and run the app yet. But got some feature ideas:
a) allow the user to enter a sub and use the input to search
b) alllow user on the tracks UI to select tracks and add to the playlist proactively. Currently the UI is used to display tracks only?
c) extend playlist functionality to YouTube - query YouTube API and search for a music video of the track. This way you can listen to the song first. Or even create a YouTube playlist.
I could work on some of those ideas
from fresh_script.
@slammer23 sound like good ideas! i think feature a) might take some serious refactoring, but would probably be worthwhile. in b), if by ui you mean the flask app, right now all it really does is grabs the first 25 hot posts in r/hhh and renders those that are tracks, so anythings fair game on that front. as for c) im not sure the best way to handle youtube links, open to any suggestions
from fresh_script.
I will propose a version for a), we see where to go from there. If that is ok for you. Short explanation below.
My idea is to create a input form with FlaskForm on the landing page (index.html). I would integrate that input field into a bootstrap navbar. This way it will be visible on all pages + a home link. Home nav-item will jump to the index page and cleans the form.
After submitting the form with the search button, app jumps to the tracks function and re-uses the existing functionality. One change is to read the form value and search reddit based on that value.
from fresh_script.
Using the CodeHub app changed my screenname :)
from fresh_script.
@serdar23 go for it! honestly down for anything, current implementation is shit lol. my only reservation is that we preserve as much original script code is as possible. the origin of this project was to be able to scrap /r/hhh, and i would like at least that much to stay the same.
from fresh_script.
@bigpythonimish yes! work is still on going, its just happening in the master branch. i think i created that when i first started putting flask into the project, now its gone stale, so just branch off the master if youd like to contribute!
from fresh_script.
Related Issues (20)
- Consider using environment variables for sensitive information HOT 4
- Post upvote threshold option
- move getToken to appropriate location
- Search track titles to add only [FRESH] tagged tracks HOT 1
- clean up the way the arguments are displayed when given the -h option HOT 2
- display playlists for users to select from during config HOT 4
- add tracks to multiple playlists HOT 2
- playlist management HOT 2
- add to readme: using the pipfile HOT 1
- max tracks size
- output track info for unverified spotify posts HOT 4
- option to print more playlists HOT 3
- cron examples HOT 2
- Use cutie for menus HOT 1
- Find a favicon for flask HOT 8
- set up logging for flask HOT 14
- All cards open when clicked HOT 2
- Consolidate configuration to a single file HOT 3
- `praw.Reddit` instance does not use a unique user-agent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fresh_script.