Git Product home page Git Product logo

pandanote's Introduction

一个iOS markdown笔记应用

预览

右侧网页预览可关闭

preview

市面上有那么多markdown笔记,为什么还要做一个?

一部分原因是自己想用Swift练手,另一部分原因是市面上的笔记要么付费,要么没法满足我的需求,比如锤子便签同步功能却经常出现错误(文件重复),Bear熊掌记觉得不值得花钱,且只支持iCloud,无法同步到安卓、Windows、Mac设备。

因为坚果云有文件历史版本功能,所以想基于坚果云的WebDAV服务做个简易的笔记App。

由于本人是重度拖延症,所以进度缓慢,欢迎提出自己的建议和反馈,项目会龟速完善。

功能

可使用坚果云等网盘实现云同步,所有文件保存在第三方服务器

设备兼容性:

iOS 10.0+、macOS(初步支持,使用了Mac Catalyst)

已支持的网盘(协议)

  • WebDAV(坚果云等)
  • Dropbox
  • OneDrive
  • 百度网盘

支持的markdown相关功能

  • markdown 原生渲染(待优化)
  • markdown 使用 marked.js 渲染、目录生成、代码高亮、导出成PDF
  • markdown 等纯文本的新建、编辑、保存
  • 公众号等网页文章一键保存为markdown

其他功能

  • 支持预览mp3、mp4、pdf
  • WebDAV HTTP响应和下载的文件缓存到磁盘,无网状态也可以查看文件
  • 文件移动、删除、重命名、新建文件夹
  • 上传相册原始图片或视频到指定目录
  • 图片预览、原图和Gif(微信表情)分享到微信
  • 读取剪切板查看淘宝京东价格曲线
  • 抖音视频无水印下载,微博等视频解析下载

如何运行

项目基于最新Xcode13构建

#克隆仓库到本地
git clone https://github.com/Panway/PandaNote.git
#进入文件夹
cd PandaNote
#安装依赖
pod install
#打开工程
open PandaNote.xcworkspace

说明

坚果云用户可在安全选项里添加应用并获取应用密码,密码是独立的,可以随时撤销,自己也可以定时修改保证账号安全

解析markdown相关

AFNetworking作者的: https://github.com/mattt/CommonMarkAttributedString

Cmark的Swift封装:https://github.com/iwasrobbed/Down

markdown与AttributeString互转: https://github.com/chockenberry/MarkdownAttributedString.git

1200+star https://github.com/mdiep/MMMarkdown

1300+star https://github.com/SimonFairbairn/SwiftyMarkdown

577star https://github.com/bmoliveira/MarkdownKit

77star https://github.com/calebkleveter/SwiftMark

MWeb作者使用的:

https://github.com/hoedown/hoedown

https://github.com/ali-rantakari/peg-markdown-highlight

写一个 markdown 解析器,用什么方式比较好呢?

Java 解析 https://github.com/vsch/flexmark-java

pandanote's People

Contributors

panway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.