ProductPromotion
Logo

Go.Lang

made by https://0x3d.site

GitHub - tejo/boxed: dropbox based blog engine, written in go.
dropbox based blog engine, written in go. Contribute to tejo/boxed development by creating an account on GitHub.
Visit Site

GitHub - tejo/boxed: dropbox based blog engine, written in go.

GitHub - tejo/boxed: dropbox based blog engine, written in go.

[NO LONGER ACTIVE]

Boxed

A Dropbox based blog engine

This project started as a blog as a service platform, but it quickly ended up to be my personal blog. It does its job, it's far away to be pretty and polished but you maybe find it useful. It allows you to manage your blog in markdown format from your dropbox folder.

You can run it on your machine without installing anything, It's all bundled in the executable (html and css too), and it saves the data in a bolt database. It's performance wise too, my personal blog is served by a raspberry pi behind my crappy DSL router.

Try it

If you want to try it without compile it by yourself you can grab the executable from the aplha releases page

You have to create a dropbox app and select the following:

then you need to modify the .env.sample file accordingly and in your terminal:

# set env variables
source .env.sample

# link local app to dropbox (follow the instructions)
./boxed --oauth

# put a markdown file in the published folder in your dropbox directory and publish it with:
./boxed --refresh

#run the server with
./boxed

# visit localhost:8080 to see the result 

if you have correctly set the webhook path you don't need to refresh, it will be published when the article will been synchronized to your dropbox.

Articles metadata

Boxed will try its best to figure out the publication date and title from the markdown article. If this is not enough for you, you can specify some metadata with a markdown/json comment like this:

<!--{
		"created-at": "2013-11-11",
		"permalink": "a-brand-new-blog",
		"title": "A brand new blog"
}-->

Images

Boxed supports images out of the box, you have to put them in the images folder, and then reference them like: ![cool image](../images/image.jpeg "Cool image")

Template customization

Boxed comes with the excellent default hyde template. If you want to change it, like i did it for my blog, you have to be able to compile go code, then you have to change the template/css files and then use go rice to bundle them back in the executable.

Future versions will allow to customize the look and feel directly from the dropbox folder.

Tests

You can run boxed tests with:

go test ./...

Licence

This project is licensed under a Simplified BSD license. Please read the LICENSE file.

TODO & Development

  • make onboarding easier
  • allow look and feel customization from dropbox folder without requiring code compilation.
  • add tests for the http flow
  • blog live updates with SSE or websockets
  • allow articles to be published in the future

Articles
to learn more about the golang concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

Queries
or most google FAQ's about GoLang.

mail [email protected] to add more queries here ๐Ÿ”.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory