code-ops-show / writefully-old Goto Github PK
View Code? Open in Web Editor NEWWritefully gem makes it easy to publish content to your blog / site
License: MIT License
Writefully gem makes it easy to publish content to your blog / site
License: MIT License
we use site-id to identify which content belongs to which sites.
if we delete the content or rename the folder the content should be deleted from the DB as well.
the listen gem gives support for detecting diffs in files, we can add this as a member of a set in redis when the message comes in via the listen gem and then before we upload the assets we do a check to see of the asset is a member of the set in redis. if it is we pop the item from the redis set and upload the asset.
this will improve the speed of content updating.
Right now some parts of the gem needs the rails environment to be loaded. Thats a big waste of memory
We can slim this down by eliminating the need for rails environment.
Maybe we just load the model to use the active record connection instead of loading the entire environment? still need to experiment if this is possible or not.
we need to be able to accept web hook from github to notify writefully of changes
writefully will then need to download the release? or just do a git pull from a branch to load the new content in.
eventually we want to support other content sources as well.
Right now our architecture already separates content source from the conversion process. so theoretically someone could write adapters for any source of content dropbox, box.net, copy.com, google drive and basically update content using any of those services.
The web hook must queue the job for some sort of worker that will pull and refresh content from github
Writefully should be able to manage multiple sites, 1 repository for 1 site.
We need to have some sort of template for people who want to quickly get started with writefully
When a theme is created it creates a repo in github.
Themes are updated via github repo as well
in the future themes can be uploaded and Writefully will correctly manage / activate them.
Basically when a site is created we need to create a repository in github with some sample content users can pull down
since we support multi-site we need to handle the content of each site in the content folder.
we need to detect changes in content meta data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.