rss-webserver

command module
v0.0.0-...-80bbd5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

rss-webserver:

GoDoc Go

How to use it

Here is an exist Heroku Server which you can try directly.


//Get Github Starred RSS by user "kkdai"
http://githubrss.herokuapp.com/starred?kkdai

//Get Github Follower RSS by user "kkdai"
http://githubrss.herokuapp.com/follower?kkdai


//Get Github Following RSS by user "kkdai"
http://githubrss.herokuapp.com/following?kkdai

note: If you occur any problem with connect to http://githubrss.herokuapp.com, it is not code problem. Because I use Heroku free account and the quota is full because IFTTT query. XD

Publish to Heroku

  • Init git and commit your code.

    • git init
    • git add .
    • git commit -m "init project"
  • Login heroku

    • heroku login
  • Using Golang backpack

    • heroku create -b https://github.com/kr/heroku-buildpack-go.git
  • Vendoring: For Go 1.6 (refer here)

    • go get -u github.com/tools/godep
    • Save your dependency godep save github.com/kkdai/githubrss
    • Submit your depdendency
      • git add .
      • git commit -m "godep"
  • Push your complete code to Heroku

    • git push heroku master

Add "Deploy to Heroku"

  • copy app.json (refer more spec here)
  • Remember must include buildpack. And all buildpack list here.
  • Make sure your buildpack sync with what you use
    • In my case, I use https://github.com/kr/heroku-buildpack-go.git:
"buildpacks": [
    {
      "url": "https://github.com/kr/heroku-buildpack-go.git"
    },
    {
      "url": "heroku/go"
    }	

Installation and Usage

Deploy

Inspired By

Project52

It is one of my project 52.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL