Popularity
1.7
Declining
Activity
0.0
Declining
18
2
2
Programming language: Go
License: MIT License
Latest version: v0.1.0
podcasts alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view podcasts alternatives based on common mentions on social networks and blogs.
-
项目文档
基于vite+vue3+gin搭建的开发基础平台(已完成setup语法糖版本),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器等开发必备功能。 -
excelize
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets -
godotenv
A Go port of Ruby's dotenv library (Loads environment variables from `.env`.) -
hystrix-go
Netflix's Hystrix latency and fault tolerance library, for Go -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...) -
gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent ) -
mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage. -
gojson
Automatically generate Go (golang) struct definitions from example JSON -
Kopia
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included. -
spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators. -
filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature -
create-go-app
✨ Create a new production-ready project with backend, frontend and deploy automation by running one CLI command! -
mole
CLI application to create ssh tunnels focused on resiliency and user experience. -
boilr
:zap: boilerplate template manager that generates files or directories from template repositories -
beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. -
go-underscore
Helpfully Functional Go - A useful collection of Go utilities. Designed for programmer happiness. -
JobRunner
Framework for performing work asynchronously, outside of the request flow -
git-time-metric
Simple, seamless, lightweight time tracking for Git -
mimetype
A fast Golang library for media type and file extension detection, based on magic numbers
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of podcasts or a related project?
README
podcasts
Podcast generator written in Go.
Install
go get github.com/jbub/podcasts
Docs
https://godoc.org/github.com/jbub/podcasts
Example usage
package main
import (
"log"
"os"
"time"
"github.com/jbub/podcasts"
)
func main() {
// initialize the podcast
p := &podcasts.Podcast{
Title: "My podcast",
Description: "This is my very simple podcast.",
Language: "EN",
Link: "http://www.example-podcast.com/my-podcast",
Copyright: "2015 My podcast copyright",
}
// add first podcast item
p.AddItem(&podcasts.Item{
Title: "Episode 1",
GUID: "http://www.example-podcast.com/my-podcast/1/episode-one",
PubDate: podcasts.NewPubDate(time.Now()),
Duration: podcasts.NewDuration(time.Second * 230),
Enclosure: &podcasts.Enclosure{
URL: "http://www.example-podcast.com/my-podcast/1/episode.mp3",
Length: "12312",
Type: "MP3",
},
})
// add second podcast item
p.AddItem(&podcasts.Item{
Title: "Episode 2",
GUID: "http://www.example-podcast.com/my-podcast/2/episode-two",
PubDate: podcasts.NewPubDate(time.Now()),
Duration: podcasts.NewDuration(time.Second * 320),
Enclosure: &podcasts.Enclosure{
URL: "http://www.example-podcast.com/my-podcast/2/episode.mp3",
Length: "46732",
Type: "MP3",
},
})
// get podcast feed, you can pass options to customize it
feed, err := p.Feed(
podcasts.Author("Author Name"),
podcasts.Block,
podcasts.Explicit,
podcasts.Complete,
podcasts.NewFeedURL("http://www.example-podcast.com/new-feed-url"),
podcasts.Subtitle("This is my very simple podcast subtitle."),
podcasts.Summary("This is my very simple podcast summary."),
podcasts.Owner("Podcast Owner", "[email protected]"),
podcasts.Image("http://www.example-podcast.com/my-podcast.jpg"),
)
// handle error
if err != nil {
log.Fatal(err)
}
// finally write the xml to any io.Writer
feed.Write(os.Stdout)
}
Which gives us this XML output:
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>My podcast</title>
<link>http://www.example-podcast.com/my-podcast</link>
<copyright>2015 My podcast copyright</copyright>
<language>EN</language>
<description>This is my very simple podcast.</description>
<itunes:author>Author Name</itunes:author>
<itunes:block>yes</itunes:block>
<itunes:explicit>yes</itunes:explicit>
<itunes:complete>yes</itunes:complete>
<itunes:new-feed-url>http://www.example-podcast.com/new-feed-url</itunes:new-feed-url>
<itunes:subtitle>This is my very simple podcast subtitle.</itunes:subtitle>
<itunes:summary><![CDATA[This is my very simple podcast summary.]]></itunes:summary>
<itunes:owner>
<itunes:name>Podcast Owner</itunes:name>
<itunes:email>[email protected]</itunes:email>
</itunes:owner>
<itunes:image href="http://www.example-podcast.com/my-podcast.jpg"></itunes:image>
<item>
<title>Episode 1</title>
<guid>http://www.example-podcast.com/my-podcast/1/episode-one</guid>
<pubDate>Tue, 10 Nov 2009 23:00:00 +0000</pubDate>
<itunes:duration>3:50</itunes:duration>
<enclosure url="http://www.example-podcast.com/my-podcast/1/episode.mp3" length="12312" type="MP3"></enclosure>
</item>
<item>
<title>Episode 2</title>
<guid>http://www.example-podcast.com/my-podcast/2/episode-two</guid>
<pubDate>Tue, 10 Nov 2009 23:00:00 +0000</pubDate>
<itunes:duration>5:20</itunes:duration>
<enclosure url="http://www.example-podcast.com/my-podcast/2/episode.mp3" length="46732" type="MP3"></enclosure>
</item>
</channel>
</rss>