Open zverok opened 6 years ago
Hi Victor, I am interested to work on this project. I am a Ruby developer with 1 year of Ruby experience. Am I eligible to work on this project? Please let me know. Thank you.
Am I eligible to work on this project?
Of course! Do you have any ideas of where to start, or do you want me to give you some initial steps and hints?
It will be great if you would be kind to give some initial guidance on how to approach it.
OK then! As I see it, the very first steps could be those:
/conferences/
(links to all), /conferences/<conferenceid>
(metainformation about the conference + list of talks), conferences/<id>/talks/<talkid>
(particular talk with info, links to slides, embedded video)How it sounds? Let me know if something is unclear in this plan (especially first stages of it, the later stages intentionally left generic, we can discuss them in more details later)
Thank you Victor for detailed instructions. I believe I can start working it. Where do I create the repo? Or will you create a repo with basic folder and file structure and give me the access to work on it? Please let me know. ᐧ
On Fri, Mar 2, 2018 at 1:15 AM, Victor Shepelev notifications@github.com wrote:
OK then! As I see it, the very first steps could be those:
- Go to http://rubyconferences.org/past/ and select some conferences that have videos published...
- For completeness, select:
- one with videos and slides right on the site, for ex. RubyKaigi: http://rubykaigi.org/2017
- one with the site containing only talk announces, and videos on YouTube playlist, for ex. EuRuko: https://www.euruko2017.org/ schedule/ (videos, could be found through Twitter: https://www.youtube.com/playlist?list=PLCrwBqiOtwpIRdk4VMfD6hbFVHZoK OyMg https://www.youtube.com/playlist?list=PLCrwBqiOtwpIRdk4VMfD6hbFVHZoKOyMg and https://www.youtube.com/playlist?list= PLCrwBqiOtwpINmaC2eBX8QHuLYngECD19&disable_polymer=true https://www.youtube.com/playlist?list=PLCrwBqiOtwpINmaC2eBX8QHuLYngECD19&disable_polymer=true )
- (for later) say, one with the site preserved only in webarchive: http://web.archive.org/web/20150927215820/http:// rubyconf.org/program http://web.archive.org/web/20150927215820/http://rubyconf.org/program and videos on Confreaks.tv: http://confreaks.tv/events/rubyconf2015
- Now, we need from all of the examples above, produce some YAML (one file per conference) with the list of talks, containing, probably:
- title
- announce
- link to slides, if available
- link to video, wherever it is
- speaker name
- speaker bio/about
- link to speaker's photo if available
- talk's date/time (for historical reasons)
- some conference meta information (title, date, place, description)
- I recommend trying to write conference site scrapers with wombat https://github.com/felipecsl/wombat, it seems the most appropriate tool
- for YouTube, it probably would be wise to use official YouTube Ruby client library (and you'll need to match titles of talks on YouTube with titles on conference site, be careful)
- Then, when you have YAML with all the data, you can try writing renderers of all the data into a static site, probably with the help of middleman https://github.com/middleman/middleman. For the first iteration, nothing fancy should be done, just pages like /conferences/ (links to all), /conferences/
(metainformation about the conference + list of talks), conferences/ /talks/ (particular talk with info, links to slides, embedded video) - Next step would be to cover all conferences in existence with parsers (sometimes it will also require some digging the web for their long-gone sites, but videos are mostly on YouTube and still present) and have a HUGE bunch of parsed YAML files
- probably, some small DSLs would emerge to DRY this task, like "This conference has a site at that URL, use this Wombat definitions and fetch videos from those YouTube playlists, and match their titles to conference program with this regexp" or something, we'll see.
- And then "site crafting" stage comes, which we'll probably discuss and experiment more when the time will come.
How it sounds? Let me know if something is unclear in this plan (especially first stages of it, the later stages intentionally left generic, we can discuss them in more details later)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zverok/lmsa/issues/7#issuecomment-369852266, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOB6pgKAhP1wJfTzvjZukqsIOWhk8MZks5taP-VgaJpZM4SRLbn
Where do I create the repo?
Just do it in your personal GitHub for now. Then, when the work would be close to publishing, we'll create separate GitHub organization and you'll "transit" repo there (GitHub allows this). The separate organization (something like ruby-talks
or something) is needed because GitHub will provide nice org-name.github.io
domain name.
Or let's create org immediately, in fact :) Going to it.
https://github.com/ruby-talks-archive/ruby-talks Here we go. You should have access to it.
Hi Victor, just pushed my first commit to ruby-talks under repo named "videotalks". The first one i.e videos.rb is working. Please advise why creating class and specifying model Wombat::Crawler is not working. Thank you.
Hi Victor, has this progressed since the last update? I would be interested to contribute if I can. Thank you for organising these projects!
@Krass101 Nope, nothing changed for the project since the discussion in this issue :woman_shrugging:
I'd be glad if you'll contribute your work to this project, and I am ready to answer any questions and provide other help whenever you need.
@zverok thanks for your offer to help! I have started my own repo and will make small updates every day. I am still learning ruby, wombat and other gems. My goal is to use a TDD approach and as a first step I have written the basic code to scrape the speech titles of the RubyKaigi 2018 conference. My repo is here: https://github.com/Krass101/ruby-talks
Do you have a preferred way for me to ask you questions? I can collect them somewhere and either send to you at once or maintain a list in the repo?
@Krass101 We can discuss things at https://gitter.im/molybdenum-99/rubytalks (it is chat service that is easy to log in from GitHub, and easy to discuss code in), or you can drop me an email at zverok.offline@gmail.com (but Gitter is more convenient).
As for starting the work -- I believe the very first steps could be to just save some page(s) of the conference of interest locally and write some specs saying "I can extract this and that data from the page", this would be a good start (and will also be head-first so you'll see if you love to work on problems like this) which is easy to achieve.
Project
Gather (automatically and semi-automatically) as much talk videos from Ruby conferences as there are exist, and provide a nice browsing interface for them.
Plan
Importance
There are a lot of good material over there gathered through 25 years of Ruby, and a huge part if it is available online, providing learning, discovery and historical interest. Somebody just should do something about it.
Skills and domains
You will do a lot of automated web scraping, and site generation, as well as generalizing a lot of non-generic data in a bearable way.