beep
secure
Our great sponsors
beep | secure | |
---|---|---|
9 | 3 | |
2,011 | 2,210 | |
- | - | |
2.1 | 2.9 | |
about 1 month ago | about 18 hours ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
beep
-
Audio HLS streaming
i personally use github.com/faiface/beep for most of my audio playing.
-
Sine wave generator using Golang
We will be using beep go package to process audio signals and playback sounds. Beep uses oto under the hood for audio playback.
-
Audio library that can play as many file formats as possible?
https://github.com/faiface/beep is handy and I've used it for a player. You could extend further to add support for decoding other file types it didn't do (it currentlu does MP3, WAV , FLAC, OGG)
- Looking for a Piano library
-
Wrote a Chip8 emulator to teach myself Go, it is one of the most comfortable languages I have ever used.
For learning Go, A Tour of Go, and tutorials from libraries I used (Pixel and Beep), as well as a lot of Googleing.
-
Any "simple" projects with particularly well-written and/or well-documented code for a beginner to look through?
Shamelessly: https://github.com/faiface/beep
- Any good git repos made by a single dev?
-
How to read data from mp3 audio file in golang?
I just want the format of the sample data, so that I can process it. Also studying this: faiface/beep...
-
Stream YT Audio from Go?
You can use beep for playing the audio and use a wrapper of youtube-dl for getting the audio urls.
secure
- Any good git repos made by a single dev?
- Web security focused frameworks (and/or) packages
-
API With GO Buffalo in 2021: from zero to deploy
package actions import ( "project1/models" "github.com/gobuffalo/buffalo" "github.com/gobuffalo/envy" forcessl "github.com/gobuffalo/mw-forcessl" i18n "github.com/gobuffalo/mw-i18n" paramlogger "github.com/gobuffalo/mw-paramlogger" "github.com/unrolled/secure" "github.com/gobuffalo/buffalo-pop/v2/pop/popmw" contenttype "github.com/gobuffalo/mw-contenttype" "github.com/gobuffalo/x/sessions" "github.com/rs/cors" "github.com/gobuffalo/packr/v2" ) // ENV is used to help switch settings based on where the // application is being run. Default is "development". var ENV = envy.Get("GO_ENV", "development") var app *buffalo.App var T *i18n.Translator // App is where all routes and middleware for buffalo // should be defined. This is the nerve center of your // application. // // Routing, middleware, groups, etc... are declared TOP -> DOWN. // This means if you add a middleware to `app` *after* declaring a // group, that group will NOT have that new middleware. The same // is true of resource declarations as well. // // It also means that routes are checked in the order they are declared. // `ServeFiles` is a CATCH-ALL route, so it should always be // placed last in the route declarations, as it will prevent routes // declared after it to never be called. func App() *buffalo.App { if app == nil { app = buffalo.New(buffalo.Options{ Env: ENV, SessionStore: sessions.Null{}, PreWares: []buffalo.PreWare{ cors.Default().Handler, }, SessionName: "_project1_session", }) // Automatically redirect to SSL app.Use(forceSSL()) // Log request parameters (filters apply). app.Use(paramlogger.ParameterLogger) // Set the request content type to JSON app.Use(contenttype.Set("application/json")) // Wraps each request in a transaction. // c.Value("tx").(*pop.Connection) // Remove to disable this. app.Use(popmw.Transaction(models.DB)) app.GET("/", HomeHandler) app.GET("/todo/", TodoIndex) app.GET("/todo/add", TodoAdd) app.GET("/todo/{id}", TodoShow) // <--- MAKE SURE THIS IS AT BOTTOM OF LIST } return app } // translations will load locale files, set up the translator `actions.T`, // and will return a middleware to use to load the correct locale for each // request. // for more information: https://gobuffalo.io/en/docs/localization func translations() buffalo.MiddlewareFunc { var err error if T, err = i18n.New(packr.New("app:locales", "../locales"), "en-US"); err != nil { app.Stop(err) } return T.Middleware() } // forceSSL will return a middleware that will redirect an incoming request // if it is not HTTPS. "http://example.com" => "https://example.com". // This middleware does **not** enable SSL. for your application. To do that // we recommend using a proxy: https://gobuffalo.io/en/docs/proxy // for more information: https://github.com/unrolled/secure/ func forceSSL() buffalo.MiddlewareFunc { return forcessl.Middleware(secure.Options{ SSLRedirect: ENV == "production", SSLProxyHeaders: map[string]string{"X-Forwarded-Proto": "https"}, }) }
What are some alternatives?
chip8-test-rom - ROM for testing chip8 emulator
passlib - :key: Idiotproof golang password validation library inspired by Python's passlib
Oto - ♪ A low-level library to play sound on multiple platforms ♪
go-acl - Go support for Access Control Lists
go-mp3 - An MP3 decoder in pure Go
Themis - Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
govcl - Cross-platform Go/Golang GUI library.
memguard - Secure software enclave for storage of sensitive information in memory.
restgate - Secure Authentication for REST API endpoints.
certmagic - Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal
Pixel - A hand-crafted 2D game library in Go
ssh-vault - 🌰 encrypt/decrypt using ssh keys