Popularity
0.9
Declining
Activity
0.0
Stable
2
1
0
Monthly Downloads: 6
Programming language: Haskell
License: MIT License
Tags:
Web
Latest version: v0.4.0
scrapbook alternatives and similar packages
Based on the "Web" category.
Alternatively, view scrapbook alternatives based on common mentions on social networks and blogs.
-
scotty
Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository) -
haskell-bitmex-rest
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
swagger-petstore
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
yesod-persistent
A RESTful Haskell web framework built on WAI. -
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
neuron
Future-proof note-taking and publishing based on Zettelkasten (superseded by Emanote: https://github.com/srid/emanote) -
airship
Helium + Webmachine = Airship. A toolkit for building declarative, RESTful web apps. -
haskell-kubernetes
Haskell bindings to the Kubernetes API (via swagger-codegen) -
apecs-gloss
a fast, extensible, type driven Haskell ECS framework for games -
digestive-functors
A general way to consume input using applicative functors -
servant-elm
Automatically derive Elm functions to query servant webservices -
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
hbro
[Unmaintained] A minimal web-browser written and configured in Haskell. -
kubernetes-client-core
Haskell client for the kubernetes API. A work in progress. -
backprop
Heterogeneous automatic differentiation ("backpropagation") in Haskell -
keera-hails-reactive-htmldom
Keera Hails: Haskell on Rails - Reactive Programming Framework for Interactive Haskell applications -
engine-io
A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols -
ghcjs-dom
Make Document Object Model (DOM) apps that run in any browser and natively using WebKitGtk
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of scrapbook or a related project?
README
scrapbook
This is cli tool that collect posts of site that is wrote in config yaml using feed or scraping.
Usage
- clone this repository or add
scrapbook
package toextra-deps
instack.yaml
- run
stack install
e.g.
$ stack exec -- scrapbook -o "example" example/sites.yaml
Docker
$ docker run --rm -v `pwd`/example:/work matsubara0507/scrapbook scrapbook sites.yaml
build docker image:
$ stack --docker build -j 1 Cabal # if out of memory in docker
$ stack --docker --local-bin-path=./bin install
$ docker build -t matsubara0507/scrapbook . --build-arg local_bin_path=./bin
Command
scrapbook [options] [input-file]
-o DIR --output=DIR Write output to DIR instead of stdout.
-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT Specify output format. default is `feed`.
--version Show version
GHCi
>> import Control.Lens ((^.))
>> import Data.Maybe
>> conf <- fromJust <$> readConfig "example/sites.yaml"
>> (Right posts) <- collect . fmap concat $ mapM (fetch . toSite) (conf ^. #sites)
>> collect $ writeFeed "example" (fromJust $ conf ^. #feed) posts
Right ()
Example
see matsuara0507/scrapbook-example
Documentation
How to write config yaml file.
# configuration for generating Atom feed (Optional)
feed:
## write as site title to Atom feed
title: "Sample Site Posts"
## write as site url to Atom feed
baseUrl: "https://example.com"
## file name (Optional)
### if nothing, use same name from input file
name: atom.xml
# Haskeller's site configuration
sites:
## Title of site
- title: "ひげメモ"
## Author of site
author: matsubara0507
## URL of site
url: https://matsubara0507.github.io
## Feed url of site
### there are several field to set feed url
### `feed` is basic field. This field auto branch to Atom or RSS 2.0.
feed: https://matsubara0507.github.io/feed
- title: "Kuro's Blog"
author: "Hiroyuki Kurokawa"
url: http://kurokawh.blogspot.com/
### `atom` is for Atom feed.
atom:
### feed url of Atom
url: http://kurokawh.blogspot.com/feeds/posts/default
### set attr as constraint for link on each entry of Atom feed (Optional)
### if nothing, choice head. if set multiple attr, conjunction.
linkAttrs:
rel: alternate
- title: "あどけない話"
author: "kazu-yamamoto"
url: http://d.hatena.ne.jp/kazu-yamamoto
### `rss` is for RSS 2.0 feed.
### set feed url.
rss: http://d.hatena.ne.jp/kazu-yamamoto/rss2