Skip to content

marklocklear/remote_gig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

https://remotegig.locklear.me/

Rails app that pulls jobs from various job and company website. See the list in lib/tasks/get_jobs.rake. get_jobs.rake is a rake task that runs nightly.

Vanilla Rails app. Follow these steps to run locally:

  • git clone https://github.com/marklocklear/remote_gig/
  • rails db:migrate
  • rails db:seed to add 50 jobs from stackoverflow or rails get_jobs to get all jobs (have a snickers 🍫 it might take a while)
  • rails server then go to localhost:3000 in your browser

Most jobs are pulled from rss or json feeds, but some (like Mozilla) are using Nokogiri to pull/parse html. Here is a compresensive list of job pages:

The app sends two tweets a day that is posted at https://twitter.com/myremotegig. See lib/tasks/send_tweet.rake for those jobs.

Badges are handled in app/models/job.rb

Order of jobs is handled in app/models/job.rb. I did this to better order/randomize the jobs that are listed on the front page. The majority of the jobs are from Stackoverflow and without this code that is mostly all you would see.

Tagging uses acts_as_taggable. To add a tag term (language or framework) just add the term to the tags array in the job.rb.

Jobs feed is at https://remotegig.io/jobs.json (returns all jobs); Jobs may be paginated by passing the page number along as a parameter: https://remotegig.io/jobs.json?page=2; you an get jobs by tag with with https://remotegig.io/jobs.json?tag=nativescript or by search term with https://remotegig.io/jobs.json?utf8=%E2%9C%93&search_term=python.

More Remote Resources