<commit_before>'use strict'

var Koa = require('koa');
var wechat = require('./wechat/g');
var util = require('./libs/util');
var path = require('path');
var config = require('./config')
var weixin = require('./weixin')
// var wechat_file = path.join(__dirname, './config/wexin.txt');

// var config = {
//     appID: 'wx4f4bfd59e2e2d8ab',
//     appSecret: '<KEY>',
//     token: '<PASSWORD>',
//     getAccessToken: function (){
//     	return util.readFileAsyns(wechat_file)
//     },
//     saveAccessToken: function (data){
//     	data = JSON.stringify(data)
//     	return util.writeFileAsync(wechat_file,data)
//     }
// }
var app = new Koa();
app.use(wechat(config, weixin.reply))
app.listen(1234);
console.log('end')<commit_msg>remove config info<commit_after>'use strict'

var Koa = require('koa');
var wechat = require('./wechat/g');
var util = require('./libs/util');
var path = require('path');
var config = require('./config')
var weixin = require('./weixin')

var app = new Koa();
app.use(wechat(config, weixin.reply))
app.listen(1234);
console.log('end')
{'fraction_non_alphanumeric': 0.20242537313432835, 'fraction_numerical': 0.013992537313432836, 'mean_word_length': 3.7901785714285716, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '24799', 'n_tokens_mistral': 383, 'n_tokens_neox': 375, 'n_words': 80}