Coder Social home page Coder Social logo

ya1sec / moonjump Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 45.79 MB

A server that redirects you to a random page harvested from are.na or Hacker News.

Home Page: https://moonjump.app

License: MIT License

Python 2.95% HTML 5.27% JavaScript 77.36% Procfile 0.01% CSS 14.41%
arena flask hackernews

moonjump's Introduction

moonjump

Moonjump

Moonjump is a server that redirects you to a random page harvested from are.na, Hacker News, or Marginalia Search.

Usage

Try it out: moonjump.app

There are a few ways to make shortcuts to moonjump

  1. Add https://moonjump.app/jump to your bookmarks bar and use it to jump to a random page.
  2. If you have OSX and Hammerspoon installed, you can map a shortcut to open moonjump in your default browser.
    • I have mine mapped to Cmd+Ctrl+J
hs.hotkey.bind({"cmd", "ctrl"}, "j", function()
	hs.execute("open 'https://moonjump.app/jump'")
end)
  1. To launch from your shell, add the following to your ~/.zshrc or ~/.bashrc file:
alias moonjump='open "https://moonjump.app/jump"'

Are.na

A dictionary of the channels that are currently being used can be found at the top of lib/arena.py

Note that since the are.na api is paginated, the dictionary of channels is weighted by the number of pages in the channel. Channels with the most pages are more likely to be selected.

Hacker News

Get served a random link from Top Stories, Best Stories, or New Stories. Additional parameters and configuration might be added in the future.

Contributing

If you want to contribute, DM me or open a pull request. Things may be added or changed as needed.

TODO

  • Bookmarklet
  • Extension
  • Hammerspoon Spoon
  • Customization
  • lynx (text only sites)

moonjump's People

Contributors

ya1sec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.