lightquake / itsa Goto Github PK
View Code? Open in Web Editor NEWA simple blog engine written in Haskell using Snap.
License: BSD 3-Clause "New" or "Revised" License
A simple blog engine written in Haskell using Snap.
License: BSD 3-Clause "New" or "Revised" License
Let's make this pass.
We need to generate it. Pretty simple, can likely reuse milagos code.
Actually testing this would be pretty rad, especially with code coverage.
It'd be nice to have some kind of way to generate a 'skeleton' for a new post, but I really don't know how that'd work with the no-authorization model.
Would be nice to not hard-code the configuration file path.
Pretty simple; it looks like fsnotify even has a watchTree
that makes this easy.
If the configuration file doesn't load, the entire site just gives empty responses as opposed to dying nicely. Not sure why, considering that putting error "whoops!"
in app in Site.hs works fine. Mumble IO?
Logging just using snap is kind of sad, unfortunately, since it only gives you one file and everything goes there. hslogger looks shiny, though; it has priority levels, syslog and file support, etc. The only question is how to integrate it nicely with what snap does.
Can use pandoc here instead of whatever it was I was using before. Need to look at Kate themes to pick one out that I like, but it shouldn't be that hard.
Same behavior as before; draft and queued posts don't show up except if /hidden is requested from localhost, or they're requested with a special security parameter set in app config (more useful for shared hosting??)
A page is basically a post with no tags or posted date, and they show up on the 'bar' by default.
It'll save on some file IO, though this shouldn't matter unless you have a thousand posts or something.
There aren't any right now. Marking this as a bug because it's sort of mandatory to have.
We should block pages with names like /page, /queue, etc., that are reserved already. That or move pages into /page/.
Obviously I don't want to give someone a login on my server to have them proof a post. But sharing the post.markdown doesn't work since there might be some formatting issues. Ideally I'd like to be able to share links, but...
1140.css is deprecated, unfortunately, and I don't like using deprecated things. Time to figure out how it worked and reimplement it?
Blockquotes should be highlighted somehow. Right now they aren't at all.
Just like RSS, simple. Store the path in the config, have a sensible default (PWD?).
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.